A great thing about Squid: Calamaris

04 July 2008   0 comments   Linux


Powered by Fusion×

A great thing about Squid: Calamaris I'm talking about Squid the web proxy cache server and Calamaris the Squid log file analyzer not food. Calamaris was a breeze to set up and now it emails me once a month a report summary of what Squid has done for my site each month. It's brilliant because it includes a piece of information that both really easy to understand and really useful no matter how technical you are:

Proxy statistics                                                                
Average speed increase:                                     %  44.57 

Nota bena: I've had to work on this. It used to be a lot lower before but I've worked on setting no-refresh on selected few resources and I've tweaked the Cache-Control headers here and there.

What people sometimes forget about Squid is that it can actually slow down your site too. On an individual object that you test with ab you can go from 50 requests/sec to 2000 requests/sec but for large sites with many many objects Squid has to do a lot of thinking to work out what to cache, not to cache, put in RAM, etc. Just installing Squid is not necessarily good enough. You have to massage and caress it till it starts to work for you. And to get to that Calamaris really helps.


Your email will never ever be published

Related posts

Interview with Varg Vikernes 01 July 2008
The importance of checking in Firefox 07 July 2008
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
Welcome to the world django-fancy-cache! 01 March 2013
Dream: python bindings for squidclient 11 October 2005
I'm running pgFouine right now on my server 19 April 2012
ESI and Squid and Zope 17 December 2003
Spellcorrector 0.2 24 September 2007
Squid now working in front of my Zope 30 July 2003
YSlow grade A (96) but not with doubts 06 August 2007
This site 7 months ago 19 February 2004