FastCGI vs Proxy requests

I’m doing some playing around and I’m looking to implement a comet-type
server behind Nginx. I’m wonder what would be a better interface to to
connect my code with Nginx, using proxy to pass the request through or
to forward it on with FastCGI.

I can understand that proxy pass-through would let me make my code just
live on its own without Nginx if I want to some day. I’m just wondering
if one is better than the other… or just pros/cons of the 2
interfaces.

Thanks,
-Kyrra

Posted at Nginx Forum:

On Mon, May 10, 2010 at 10:06 AM, Kyrra [email protected] wrote:

I can understand that proxy pass-through would let me make my code just live on its own without Nginx if I want to some day. I’m just wondering if one is better than the other… or just pros/cons of the 2 interfaces.

AFAIK, ngx_proxy is rather weak in that it dislikes chunked responses :slight_smile:

Cheers,
-agentzh