SignalR和NServiceBus在WebFarm [英] SignalR and NServiceBus in a WebFarm
问题描述
我想了解是否/如何工作的。
I am trying to understand if/how this works.
能否SignalR和NServiceBus一起使用,以支持在Web场请求可能从服务器发送全双工再到后来的反应会回来,但用户可能在另一台服务器上。
Can SignalR and NServiceBus be used together to support full duplex on a web farm where the request could be sent from a server then later the response would come back but the user may be on another server.
的使用案例,这将是一个用户提交表单,然后需要一段时间来处理说3-5分钟。在这段时间内用户做其他事情,并可能由于负载平衡服务器之间切换。一旦这个过程完成后,将发回一个响应这将显示给用户的通知。
The use case for this would be a user submits a form which then takes a while to process say 3-5 minutes. During that time the user is doing other things and could be switching between servers due to load balancing. Once the process is complete it would send a response back which would show a notification to the user.
如果有一些这方面的文章,将是巨大的。
If there are some articles on this that would be great.
推荐答案
请允许我向您推荐罗伊Cornelissen最伟大的博客文章就这一话题:
Allow me to refer you to Roy Cornelissen's great blog post on this very topic:
<一个href=\"http://roycornelissen.word$p$pss.com/2013/03/11/an-nservicebus-backplane-for-signalr/\">http://roycornelissen.word$p$pss.com/2013/03/11/an-nservicebus-backplane-for-signalr/
这篇关于SignalR和NServiceBus在WebFarm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!