Last week, I spend time on making this website more responsive. Included in this struggle was an website on my university machine, based on the same zope/plone/archetypes combination. Both were slow, the university one the most so. Why?
I solved half object.bcxml.net's problem by downloading Danny Bloemendaal's ATReferenceBrowserWidget. Which doth alloweth me a couple 'o utterings on the open source ecosystem I nicked it from.
Some USian company makes zope, a web application server, and open-sources it. Why? It would allow zope's pie to grow a lot and with them having a a lot of key zope people on board... that could make for a handsome profit. (Said the investor, of all people, and he was right). Part two is a set of people making plone, making it more of an out-of-the-box good-looking thing. And making it a userfriendly free content management system with all the goodies you'd normally expect (for completeness I'll mention that most of the hard content management stuff is handled by zope's CMF). Part three? To make creating new content types (special documents, object libraries, etc) easier and quicker, archetypes was created.
Archetypes was just what the doctor ordered to allow me to quickly build abovementioned objects.bcxml.net. And some other things too. I'm reading the archetypes-mailinglist for 1.5 years or so and I'm amazed at the amount of work done. New stuff being created. Collaboratively. In good humor. Competently.
Keeping up with these developments takes some time. Reading the mailinglist takes time. But it pays back in gold-plated spades. I shudder at the thought of having to effectively do all this work myself instead of building upon the collective effort of those competent developers...
Back to vanrees.org. The solution there was to lower the load on zope by putting a squid cache in front of zope. Most of the unimportant requests (non-changing images and stylesheets) are served directly by the cache and don't wake up the zope webserver. This is a much more effective use of the computer resources. Also I've let it cache the more or less static webpages and also this weblog. The weblog is checked more often for updates than the rest of the site for obvious reasons.
I must say that I've kept apache as the front-end webserver: squid sits between apache and zope. I did that to save me some reconfiguration and also a change in logfile formats... It probably gives me a small performance hit, but it's not that critical. So there.
My name is Reinout van Rees and I program in Python, I live in the Netherlands, I cycle recumbent bikes and I have a model railway.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):