Nginx+FCGI vs Nginx+Reverse Proxy, which is better when delivery big files?

nightsailer nginx-forum at
Thu Apr 1 09:24:02 MSD 2010

Anyone benchmark that?  I  need deploy a PSGI(Perl app) behind nginx, now, there's two options:

1. Perl app deployed as FastCGI application, connect to nginx.
2. Perl app deployed as standalone PSGI web server, and nginx reverse proxy to it.

Notice, the perl application is read BIG file( size > 30mb) from db and delivery to client, so I can't to cache(like proxy_cache)
the request file. So, in this case, which solution is better ?  any advice? 

Nginx is event based, so is the FastCGI should be non-blocking?

Posted at Nginx Forum:,70082,70082#msg-70082

More information about the nginx mailing list