Load Balancing Algorithms in VCL

Dag-Erling Smørgrav des at linpro.no
Mon Mar 3 15:58:59 CET 2008


Shiraz Kanga <skanga at gmail.com> writes:
> In order to support these VCL will need access to various statistics like
> * Number of active requests per server
> * Number of requests per second per server
> * Avg response time per server
> * Bandwidth per server
>
> Are these stats available in the VCL environment?

Not presently, and our current take on backend load balancing is that
it is best done in C, probably with pluggable algorithms (or directors
as they are called in the code).

DES
-- 
Dag-Erling Smørgrav
Senior Software Developer
Linpro AS - www.linpro.no



More information about the varnish-dev mailing list