Directors choose from different backends based on health status and a
per-director algorithm.
There currently exists a round-robin and a random director.
-
+.Pp
Directors are defined using:
.Bd -literal -offset 4n
director b2 random {
This specifies how many tries it will use to find a working backend.
The default is the same as the number of backends defined for the
director.
-
+.Pp
There is also a per-backend option: weight which defines the portion
of traffic to send to the particular backend.
-.Ed
.Ss The round-robin director
The round-robin does not take any options.
-.Ed
.Ss Backend probes
Backends can be probed to see whether they should be considered
healthy or not. The return status can also be checked by using