Suppose we have several identical nodes which are the application servers of some n-tier service. And suppose we use Apache ZooKeeper to keep all the config\'s of our distribute
Not sure that it is possible to dynamicaly change nginx
configuration without restarting a server.
If I had a same requirement I'd probably dug into nodejs
and zookeeper
integration.
There are several interesting opensource projects:
node-zookeeper integrates nodejs
with zookeeper
;
node-http-proxy proxy http server that can be used for load balancing.
Of course they lack maturity but they might be interesting for you.