Re: [Zope] Apache virtual hosts and Zope on port 80...
Oleg Broytmann <phd@phd.pp.ru> writes:
On Mon, Mar 04, 2002 at 11:51:59AM +1100, Graham King wrote:
PCGI is very slow, in comparison.
Why?
Every request involves a fork()/exec() by the webserver process. -Doug -- Let us cross over the river, and rest under the shade of the trees. --T. J. Jackson, 1863
On Mon, Mar 04, 2002 at 08:33:07AM -0500, Doug McNaught wrote:
PCGI is very slow, in comparison.
Why?
Every request involves a fork()/exec() by the webserver process.
Just use mod_pcgi2 (Apache module)! (Shameless plug :) Oleg. -- Oleg Broytmann http://phd.pp.ru/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
Why not just run zserver on say port 10080 and use apache rewrite to proxy to that port? No CGI involved, no mod_pcgi2 needed. Simple and very fast. Mvg, Ron Arts. Oleg Broytmann wrote:
On Mon, Mar 04, 2002 at 08:33:07AM -0500, Doug McNaught wrote:
PCGI is very slow, in comparison.
Why?
Every request involves a fork()/exec() by the webserver process.
Just use mod_pcgi2 (Apache module)! (Shameless plug :)
Oleg.
-- Netland Internet Services bedrijfsmatige internetoplossingen http://www.netland.nl Kruislaan 419 1098 VA Amsterdam info: 020-5628282 servicedesk: 020-5628280 fax: 020-5628281
On Mon, Mar 04, 2002 at 02:42:13PM +0100, Ron Arts wrote:
Why not just run zserver on say port 10080 and use apache rewrite to proxy to that port? No CGI involved, no mod_pcgi2 needed. Simple and very fast.
It is arguable how simple it is - I beleive Apache config for mod_pcgi2 is simpler than for proxying to ZServer. It is arguable how fast it is - mod_proxy just passes HTTP stream to ZServer, so ZServer does double job - it parses HTTP stream which Apache already parsed. PCGI protocol is much simpler, so I think it is faster. But I wouldn't claim any difference until someone provide us with numbers :) Oleg. -- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (3)
-
Doug McNaught -
Oleg Broytmann -
Ron Arts