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

故障转移功能 #145

Closed
bingotl opened this issue Nov 19, 2024 · 1 comment
Closed

故障转移功能 #145

bingotl opened this issue Nov 19, 2024 · 1 comment

Comments

@bingotl
Copy link

bingotl commented Nov 19, 2024

remote":"111.111.111.1:111","extra_remotes": ["222.222.222.22:222""333.333.333.333:333"],

比如这个设置,那么流量只转发到111.111.111.1这台服务器,如果第1台没有响应,就标记为宕机。继续把流量转发到第2台服务器,以此类推。

然后设置一个时间参数,比如10分钟后,重新检测第1台服务器的可用性....

我认为这个故障转移策略是比较合理的,所有流量都只转发到一台服务器,并且冗余服务器作为备用。

@zephyrchien
Copy link
Collaborator

Hey @bingotl, this issue is duplicated with #82. For the feature requests, I would implement them when I have time ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants