|go ahead... be a heretic|
Re: FastCGI?by adrianh (Chancellor)
|on Sep 21, 2002 at 09:13 UTC||Need Help??|
Warning: I do not use FastCGI. My understanding of it's functionality may be wrong. Please take with appropriate sized salt particles
Short answer: No.
As I understand FastCGI operates by separating out the one-time initialisation code from the per-request code.
Your FastCGI script then does the one-time initialisation once, then sits there taking requests and passing them onto the per-request code.
You get the speedup by only running the script "once" (it just sits there forever in a infinite loop serving requests) so you avoid the perl compilation hit, and the one-time initialisation hit.
So, unless you rewrite you code in the form of:
you won't get any speed advantage.