Speeding up Zope - Squid works GREAT
I set up Squid as an HTTP accel in front of Zope. I ran ab 100 times with a concurreny of 10 on the same machine Zope and Squid were running on. Squid is 10 times as fast as plain Zope. Zope: Concurrency Level: 10 Time taken for tests: 4.891 seconds Complete requests: 100 Failed requests: 0 Total transferred: 2807500 bytes HTML transferred: 2778800 bytes Requests per second: 20.45 Transfer rate: 574.01 kb/s received Connnection Times (ms) min avg max Connect: 0 26 239 Processing: 128 440 1183 Total: 128 466 1422 Squid: Concurrency Level: 10 Time taken for tests: 0.503 seconds Complete requests: 100 Failed requests: 0 Total transferred: 2987772 bytes HTML transferred: 2952132 bytes Requests per second: 198.81 Transfer rate: 5939.90 kb/s received Connnection Times (ms) min avg max Connect: 0 3 27 Processing: 35 42 52 Total: 35 45 79 -- Itamar S.T. itamars@ibm.net
Great ! Are you using ZServer or Apache/pcgi ? Did you change the HTTP headers on your zope server ? Thanx ! ps : Why don't you write an HowTo to explain all this ? ----- Message d'origine ----- De : Itamar Shtull-Trauring <itamars@ibm.net> À : <zope@zope.org> Envoyé : dimanche 30 avril 2000 11:02 Objet : [Zope] Speeding up Zope - Squid works GREAT
I set up Squid as an HTTP accel in front of Zope. I ran ab 100 times with a concurreny of 10 on the same machine Zope and Squid were running on. Squid is 10 times as fast as plain Zope.
Zope: Concurrency Level: 10 Time taken for tests: 4.891 seconds Complete requests: 100 Failed requests: 0 Total transferred: 2807500 bytes HTML transferred: 2778800 bytes Requests per second: 20.45 Transfer rate: 574.01 kb/s received
Connnection Times (ms) min avg max Connect: 0 26 239 Processing: 128 440 1183 Total: 128 466 1422
Squid: Concurrency Level: 10 Time taken for tests: 0.503 seconds Complete requests: 100 Failed requests: 0 Total transferred: 2987772 bytes HTML transferred: 2952132 bytes Requests per second: 198.81 Transfer rate: 5939.90 kb/s received
Connnection Times (ms) min avg max Connect: 0 3 27 Processing: 35 42 52 Total: 35 45 79
-- Itamar S.T. itamars@ibm.net
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Olivier Deckmyn wrote:
Are you using ZServer or Apache/pcgi ?
ZServer.
Did you change the HTTP headers on your zope server ?
Yes, I added headers for caching - check out an email I wrote recently to the list about http caching and also Toby Dickenson's reply.
ps : Why don't you write an HowTo to explain all this ?
When I have time :) Meanwhile, all the info you need is in: 1. http://www.zope.org/Members/anser/apache_zserver/ - just use Squid instead of Apache. 2. http://www.squid-cache.org/Doc/Users-Guide/detail/accel.html and the rest of the squid docs 3. The email I mentioned above. It's very easy to set up. -- Itamar S.T. itamars@ibm.net
I set up Squid as an HTTP accel in front of Zope. I ran ab 100 times with a concurreny of 10 on the same machine Zope and Squid were running on. Squid is 10 times as fast as plain Zope.
This is great news. I was thinking about using squid and your results are really encouraging. The one obstacle to me was SSL. Do you know whether Squid can also do the no-SSL/SSL-part or do I have to have Apache in between? --Ragnar
participants (3)
-
Itamar Shtull-Trauring -
Olivier Deckmyn -
Ragnar Beer