Re: FastCGI performance

"Jay Sprenkle" <[email protected]>
Newsgroups gmane.comp.web.fastcgi.devel
Message-ID <[email protected]>
>
>        Does FastCGI framework implement any sort of buffering? If my
> request handler in FastCGI app writes a lot of data by small chunks do I
> have to implement buffering myself to cache data and send it in one call or
> the framework does this already? I know FastCGI framework wraps data into
> packet so if no caching it implemented this may cause performance hit, I
> guess.
>
> The connection between the fastcgi app and the web server can be via tcp or
named pipes. Generally those are buffered by the operating system so your
fastcgi application doesn't buffer them.

You should probably performance test buffering data and delivering it in one
large lump to see if it's faster than letting the operating system do it.
Since you probably want to use named pipes if you want speed then my guess
would be it's probably about the same either way.

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR@public.gmane.org
http://mailman.pins.net/mailman/listinfo.cgi/fastcgi-developers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.