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

[Feature Request] Configurable server weight for balancer #510

Closed
zonyitoo opened this issue May 7, 2021 · 1 comment
Closed

[Feature Request] Configurable server weight for balancer #510

zonyitoo opened this issue May 7, 2021 · 1 comment
Assignees

Comments

@zonyitoo
Copy link
Collaborator

zonyitoo commented May 7, 2021

Background

Some of the servers may be suffered from QoS for UDP traffics. In that case, the ping balancer won't be able to know that and lower the rank of those servers.

Solution

Add weight for each servers.

  1. All servers have weight properties for TCP and UDP, and it is in range [0, 1] with a default value 1
  2. Servers' weight would be added into the equation for calculating servers' scores

Request is from @database64128

@zonyitoo zonyitoo self-assigned this May 7, 2021
@zonyitoo
Copy link
Collaborator Author

zonyitoo commented May 7, 2021

Another possible useful feature:

Uses the mode of server to customize what service does the server provide, tcp_only, udp_only or tcp_and_udp.

atkdef pushed a commit to atkdef/shadowsocks-rust that referenced this issue Sep 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant