We first started using varnish for caching during a superbowl advertisement, and then when we no longer needed the caching, we keep using it as our load balancer.
We're now using it as a A/B testing system between static builds with a number of different rules. We've written a ruby DSL to generate the common rules and inject the the GUID hashes that uniquely identify the A vs. the B builds. We are also routing path prefixes to various additional applications. I've been extremely happy with the speed, the stability, and the flexibility of varnish as a load balancer/content switch, even without caching. -T On 3/30/11 2:23 AM, "Per Buer" <[email protected]> wrote: > On Wed, Mar 30, 2011 at 5:01 AM, Jonathan Leibiusky <[email protected]> > wrote: >> Thanks! >> If I have 100 of different rules, I would have a very big if block, right? >> Is this a common use case for varnish? > > Yes. It's quite common to have a lot of logic. Don't worry about it, > VCL is executed at light speed. _______________________________________________ varnish-misc mailing list [email protected] http://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
