I'd like to scale out by adding more EC2 mongrel instances, and scale
down by removing EC2 mongrel instances.
Is there a way to dynamically add/remove mongrel instances from Apache
mod_proxy_balancer. It seems that I'd have to manually change the
configuration file and restart apache whenever I add/remove a new
mongrel.
Yaxm
--
Posted via http://www.ruby-forum.com/.
mod_proxy_balancer comes with the "balancer manager" with which can
toggle a member of the cluster offline and back online:
http://httpd.apache.org/docs/2.2/mod/mod_proxy_balancer.html
You could script that interface and then call it from Capistrano. I
Googled around but couldn't find an existing library for this... kind of
surprising. Maybe most folks are just going the "rewriting the config
file and send USR1" route.
Yours,
Tom