Dear, I've built a nginx module (simply hooks the content handler) to receive client request, do calculation, send response. Intuitively, I expect nginx to create thread for each incoming request, and process requests in parallel. However, if "do calculation" part takes long time ( eg: sleep(10) ), incoming request will be consumed one by one in serial. Since nginx is event-drivenby melon1234 - How to...
![]() |
![]() |
![]() |
![]() |
|