New scripting engine for server-side scripts

If you are using server-side scripting, you can now enable the new scripting engine for much better performance. Simple scripts should execute twice as fast, while we observed gains of up to 10 times on more complex scripts.


We have updated the scripting engine used to run server-side scripts (Device Mapper Scripts, Script Expressions, Apps).  This makes it possible for GpsGate Server to handle more volume and complexity with scripting in an even faster and more efficient manner than before.

Most significant improvements should be seen on large servers where many scripts are executed in parallel. In such cases processor use for script execution should be more than halved when the new engine is enabled, improving the overall performance of the entire server.

The plan is to completely switch to the new engine in future, but for added safety we are currently introducing this as an opt-in feature that you can enable from SiteAdmin.

Installation

Make sure that Core and Updates.v5 plugins are up to date.

If you use scripting as well as any of the following plugins, whether you plan to use the new scripting engine or not you should also update:

  • Dispatch
  • PointsOfInterest
  • Maintenance
  • Rendezvous
Enabling the New Scripting Engine

After the updates, go to SiteAdmin > Settings > Scripts. You will find the new option Enable new script engine there. Enable it and click Save.

enable

That is all there is to it. The bigger the server with the more scripts in use, the more noticeable the performance improvements will be. For more concrete numbers, you can examine the scripting performance changes from SiteAdmin > System Tools > Profiler.


  Discuss this blog post on the forum please



Download free GpsGate Server

Install it on your own server. The installation is free for 5 users.

Download Now