|
|
|
|
|
by smegel
4013 days ago
|
|
I think this would have been much better titled "Boosting NGINX Performance 9x with Asynchronous wrappers around blocking system calls". Most people when hearing about "thread pools" in the context of a web-server think about using multiple threads for handling separate requests, which is NOT what this is about. It is using threads to enable some blocking syscalls (read and sendfile) to run asynchronously from the main event loop. There's already a library for that! http://software.schmorp.de/pkg/libeio.html |
|
[0] https://github.com/libuv/libuv