round-robin director

Lee Trout lee at leetrout.com
Fri Jul 1 18:02:57 CEST 2011


Here's a quick example that should get you in the ballpark:
http://pastebin.com/EUGWMthD


2011/7/1 Roberto O. Fernández Crisial <roberto.fernandezcrisial at gmail.com>:
> Christian,
> I think you should use random director, so you can use weigth option and
> send traffic to a particular backend.
> Regards,
> Roberto O. Fernández Crisial
> @rofc
>
> On Fri, Jul 1, 2011 at 12:49 PM, Lukas, Christian (extern)
> <c.lukas at external.telekom.de> wrote:
>>
>> Hi everyone,
>>
>>
>>
>> I am new to the mailing list. If I do something wrong please let me know
>> and I will change it in the future.
>>
>>
>>
>> We use the round-robin director and like to have one backend to be
>> requested only every eight times.
>>
>> E.g. two backends (backend1, backend2). Backend1 should handle the first 7
>> request and backend2 one request … backend1 handle 7 requests … backend2
>> handle one request.
>>
>>
>>
>> Is it possible to do this configuration. Any help would be appreciated.
>>
>>
>>
>> Thanks,
>>
>>   Christian Lukas
>>
>>
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>



-- 
Lee Trout
606.483.1337
lee at leetrout.com
http://www.leetrout.com




More information about the varnish-misc mailing list