Web Server in preemptive mode

We are moving forward with 4D v16 on preemptive multi-threading as the 4D Web Server is also becoming preemptive. Just click one checkbox and your application will support more simultaneously connected users, and process more requests in parallel. For requests using a lot of CPU time, execution can be up to 2 times faster!

In addition to the preemptive Web Server, all the 4D commands of the Web Server and HTTP Client themes are now thread-safe!

Just check the new “Use preemptive process” option in the database settings dialog and your Web Server will fully run using preemptive processes.

Preemptive Option in 4D settings

The example database is demonstrating the loading of a web page with many requests as well as computed data requiring a lot of CPU in both preemptive and cooperative mode. This example has 8 times faster response time as several requests was handled in parallel on 8 cores.

Example Database

For more details, please take a look at the documentation:

Vanessa Talbot
• Product Owner •Vanessa Talbot joined 4D Program team in June, 2014. As a Product Owner, she is in charge of writing the user stories then translating it to functional specifications. Her role is also to make sure that the feature implementation delivered is meeting the customer need.Since her arrival, she has worked to define key features in 4D. She has worked on most of preemptive multi-threading new features and also on a very complex subject: the new architecture for engined application. Vanessa has a degree from Telecom Saint-Etienne. She began her career at the Criminal Research Institute as a developer for the audiovisual department. She has also worked in media and medical fields as expert in technical support, production as well as documenting new features.