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

Does mc-router support more than one backend server per serverAddress? #250

Open
luiz-otavio opened this issue Dec 19, 2023 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@luiz-otavio
Copy link

I'm looking for something which can handle multiples backend servers at the same address, such as:

skywars.myexample.gg -> |
  skywars01.myexample.gg
  skywars02.myexample.gg
  skywars03.myexample.gg

Does mc-router support it and handle it with such a random algorithm like round-robin or something else?

@itzg
Copy link
Owner

itzg commented Dec 19, 2023

It doesn't at this time. If implemented, in addition to random/round robin assignment (as you mentioned) it would happen on every connection. In other words, a player would not be sticky-assigned to the same server as before. Also, the server status request would have to be routed to either a random server or the first one in order to approximate that request.

If the backend game mode is transient then that seems fine, but seems like a very niche scenario.

@itzg itzg added the enhancement New feature or request label Dec 19, 2023
@slawo
Copy link
Contributor

slawo commented Nov 9, 2024

Why would this be necessary?

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

3 participants