Squid now working in front of my Zope

30 July 2003   0 comments   Zope

Mind That Age!

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

My website has been offline for a couple of days because I've moved it to a new machine (my old laptop with Debain on it) and have it running behind a Squid server instead.

A Squid server is a superfast cache server that makes a temporary copy of the dynamic site requested and serves that instead. The disadvantage with this is that at least one request will spawn the cache to make a copy; then all consecutive requests will be run from Squid instead of Zope.

So if my site is ever slashdotted it should be able to handle the load (...better).

There are still some settings I need to tweak about with to get exactly the kind of caching I need and want. One problem is the laptop that is now my webserver. It is a weak Celeron 500 with 192Mb of RAM, so the performance will still be pretty poor no matter what I do.

Another advantage with having Squid set up like this is that I can easily define all the virtual hosts for my sites (I use pyredir) but also for stuff like images. One hope is to be able to have all photos run off the filesystem and by doing that I'll be able to serve the raw images from a different web server (something really fast like thttpd)


Your email will never ever be published

Related posts

Back from my holidays 21 July 2003
How to not get any spam 31 July 2003
Related by Keyword:
How to use django-cache-memoize 03 November 2017
django-cache-memoize 27 October 2017
cache_memoize - a pretty decent cache decorator for Django 11 September 2017
Fastest Redis configuration for Django 11 May 2017
Welcome to the world django-fancy-cache! 01 March 2013