简体   繁体   English

signalR网络农场

[英]signalR web farm

I have successfully used signalR to create a simple chat application inside ASP.NET MVC3. 我已成功使用signalR在ASP.NET MVC3中创建一个简单的聊天应用程序。 Everything works great locally on my dev machine. 在我的开发机器上,一切都很棒。

Will the application work the same way in a web farm environment with multiple web servers (going live for example)? 应用程序在具有多个Web服务器的Web场环境中是否以相同的方式工作(例如,上线)? How does signalR manage its Hubs across those servers? signalR如何跨这些服务器管理其集线器?

Thanks. 谢谢。

Please see David Fowler's blog post about webfarm support in SignalR v0.5: http://weblogs.asp.net/davidfowler/archive/2012/05/02/signalr-0-5.aspx 请参阅David Fowler在SignalR v0.5中关于webfarm支持的博客文章: http ://weblogs.asp.net/davidfowler/archive/2012/05/02/signalr-0-5.aspx

In short, SignalR currently supports Redis and Windows Azure Service Bus as a way to communicate between multiple servers in a webfarm. 简而言之,SignalR目前支持Redis和Windows Azure Service Bus作为在webfarm中的多个服务器之间进行通信的方式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM