[Zope] apache and zserver interaction

Bak@kedai bak@nstp.com.my
Tue, 12 Dec 2000 10:11:46 +0800


hi all

during peak period/or simulated with ab -n200 -c 100 http://mysite/
i did this:

-----8<-------
 telnet mysite 80
Trying mysite...
Connected to mysite.
Escape character is '^]'.  
GET / HTTP/1.1
host:mysite


... response
-----8<--------
what puzzled me is that the response time between typing in host:mysite \n\n 
and getting the response from the server is *very* high.
what may cause the latency?  is it between apache and zope, or zope itself?  
or does it depend on what the rest of mysite is doing?   i'm at a lost here.  
i want to speed up response time, but not sure which knobs to turn.  apache's 
or ZServer's.  i've increased the keepalive to 30s in apache.  will 
increasing the zserver thread number help?  i also changed zserver -i option 
to 60, but not that much different result.

thanks

-- 

http://www.kedai.com.my/kk 
http://www.kedai.com.my/eZine 

as you woke this morning, and open up your eyes, did you notice the tear 
stains lining your face were mine..