nginx-forum at nginx.us
Mon Nov 9 22:12:23 MSK 2009
1. Initialize thread pool/queue on first run and stash pointer in module specific storage
2. Receive request
3. Queue request (queuing request wakes up thread to process)
4. Module returns
5. Thread sends response when processing is completed.
Note: threads take care of javasript related activities (ie; load, run, etc.).
Does this sound like a workable solution?
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,21573,21573#msg-21573
More information about the nginx