网络场中的 nServiceBus 与 Distributor
当有多个客户端和多个服务器时,我不确定分发器应该在哪里运行。如果我有一个分配器,所有客户端都发送到该分配器并且所有服务器都从中获取工作,那么这肯定是单点故障。有没有办法消除这个弱点?
I am not sure where the distributor/s should run when there is a number of clients and a number of servers. If I have a single distributor which all clients send to and all servers get work from then surely it is a single point of failure. Is there a way to remove this weak point?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能会在集群上运行分发服务器以实现高可用性。
话虽这么说,您甚至可以为每种消息类型设置一个单独的分发器,并将客户端配置为将每种消息类型发送到其指定的分发器。然后,您可以根据要为每种消息类型分配的资源量,将服务器分配给分发者。
这能回答你的问题吗?
You'd likely run a distributor on a cluster for high-availability.
That being said, you can go so far as to have a separate distributor for each message type and configure your clients to send each message type to its designated distributor. Then you can allocate servers to distributors based on the amount of resources you want to allocate per message type.
Does that answer your question?