NServiceBus:负载平衡订阅者

发布于 2024-09-12 09:00:13 字数 127 浏览 2 评论 0原文

是否可以在不使用分发器的情况下对我的订阅者工作节点进行负载平衡?我的想法是这样的:

如果我只是将每个工作节点放在一个虚拟 IP 后面,然后将此虚拟 IP 订阅到发布?您可以将 MSMQ 消息发送到虚拟 IP 后面的计算机吗?

Is it possible to load balance my subscriber worker nodes without using a distributor? Here's what I am thinking:

Instead of having my distributor subscribe to a publication, and having each worker node "report for duty" to handle messages, what if I just put each worker node behind a Virtual IP, and subsrcibe this Virtual IP to the publication? Can you send MSMQ messages to a machine behind a Virtual IP?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

寒尘 2024-09-19 09:00:13

“虚拟IP”的问题是,您希望有一个队列来存放未处理的工作,以便您可以监视它,并在此基础上增加/减少工作节点的数量。您在使用分配器时遇到过什么问题吗?

The problem with a "virtual IP" is that you want to have a queue where unprocessed work sits so that you can monitor it, and based on that, increase/decrease the number of worker nodes. Did you run into any problems when using the distributor?

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