Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement balancing strategy in backend choice #433

Open
hamadodene opened this issue May 7, 2023 · 0 comments
Open

Implement balancing strategy in backend choice #433

hamadodene opened this issue May 7, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hamadodene
Copy link
Contributor

hamadodene commented May 7, 2023

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:

  • Round-robin
  • Least Connections --> Send the request to the backend with the least number of active connections
  • Weighted Round robin

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

@hamadodene hamadodene added the enhancement New feature or request label May 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant