You are not logged in.
Pages: 1
Hello AB! (:
I am actually working on a project which is a client/server TSQLHttpServer using WebSockets, useBidirSocket and a TSQLRestServerFullMemory.
For a test purpose, we would like to know if it is possible to 'degrade' the server in order to make him not multi-thread, is that possible ? If so, what do you advise ?
Offline
Currently, WebSockets connections have their own thread per connection... So it is not easy to make it mono-threaded globally...
But you can force the execution to be locked on the server side, so that all process will be serialized.
See https://synopse.info/files/html/Synopse … #TITLE_288
Online
Thank you for the very quick answer mister mORMot! (:
I tried what you advice, but I did not find any 'AcquireExecutionMode' property for TSQLHttpServer .. but it is implemented in TSQLRest class .. Am I missing something ?
Offline
Pages: 1