Squid now working in front of my Zope

30 July 2003   0 comments   Zope

Powered by Fusion×

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 keywords:
Is Nginx obsolete now that we have Amazon CloudFront? 28 July 2012
Secs sell! How I cache my entire pages (server-side) 10 May 2012
'Cache-Control' or Expires 16 September 2005
A great thing about Squid: Calamaris 04 July 2008
Welcome to the world django-fancy-cache! 01 March 2013
Dream: python bindings for squidclient 11 October 2005
Spellcorrector 0.2 24 September 2007
ESI and Squid and Zope 17 December 2003
This site 7 months ago 19 February 2004