Load Balancing Algorithms in VCL

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Mar 4 12:34:47 CET 2008


In message <47BB56F8.4080902 at gmail.com>, Shiraz Kanga writes:
>
>Will it be possible to implement custom Load Balancing algorithms in 
>VCL? There are numerous algorithms that can be used to distribute load like
>Round Robin, Weighted Round Robin, Least Connections, Fastest Response, 
>Most Bandwidth, etc.

The plan is to implement such "directors" in C (we already have "random")
and I'm not convinced that doing it in VCL makes much sense, but can
be persuaded otherwise by good arguments.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the varnish-dev mailing list