CPU Intensive Tasks inside Nginx Module

ajaybodhe nginx-forum at nginx.us
Tue Aug 12 07:25:13 UTC 2014


Hello,

I am writing an application server as Nginx standard module, This code is
supposed to perform some CPU intensive tasks. If the single
thread/master-process in Nginx doing event-loop is stuck inside this part
then throughput/performance of server would drop. What is the way to execute
this? Is there any coroutine/thread-pool library that can solve this issue?

I am new to this platform & want to get rolling ASAP, so forgive if this is
very trivial question.

Thanks,
Ajay.

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252493,252493#msg-252493



More information about the nginx mailing list