On Mon, Apr 10, 2017 at 08:29:05PM +0200, Aleksandar Lazic wrote: > In case I have understood you all right I will be able to add and remove > servers without reloading/restarting haproxy just with some cli commands, > right. > That would be very great ;-)
Yep that's it. > Will be this also possible for listen/frontend/backend in the next step. > This will be a big challenge because there are so much combinations and > permission issues which can create a lot or headache 8-O We've had some discussions in the past regarding what could be done for backends. It's still uncertain and maybe it's the wrong approach, since a backend is nothing less than a config container and an LB farm with its LB algorithm. Maybe radically different approaches like splitting backends to use server groups and being able to associate them on the fly could make things easier. Or maybe we'll adopt very similar designs for backend templates as for server templates. This still needs more thinking. For frontends it's even worse and frontends are also directly involved in maxconn computation and such stuff. Also most of the time it will not be possible to bind a frontend after haproxy has lost its privileges, let alone listen to a unix socket from a chroot. But other approaches like passing an FD over the CLI could work to some extents. Also frontends will require passing new certs, something we still can't do for now. This alone could be a nice improvement for many users compared to adding frontends (much rarer even in very dynamic environments). Cheers, Willy

