A great thing about Squid: Calamaris

04 July 2008   0 comments   Linux

http://cord.de/tools/squid/calamaris/

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.

Follow @peterbe on Twitter

Comments

Thank you for posting a comment

Your email will never ever be published


Related posts

Previous:
Interview with Varg Vikernes 01 July 2008
Next:
The importance of checking in Firefox 07 July 2008
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
Related by Text:
Squid now working in front of my Zope 30 July 2003
Nginx vs. Squid 17 March 2009
Gzip and Slimmer optimization anecdote 30 January 2007
Damn lies and benchmark comparing Apache and Nginx 03 June 2008