Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Suppose I want to add more servers to my backends realtime, what is the standard way to get my http server to update its internal rpc data structure so it load balances on the new backends.

share|improve this question

migrated from stackoverflow.com Jul 7 '11 at 6:17

This question came from our site for professional and enthusiast programmers.

1 Answer 1

This really depends on the server you're using as a load balancer. Nginx supports the HUP signal to reload its configuration file, allowing you to add or remove backends. Cherokee does load balancing and has a web GUI for updating configuration. HA Proxy supports updating configuration without having to shutdown and restart.

What server are you using?

share|improve this answer
    
Well what if I have a three tier architecture with application servers between the httpserver and backends? –  user782220 Jul 6 '11 at 1:41
    
Are you asking about adding into the 3rd tier? What is the 'backend'? Depending on what it is you may be able to put it behind a load balancer (eg: if it's a service); if it's a DB you may be able to use HA JDBC or another proxy. What I do (currently) is update the configuration of my middle tier systems by taking them out of rotation 1 at a time, updating the config (adding the additional back-ends and then restarting) and putting them back into rotation in the front-end LB. This is the same process I use for doing rolling releases. Is that what you're asking about? –  Kyle Burton Jul 6 '11 at 18:15
    
One would think that there should be a generic solution that is software independent that works without tying oneself to and depending on specific behavior of Nginx, Cherokee, etc. Having a solution that is independent of the software used strikes me as the correct software engineering solution. –  user782220 Jul 6 '11 at 18:36
    
Thanks for your time, best of luck. –  Kyle Burton Jul 6 '11 at 20:18

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.