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/

相关文章:

real-time - 硬实时、软实时和硬实时之间的区别?

java - 当数据库更改时在 Android 和桌面 Java 上触发事件

asp.net - 使用 ASP.NET Web API 作为图像服务

c# - Fluentvalidation 仅在填充字段时验证

c# - Apple 推送通知中的自定义 JSON

android - Google 的 Firebase 下游消息的 http post 请求的 `Authorization` 部分是什么?

asp.net - 如何让javascript在更新面板中执行

c# - 在 ASP.Net 中生成 CSV 文件

ios - 发送字符串到特定号码

IOS 8 : Real Time Sound Processing and Sound Pitching - OpenAL or another framework