[Zope] Optimisation fun and games

Graham King Graham.King@team.ozemail.com.au
Tue, 21 May 2002 10:08:14 +1000


To be precise, best to build fcgi as a Shared Oject, so it becomes
fastcgi.so to Apache - loaded in memory. Otherwise, it's an object within
the Apache httpd object anyway.

Graham

-----Original Message-----
From: Anthony Baxter [mailto:anthony@interlink.com.au]
Sent: Tuesday, 21 May 2002 9:52
To: Chris Withers
Cc: Richard Jones; zope@zope.org
Subject: Re: [Zope] Optimisation fun and games 



>>> Chris Withers wrote
> Dunno, I've just never conceptually got on with FastCGI, how ever small
the 
> CGI stub is, you're still reading a file from disk and executing it for
every 
> single request...

Huh? What you talking bout, Willis? Apache has fcgi builtin. ZServer has
fcgi built in. So there's nothing to exec. A request comes in, Apache makes
a TCP connection to the ZServer FCGI port (well, to the loadbalancer of the
fcgi ports, in our case), and does the request. Same thing that happens for
proxy pass, only different port and protocol (http instead of fastcgi). 

The only difference is that with FCGI, the request _appears_ to be happening

as though it had hit the ZServer directly, rather than via a proxy.

Anthony

-- 
Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.