I’ve received some requests for a copy of my Varnish config. I’ll post it here with the following caveats:
- This is very much a work in progress. There may be some show-stopping bugs that could really mess up your users. Your milage may vary. Use with caution. I make no guarantees or warranties. Do not use this as-is on production site - you will need to modify it to work properly on your own site.
- Much of the configuration is specific to my infrastructure. Huge chunks of it are assuredly not appropriate for your own site. Do not use this as-is on production site - you will need to modify it to work properly on your own site.
- Do not use this as-is on production site - you will need to modify it to work properly on your own site. (Are you sensing a theme here?)
Continue reading ‘Varnish config - default.vcl’
Yesterday I took the plunge and installed Josh Koenig’s Varnish module on two of my larger production sites. So far, I’m very happy. It’s worked well. More importantly, it’s allowed me to greatly increase the max cache lifetime (and therefore cache hit rate) on the site, reducing the overall load on the system.
Continue reading ‘Varnish Drupal module first impressions’
Ah, the beauty of hindsight. Things are so clear.
Last night I was working on optimizing my Varnish config. My cache hit rates have been lower than I wanted, so I was going through some of the examples on the Varnish wiki - especially this one. Here’s what I had in my vcl_recv:
Continue reading ‘Varnish: lookup at the end of vcl_recv’
A big thanks to David Strauss for pointing me in the right direction in tracing my cache config issues and for putting up with my bonehead errors. I’ve learned a couple of important things: Continue reading ‘Followup on Pressflow 6.14.64 and Authcache’
I’ve been playing with the Authcache module the past couple of days. So far I’m very impressed.
I ran some Funkload tests with 1, 25, 50, and 100 concurrent clients to see how it does.
Continue reading ‘Pressflow 6.14.64 and Authcache’