Hi. Varnish can do that. VCL is a powerful thing. Use the client director and set client.identity to req.url.
It might be that "client.identity" is a bad name. Maybe it should be renamed. Per. On Tue, Jun 26, 2012 at 10:24 PM, Jean-Christian BEDIER <[email protected] > wrote: > Real loadbalancer offer more functionality, like hash uri for sticky > on specific varnish and reduce cache objet redundancy. > > On Tue, Jun 26, 2012 at 7:57 PM, Allan Brand <[email protected]> > wrote: > > Thanks! Does Varnish support least-connections or weighted > > least-connections load balancing? > > > > Also, in the scenario of placing a LB in front of Varnish, is the > > Varnish host a dedicated machine or is it running locally on the web > > servers? > > > > Allan > > > > On Tue, Jun 26, 2012 at 12:40 PM, Hugo Cisneiros (Eitch) > > <[email protected]> wrote: > >> On Tue, Jun 26, 2012 at 1:46 PM, Allan Brand <[email protected]> > wrote: > >>> I'm new to Varnish and I've seen a number of discussions where Varnish > >>> is used in conjunction with a load balancer in the following manner: > >>> [LB] -> [Varnish] -> [www 1-n] > >>> > >>> I'm guessing that Varnish is running locally on the www hosts? If > >>> not, Is there any reason why placing Varnish in front of the load > >>> balancers instead would not be ideal? > >>> [Varnish] -> [LB} -> [www 1-n] > >> > >> Usually you use LB in front of varnish for high availability cases. > >> Then, if a varnish fails, the other will take over all the work. > >> > >> But there's no problem using Varnish as a load balancer as it does a > >> great job, as others said in this thread. But you must pay attention > >> to the fail over/load balancing on the varnish as well :-) > >> > >> -- > >> []'s > >> Hugo > >> www.devin.com.br > >> > >> _______________________________________________ > >> varnish-misc mailing list > >> [email protected] > >> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > > > > > > > > -- > > --------------------------------------- > > Allan > > (208) 977-6014 (eFax) > > > > _______________________________________________ > > varnish-misc mailing list > > [email protected] > > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > > _______________________________________________ > varnish-misc mailing list > [email protected] > https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc > -- Per Buer Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / Skype: per.buer *Varnish makes websites fly!* Whitepapers <http://www.varnish-software.com/whitepapers> | Video<http://www.youtube.com/watch?v=x7t2Sp174eI> | Twitter <https://twitter.com/varnishsoftware>
_______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
