Hi,
I am wondering if there is a way in haproxy to do this without
generating/loading new configs (an option but ugly.)
We have multiple data centers that serve the same apps. We would like to
be able to do the following:
Normally, traffic that lands at a data center gets processed there and
returned. If a data center goes above some level and there is spare
capacity at another data center, we want to ship some of the traffic to
the other data center to balance the load. This can be seen as adding
servers or backends of servers in the other data center to the server set.
The information about the relative load needs to be calculated by an
external program, the set of apps is large and complex. Simple timing
can't make the right decision.
I realize this is an odd case, but we are looking for a more dynamic way
to balance traffic than what we have now.
thanks in advance,
jerry
--
Soundhound Devops
"What could possibly go wrong?"