Varnish

From Wikitech
Revision as of 14:52, 26 July 2010 by Mark (Talk | contribs)

Jump to: navigation, search

Varnish is a fast caching proxy, and can be used as an alternative to Squid in a reverse caching accelerator setup.

We currently use Varnish for serving bits.wikimedia.org.


You also may want to read Bits varnish testing instead, for Domas his findings during a pilot project.



Mark intends to test Varnish for feasibility of using it instead of Squid for Wikimedia CDN purposes.

Things that need special consideration

  • HTCP purging
  • Immediate purging of cache objects (nuke?)
  • Header normalization (Host, Accept-Encoding...)
  • Two-layer setup (CARP style)
  • Compatible logging
  • Request stats

Would be nice

  • SSL
  • IPv6

Many of these are probably already taken care of by our friends at Wikia, and therefore possibly also within Varnish itself...

External links

Personal tools
Namespaces

Variants
Actions
Navigation
Ops documentation
Wiki
Toolbox