A great thing about Squid: Calamaris

04 July 2008   0 comments   Linux


Mind That Age!

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

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.


Thank you for posting a comment

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
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
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
I'm running pgFouine right now on my server 19 April 2012
Spellcorrector 0.2 24 September 2007
YSlow grade A (96) but not with doubts 06 August 2007
Dream: python bindings for squidclient 11 October 2005
'Cache-Control' or Expires 16 September 2005