开发者

nServiceBus deployment approach on a single machine

开发者 https://www.devze.com 2023-01-27 06:15 出处:网络
I\'m looking to put nServiceBus onto a single machine and am wondering if my understanding of a simple deployment is correct.

I'm looking to put nServiceBus onto a single machine and am wondering if my understanding of a simple deployment is correct.

I intend to deploy each logical publisher and subscriber in their own service (as per advice here), and for each to have their own message queue (I will be using MSMQ). To deploy another subscriber is then as simple as adding the serv开发者_开发百科ice and the queue. To remove it you just remove the service and the queue.

Is it really as simple as that for a low message volume single machine deployment?

Are there any serious gotchas I need be aware of with this approach?


That really should be it. The other thing you may want to consider is at least putting your error queue(s) on another machine in case that single machine crashes. This way you can still get an idea as to what the errors where. I think in a production environment you may want to consider a cluster to make it a little bit more reliable.

0

精彩评论

暂无评论...
验证码 换一张
取 消