网络场中的 nServiceBus 与 Distributor

发布于 2024-08-25 15:26:47 字数 98 浏览 3 评论 0原文

当有多个客户端和多个服务器时,我不确定分发器应该在哪里运行。如果我有一个分配器,所有客户端都发送到该分配器并且所有服务器都从中获取工作,那么这肯定是单点故障。有没有办法消除这个弱点?

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

我的影子我的梦 2024-09-01 15:26:47

您可能会在集群上运行分发服务器以实现高可用性。
话虽这么说,您甚至可以为每种消息类型设置一个单独的分发器,并将客户端配置为将每种消息类型发送到其指定的分发器。然后,您可以根据要为每种消息类型分配的资源量,将服务器分配给分发者。

这能回答你的问题吗?

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?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文