On Tue, Oct 12, 2010 at 2:48 AM, Corin Langosch <[email protected]> wrote: > Hi all, > > I'd like to use haproxy in a cloud environment. By this I mean that I have a > dynamically changing number of backends and acls to map the frontend to > these backends. I read the manual of 1.4 and 1.5, but didn't find a way how > to dynamically (so without having to restart/ reload haproxy). I think the > best way would be to have this working using some control connection/ > socket, just like the stats socket (but also using tcp ip). Or is hayproxy > the wrong tool for this and there are better solutions available for this > task?
Haproxy sounds like the perfect tool for it. I know of many companies that use haproxy simply because they're fronting an ever changing set of EC2 instances that go up and down all the time. Haproxy's reload is very clean; it does a very good job of transitioning ownership of the bound socket between old and new PID's without dropping incoming requests while existing requests continue to serve out of the old PID. At my last company, I had a job that wrote new config files and reloaded haproxy automatically at regular intervals. > > Thanks, > Corin > >

