Jack wrote: > I wrote the last posting at late late night and I didn't know what I was > typing at that time ;-p > > I didn't mean the test with CherryPy was not concurrent > connections, or the test with lighttpd was all concurrent > connections. I actually tried both concurrent (-c in ab command line) > and non-concurrent (without -c in ab command line) and I tried > the threading and threadpooling in CherryPy. The result did not > vary much. > > This article http://www.cherrypy.org/wiki/CherryPySpeed says CherryPy > can process around 400-500 requests/second. It's set up is: > > Pentium M 1.6, 1G RAM, Windows XP2 laptop, test done with apache 2.0.41 > ab. > > I have a slightly better hardware set up: > > Pentium M 1.7MHz, 1.5G RAM on Windows XP2 laptop, test done with Apache > 2.2 ab > > However, I don't get even close. The best I get is around 140 > requests/second. I'm using the same test script as the CherryPy test > with slight modification just to make it run. As a matter of fact, > the Cygwin build of lighttpd only gets around 430 requests/second for > a 2-byte static file. I disabled firewall and antivirus on the box when > tests were done. Any idea about the huge difference? It would be very > interesting if some CherryPy (or python) users can post their performance > benchmarks.
It would be good to know which version of CherryPy you are using. That wiki page is talking about the CP 2.0 branch; 2.1 and later are quite different. If you have a later version, try using cherrypy/test/benchmark.py Note also that you can use lighttpd as an HTTP server for CherryPy apps via FCGI/SCGI. Robert Brewer System Architect Amor Ministries [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list