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

Exclude proxy from load balancer if it reaches max capacity #395

Closed
jeremylvln opened this issue Feb 6, 2024 · 1 comment · Fixed by #396
Closed

Exclude proxy from load balancer if it reaches max capacity #395

jeremylvln opened this issue Feb 6, 2024 · 1 comment · Fixed by #396
Assignees
Labels
type:enhancement 🚀 New feature or request

Comments

@jeremylvln
Copy link
Owner

When a proxy is full, we must exclude it from the load balancing, so Kubernetes does not redirect new players to this proxy.

Moreover, some load balancer providers (like GCP) needs a bit of a time to take into account load balancer inclusion and exclusion. So, for this feature to work perfectly, we must take into account some lag. The easiest way of doing this is to consider a proxy full when the capacity is almost reached (with a configurable delta). This will allow the load balancer to still send some players until it had the time to update itself.

The default delta will be 15 players. So, for a proxy with a capacity of 1000 players, it will be considered full when 985 players are connected.

Copy link

github-actions bot commented Feb 6, 2024

🎉 This issue has been resolved in version 0.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement 🚀 New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant