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

Hi:
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:
http://forum.nginx.org/read.php?2,70082,70082#msg-70082

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs