Replies: 1 comment 1 reply
-
对于客户端来说,可以用LB,对于broker来说,要向每一个nameserver注册,所以要获得全量的nameserver地址,否则路由信息将会不一致。 暂时不会考虑namesrv之间同步数据。 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
如果我使用一个LB负载均衡器,转发到3个namesrv节点。这样肯定是有问题的。因为可能注册broker到namesrv-1节点,而读的时候,lb又可能把请求转发到namesrv-2节点。
如果我对namserv进行改造,实现彼此之间同步数据,那这样是否可以使用LB负载到三个节点。这样我在写namesrv的时候,可以使用域名的方式。
集群切换的时候会方便一些。
Beta Was this translation helpful? Give feedback.
All reactions