ESI and Squid and Zope
December 17, 2003
0 comments This site
This can get interesting. ESI, as I've understood it, makes it possible to display on a website "Welcome back Mr. Bengtsson" but have other parts of the page cached through something like Squid. So far I've only used Squid to cache the whole page. From the <html>
to the </html>
tag.
There is now some development to combine ESI and Squid, what I gather from this blog entry on plope.com I hope to be able to experiment with this here on my site.
Back online
December 10, 2003
0 comments This site
Got the server running again. Long story. Now I'm about to upgrade the web server software to use Zope 2.7.0 and the latest Python.
Google search terms
November 19, 2003
0 comments This site
I'm experimenting with analysing the referer logs I get from Google. I.e. what search terms makes people find my site from Google.
My breakfast
October 17, 2003
0 comments This site
New feature: RSS feed
October 16, 2003
0 comments This site
This site now has a RSS feed (version 0.91).
The URL is https://www.peterbe.com/rss.xml
An RSS feed is a XMLish summary of what is being updated on a website. It's standardised so it should be possible to view it from any program or web application.
My recommendation for an RSS feed viewer is Feedreader which is free and works really well. Download it, install it and enter https://www.peterbe.com/rss.xml as a new feed.
Loadtesting this site and compare with static Apache
October 15, 2003
1 comment This site
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.
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.