true load balancer
almir at kiberpipa.org
Wed Jul 23 22:48:15 MSD 2008
i'm kinda interested in implementing a true load balancer functionality
in nginx, my idea is to extend the upstream module so that it would be
able to dynamically modify the configuration of servers (such as mark
them down or change the weight) i see two possible ways:
- controlling socket over which you would feed the commands
- UPSTREAM method (similar to ncache's PURGE), the advantages of this
being easier control of configuration file and no need for a dedicated
thread to listen on the socket
the idea is to implement just the controling protocol in nginx, it would
require some controling daemon/script to actually do anything useful.
also any chance of this kind of code making it to official nginx?
vi vi vi -- the number fo the beast
More information about the nginx