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

”当前节点“是怎么选择的? #1

Open
Horizon007 opened this issue Aug 6, 2024 · 1 comment
Open

”当前节点“是怎么选择的? #1

Horizon007 opened this issue Aug 6, 2024 · 1 comment

Comments

@Horizon007
Copy link

博主您好,我有些许疑问:在客户端请求首次到达时,也就是还没有对key进行处理时,这时是如何确定哪个节点是“当前节点”来处理这个请求的,也就是“当前节点”是怎么选择的,是通过etcd内部的负载均衡自动选择的吗?

@Horizon007
Copy link
Author

如果像main函数那样通过命令手动指定的话,那岂不是每个请求的到来都要使用同一个节点来处理,那么“当前节点”的压力会很大把,感觉有点丧失了分布式的意义。

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