Using Parser as a web server [3.4.6]
|
· | $.mode[sequental] - sequential processing of requests, by default. The parser works in one thread using one processor core.
|
· | $.mode[parallel] - parallel mode, not available under Windows. For each request, a separate process is created. If necessary, all cores are used, which gives maximum performance when processing code.
|
· | $.mode[threaded] - multi-threaded mode. A separate thread is created for each request. Due to the fact that all threads use the same garbage collector, performance is slightly lower than in parallel mode.
|
· | $.timeout(время)- sets the maximum timeout in seconds. If no data is received from the client within the specified time, the connection will be terminated. In multi-threaded mode, the specified timeout does not work, the actual timeout is determined by the operating system.
|
Copyright © 19972021 Art. Lebedev Studio | http://www.artlebedev.com | Last updated: 28.01.2021 |