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

One client - multiple servers? #960

Open
Null-Kelvin opened this issue Feb 29, 2024 · 7 comments
Open

One client - multiple servers? #960

Null-Kelvin opened this issue Feb 29, 2024 · 7 comments
Labels
enhancement New feature or request

Comments

@Null-Kelvin
Copy link

I have multiple VPS with hysteria servers on them. But if I want to use all of them at once, I need to start multiple hysteria clients, which is inconvenient when it's more than three of them. Can one hysteria-client connect to multiple servers and set unique port to each one? Something like:

server_01: example.com:12345
auth: server_pass_01
socks5:
  listen: 0.0.0.0:1081 

server_02: another.example.com:54321
auth: server_pass_02
socks5:
  listen: 0.0.0.0:1082 
@Null-Kelvin Null-Kelvin added the enhancement New feature or request label Feb 29, 2024
@hezhaozhao-git
Copy link

+1

@stqfdyr
Copy link

stqfdyr commented Mar 1, 2024

In that case, it might be able to achieve load balancing.

@hezhaozhao-git
Copy link

在这种情况下,也许能够实现负载均衡。

yes

@stqfdyr
Copy link

stqfdyr commented Mar 1, 2024

The client polls multiple servers for health checks, maintains a health pool, and then performs load balancing from the healthy pool. If a health check fails, the server is removed from the health pool. load balancing + port hopping. Wow......
I was just talking, no need to take it seriously.

@hezhaozhao-git
Copy link

The client polls multiple servers for health checks, maintains a health pool, and then performs load balancing from the healthy pool. If a health check fails, the server is removed from the health pool. load balancing + port hopping. Wow...... I was just talking, no need to take it seriously.

I really need this feature

@gorbesiah
Copy link

did you try haproxy?

The client polls multiple servers for health checks, maintains a health pool, and then performs load balancing from the healthy pool. If a health check fails, the server is removed from the health pool. load balancing + port hopping. Wow...... I was just talking, no need to take it seriously.

I really need this feature

@liangawei
Copy link

这个功能很实用,做负载均衡,别怼着一只小鸡猛薅。

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

5 participants