Loadtesting this site and compare with static Apache

15 October 2003   1 comment   This site

Mind That Age!

This blog post is 14 years old! Most likely, it's content is outdated. Especially if it's technical.

Powered by Fusion×

Disclaimer: These tests are not very scientific so values as they stand are irrelevant.

What is interesting is the difference between the two tests.

Basically what I did was that I sucked the whole www.peterbe.com site (22 files, 111KB) down and served it via Apache on the same machine as the Zope server.

Then I did a benchmark test using using ab with 10 users at 10 concurrent requests. The result is that Apache served the files about 30% faster than Zope.

Complete results

BUT! Bare in mind that the files that Apache served up are static whereas the files Zope served up are dynamic. The content of the Zope request depends on extracting data from a database, sorting, filtering and other various conditional statements. Apache can do none of that unless you use some sort of scripting like PHP, mod_python or mod_perl.

Pages served from Zope are also checked through a comprehensive security mechanism that Apache did not in this case. Every single item (22 of them), when extracted, were with security precautions on the Zope test.

The conclusion from this is: Zope is surprisingly fast considering all the work it needs to do compared to static Apache.


Thank you for posting a comment

Your email will never ever be published

Related posts

2 Years later 13 October 2003
Web design practices 15 October 2003
Benchmarking Autocompeter 12 April 2015
django-fancy-cache with or without stats 11 March 2013
How much faster is Nginx+gunicorn than Apache+mod_wsgi? 22 March 2012
Goodies from tornado-utils - part 2: tornado_static 22 September 2011
Optimization of getting random rows out of a PostgreSQL in Django 23 February 2011
Local Django development with Nginx 11 October 2010
The awesomest way possible to serve your static stuff in Django with Nginx 24 March 2010
To $('#foo p') or to $('p', $('#foo')) 24 February 2009
rfc822() vs. rfc1123_date() 16 August 2007
Gzip and Slimmer optimization anecdote 30 January 2007