Re: Dynamically adding server's to backend

2017-01-21 Thread Michał
For the first iteration I just dynamically added server to proxy and then called check_config_validity() which resolves all track's and checks things. IMHO check_config_validity() need some refactoring, because in current state it not only check config, but also resolves some dependencies and

Re: Dynamically adding server's to backend

2017-01-20 Thread Willy Tarreau
On Thu, Jan 19, 2017 at 11:54:32PM +0100, Micha?? wrote: > Hello, > > What do you think about making possible to add servers to backend at > runtime via CLI/socket? This is exactly what is being worked on, but it's not as trivial as you imagine :-) > Changing addresses and wieghts of servers is

Dynamically adding server's to backend

2017-01-19 Thread Michał
Hello, What do you think about making possible to add servers to backend at runtime via CLI/socket? Changing addresses and wieghts of servers is ok, because we can use "placeholders", but it's not the best solution and requires to configure many placeholders when it comes to autoscaling. This