Reading from a named pipe / fifo (final version)
brian at akins.org
Sun Jan 22 02:26:05 UTC 2012
On Jan 21, 2012, at 9:04 PM, Max wrote:
> Thanks for the suggestion, but using FastCGI is not an option for
> many reasons. The most elegant solution I could come up with
> without hacking nginx involves embedded Perl like this:
Won't embedded perl block in this case? I'm not as familiar with it. If it does, this seems like a sub-optimal solution. FastCGI would not block on the nginx side. It's pretty trivial to manage fastcgi processes.
It doesn't have to be fastcgi, it could be a min-http server uwsgi or whatever or is there some restriction that nginx must talk directly to the fifo?
More information about the nginx