Varnish

From Wikitech
(Difference between revisions)
Jump to: navigation, search
(initial docs)
Line 1: Line 1:
You may want to read [[Bits varnish testing]] instead
+
'''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 <tt>bits.wikimedia.org</tt>.
 +
 
 +
 
 +
 
 +
You also may want to read [[Bits varnish testing]] instead, for Domas his findings during a pilot project.
 +
 
 +
 
  
 
----
 
----
Line 18: Line 26:
  
 
Many of these are probably already taken care of by our friends at [http://www.wikia.com Wikia], and therefore possibly also within Varnish itself...
 
Many of these are probably already taken care of by our friends at [http://www.wikia.com Wikia], and therefore possibly also within Varnish itself...
 +
 +
== External links ==
 +
* [http://varnish.projects.linpro.no Varnish main web site]
 +
* [http://assets.en.oreilly.com/1/event/27/Varnish%20-%20A%20State%20of%20the%20Art%20High-Performance%20Reverse%20Proxy%20Presentation.pdf OSCON presentation about Varnish at Wikia by Arthur Bergman], containing useful information about performance tuning and some neat features as well.

Revision as of 14:52, 26 July 2010

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