TUX and Zope? + ab results
This may sound silly, but do you think it would be feasably to get some more speed out of Zope by combining it with TUX (the linux kernel based web server) ? Maybe build the python interpreter into it ? I know, speed isn't important, abstraction is better, yada yada yada. It's just totally cool to see results like this, and I want to make Zope as cool as possible. 1000 requests, 100 at a time TUX 2898.55 Requests per second AOLserver 603.14 Requests per second Apache 502.51 Requests per second Zope 60.57 Requests per second bear in mind this is my piece of crap celery 700 with 128Megs RAM __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
----- Original Message ----- From: "Jason Byron" <jason_zope@yahoo.com> To: <zope@zope.org> Sent: Wednesday, May 02, 2001 9:01 PM Subject: [Zope] TUX and Zope? + ab results
This may sound silly, but do you think it would be feasably to get some more speed out of Zope by combining it with TUX (the linux kernel based web server) ? Maybe build the python interpreter into it ?
Nope, nice idea but this makes no sense. TUX is highly optimized for delivering static page and only runs on Linux as long as I know.
1000 requests, 100 at a time
TUX 2898.55 Requests per second AOLserver 603.14 Requests per second Apache 502.51 Requests per second Zope 60.57 Requests per second
The numbers sound reasonable. About one year ago I made similiar benchmark detecting that Zope is about 10 times slower when delivering static objects. Andreas
On Thursday 03 May 2001 13:01, Jason Byron wrote:
This may sound silly, but do you think it would be feasably to get some more speed out of Zope by combining it with TUX (the linux kernel based web server) ? Maybe build the python interpreter into it ?
TUX is a linux only thing ATM, so any integration of the two would have to be some sort of add on to a vanila zope.
TUX 2898.55 Requests per second AOLserver 603.14 Requests per second Apache 502.51 Requests per second Zope 60.57 Requests per second
There are important reasons why the figures are so different. In the case of TUX, the kernel server tries to do as little work as possible to translate a request into data flying out the NIC. Zope, on the other hand, at the very least checks to see if the requester has permisson to access that object, and often looks after other things like acquisition, setting caching headers and obviously executing content generating code. The easiest way for Zope to take advantage of TUX would be to have a TUX based caching reverse proxy sit in front of the Zope server. All of the images and other static content window dressing for the site which will always be served up to everybody can have cache TTLs set so they quickly end up in the proxy, which can serve them up as fast as they can go. If you still want to crank more speed out of zope, the next thing to do would be to profile the steps needed to serve up requests for static content where having a permission system matters, and look into optimizing that. John
I ran some AB results the other day on Mac OS X, 512 MB Memory and Zope 2.3.1 with Python 2.x and what was interesting was that as I increased the concurrent number the results between Zope and Apache got closer and closer. They started off like your results but as I increased it Apache's number fell and Zope's number increased to the point where they were at the 60/80 range. This was just a on a plain index.html and index_html files but I thought it a point. You might want to try it. The other thing is that while Apache can handle the hits like that you have to consider how Zope scales with ZEO. Boxes are cheap. BZ At 6:01 PM -0700 5/2/01, Jason Byron wrote:
This may sound silly, but do you think it would be feasably to get some more speed out of Zope by combining it with TUX (the linux kernel based web server) ? Maybe build the python interpreter into it ?
I know, speed isn't important, abstraction is better, yada yada yada. It's just totally cool to see results like this, and I want to make Zope as cool as possible.
1000 requests, 100 at a time
TUX 2898.55 Requests per second AOLserver 603.14 Requests per second Apache 502.51 Requests per second Zope 60.57 Requests per second
bear in mind this is my piece of crap celery 700 with 128Megs RAM
__________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
_______________________________________________ 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 )
participants (4)
-
Andreas Jung -
BZ -
Jason Byron -
John Morton