diennea / carapaceproxy

A Distributed Java Reverse Proxy
Apache License 2.0
23 stars 9 forks source link

Implement balancing strategy in backend choice #433

Open hamadodene opened 1 year ago

hamadodene commented 1 year ago

At the moment the choice of the backend is done randomly by shuffling the list of backends. You might consider implementing a balancing strategy in choosing backend such as:

It might be interesting to give the possibility to choose which balance to use. Something like:

director.1.balancingstrategy= round-robin|weighted|least-connection|random