How to implement SignalR if there is more than one iis server?

删除回忆录丶 提交于 2019-12-07 09:53:32

问题


Is there support for a cluster of iis nodes when using SignalR? Or do I need some third party message bus?


回答1:


Not yet, but they are working on it.

It's planned for the 0.4 release.

When ready, more information will probably be published in the wiki: SignalR and Webfarms on the wiki

Edit2:

Azure, SQL-Server and Redis are implemented.




回答2:


We just implemented this addon in our application and so far it works flawlessly. It uses a RabbitMq instance to distribute the messages to other servers and is really easy to configure.

https://github.com/mdevilliers/SignalR.RabbitMq

We haven't tried this on a production server yet.



来源:https://stackoverflow.com/questions/8976595/how-to-implement-signalr-if-there-is-more-than-one-iis-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!