High BackendReuse Rate Problem

Javier Casares javier at casares.org
Fri Jun 29 12:56:47 CEST 2012


I usually see the same... the first backend in a director taks a
little bit more traffic that the others...

I see it in 3.0.1 and 3.0.2, not tried in 3.0.3

Javier Casares
http://javiercasares.com/


2012/6/29 Lusurf Lui <lusurf at foxmail.com>:
> Hi,
>
> I'm using the Varnish-Cache-3.0.2 and have been encountered a very
> strange problem.
>
> I use a random director which is defined like this:
> ----------------------------------------------------
> director randomlb random {
>    {
>        .backend = app1019;
>        .weight = 15;
>    }
>    {
>        .backend = app1018;
>        .weight = 15;
>    }
>    {
>        .backend = app1020;
>        .weight = 15;
>    }
>    {
>        .backend = app1021;
>        .weight = 15;
>    }
> }
> ----------------------------------------------------
> The problem is that the BackendReuse rate of app1018 is significantly
> higher than the other backends.
> And this is a simple test case.
> ----------------------------------------------------
>    526 BackendReuse app1018
>    ###
>    988 BackendReuse app1019
>    ###
>    561 BackendReuse app1020
>    573 BackendReuse app1021
> ----------------------------------------------------
>
> What should i do to gain a balanced backendreuse rate for all the backends?
>
> Thanks.
>
> ---
> Lusurf
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc



More information about the varnish-misc mailing list