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

An local load balancer inside the smesher-service for multiple nodes connection. #6683

Open
pigmej opened this issue Feb 4, 2025 · 0 comments

Comments

@pigmej
Copy link
Member

pigmej commented Feb 4, 2025

For ease of use, we need to implement a local load balancer for node connections inside the semesher-service.

  • There should be a possibility to configure multiple nodes per smesher-service
  • At the start, the order of nodes is randomized

To be decided

Backend logic

  1. Simple RoundRobin is implemented for the connections
  2. Randomze and use the same backend till the first error, then go to the next

I'm not sure which one is better. The first one can lead to a flaky debugging experience and potentially flaky errors, and the second one can lead to "node ddos".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗 Doing
Development

No branches or pull requests

2 participants