asp.net - 为高消息流量 Web 应用程序横向扩展 SignalR 而不使用 Redis

标签 asp.net push-notification real-time signalr

this video在channel9.mmsdn.com上关于SignalR,讲师不建议将Redis用于需要交付大量并发消息的应用程序。他提出了其他三种理论上的替代方案,但没有任何实现指南。我想如何在通用机器上扩展 Signalr 亚马逊网络服务 和/或是否已经有现成的开源解决方案可用。

From asp.net:

Using a backplane, the maximum message throughput is lower than it is when clients talk directly to a single server node. That's because the backplane forwards every message to every node, so the backplane can become a bottleneck.



讲师在他的讲座中解释说 Redis 可能是瓶颈。我知道 Windows Azure 上的 Windows Serve Service Bus,但我打算为 AWS 开发我的项目。谢谢。

最佳答案

根据您将使用 SignalR 的流量类型,您或许可以使用 Redis Sotion。 MSDN 文档指出,Redis 服务器会成为严重问题的唯一解决方案是用于在线游戏,但对于推送场景或聊天应用程序,您应该没问题。

Scaleout in SignalR

关于asp.net - 为高消息流量 Web 应用程序横向扩展 SignalR 而不使用 Redis,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18270720/

相关文章:

javascript - 连接尚未完全初始化

c# - ASP.NET MVC : How to find Controllers with [Authorize] attributes using Reflection in C#?(或如何构建动态 Site.Master 菜单?)

Android解析sdk推送通知

ios - 从通知中心删除重复的远程通知

matlab - 信号 Simulink 的初始值

Javascript实时访客信息

hadoop - Spring XD 是正确的工具选择吗?

c# - IIS7 中的 ASP.NET 站点无响应

ASP.NET 5 + Angular 2 路由(模板页面不重新加载)

email - 网站或服务器停机通知工具