]] Laurence Rowe 

| Is there an advantage in using a director here instead of the following?
| 
| sub vcl_recv {
|     set req.backend = haproxy01;
|     if (!req.backend.healthy) {
|         set req.backend = haproxy02;
|     }

If haproxy01 is marked as healthy, but refuses the connection for
whatever reason, you'll end up in vcl_error here.  A director will give
you a connection to the other one.

-- 
Tollef Fog Heen 
Redpill Linpro -- Changing the game!
t: +47 21 54 41 73
_______________________________________________
varnish-misc mailing list
[email protected]
http://projects.linpro.no/mailman/listinfo/varnish-misc

Reply via email to