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

动态负载均衡真的能实现吗? #22

Open
mozhu811 opened this issue May 14, 2024 · 0 comments
Open

动态负载均衡真的能实现吗? #22

mozhu811 opened this issue May 14, 2024 · 0 comments

Comments

@mozhu811
Copy link

在RPC服务的main函数中启动服务时,对配置文件中服务的Addr是通过索引0来获取的。
那这样是不是就意味着没有办法一次打包横向扩展,毕竟不管怎么扩展,镜像中的服务地址永远都是第一个。
如果要横向扩展必须每一次都修改配置文件和代码。

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

1 participant