开发者

Message Queueing - Handling multiple responses simultaneously - C#.NET

开发者 https://www.devze.com 2022-12-20 12:19 出处:网络
I\'ve a business application where i\'ve a master application and multiple slave applications (geographically distributed) connected to each other. All the slave application interact through master ap

I've a business application where i've a master application and multiple slave applications (geographically distributed) connected to each other. All the slave application interact through master application and master application should handle all the incoming requests as well as respond to the previous requests.

We're dealing with huge volume of data getting transferred between the master and child sites. So i need to handle all the pouring incoming requests and responses simultaneously and effecti开发者_运维百科vely. To be precise, i want all the nodes to communicate in a fail-safe manner.

I was looking at MSMQ for our requirement. I want you guys' opinion as how best this can be handled in .NET using MSMQ or any other proprietary or Open Source message queuing tool.

Thank you.

Regards NLV


MSMQ is a reliable messaging protocol and will be able to achieve what you described above. If you look into WCF offerings, fundamentally all the messaging types will allow you to handle concurrent requests quite efficiently. The good thing about using WCF is that through the configuration you can tweak to use different binding, transport protocols and size of the concurrent requests or threads so that you can keep adjusting until you find what is most optimal for your situation. It also takes care of the plumbing code for you and you dont necessary have to code specifically and tied to msmq only.

0

精彩评论

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