SignalR组同时限制连接 [英] SignalR Groups simultaneously connections limitations

查看:188
本文介绍了SignalR组同时限制连接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在信号器中完成了一个基于组ID的用户加入的聊天应用程序。



用户使用链接http://访问网络聊天主机/索引/ {GroupId} / {UserId},每个人都可以在同一组中连接超过5人。



我看过gitHub关于SignalR的连接限制,但我没有发现有关组连接限制的任何信息。有没有人有想法?

I've completed a chat application in signalr with user join based on a group Id.

The user access the webchat using a link "http://host/Index/{GroupId}/{UserId}", everyting works perfect until more than 5 people are connected in the same group.

I've looked on gitHub about connection limitations for SignalR but i didn't found anything about group connection limitations. Does anybody have an ideea?

推荐答案

你使用哪种浏览器?

浏览器限制并行连接的数量(例如Chrome大约6个实例)。尝试使用其他浏览器并检查是否有更多客户端可以连接到您的应用程序。这是问题所在。



参见:

+ +一个应用+ http://forums.asp.net/t/2028556.aspx?Multiple+Instance+of+same+Browser+for+one+application + with + SignalR [ ^ ]
Which browser do you use?
Browsers limits the numbers of parallel connection (For example Chrome around 6 instances). Try to use different browser and check if more clients could connect to your application. Than this is the problem.

See also:
http://forums.asp.net/t/2028556.aspx?Multiple+Instance+of+same+Browser+for+one+application+with+SignalR[^]


这篇关于SignalR组同时限制连接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆