Round-Robin Director Backends
Enno van Amerongen
enno at tty.nl
Mon Oct 3 09:39:43 CEST 2011
Not automatically, but you can put the following in your vcl_fetch.
However, if its a genuine 404, 10 backends will be bothered with it.
sub vcl_fetch {
if (beresp.status == 404) {
if (req.restarts < 10) {
return (restart);
}
}
return (deliver);
}
Corey Hammerton wrote:
>
> Hello,
>
>
>
> I have an environment with multiple backend servers that require most
> images (static content) be replicated out to all servers, this is
> causing unnecessary load on our backend servers. To mitigate this
> problem we plan to put in a Varnish system to grab the assets from the
> backend servers and send them to the client VIA a round-robin director.
>
>
>
> If Varnish cannot find the asset on the current backend server does it
> automatically go to the next backend in the list? If not what VCL code
> do we need to insert to accomplish this?
>
>
>
>
>
> Regards,
>
>
>
> Corey
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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