On Thursday 16 of June 2011 09:30:25 Stefano Sasso wrote:
> Hello folks,
> I wrote a simple perl daemon that acts as backend server weight
> watchdog, dynamically change server weight on haproxy configuration
> through its socket.
>
> The daemon polls the backends to a specific url, that should return
> the current server load. Basing on the server load the watchdog change
> the backend weight.
>
> You can find it here (v 0.9): https://github.com/ssasso/lbwwd
Looks great, BUT :)
I suggest you to use AnyEvent::HTTP, which allows you to perform multiple http requests simultaneously, has built-in ipv6 and SSL/TLS support.
Brane Received on 2011/06/16 11:33
This archive was generated by hypermail 2.2.0 : 2011/06/16 11:45 CEST