当使用signalr,会有IIS上的任何连接限制 [英] While using signalr, will there be any connection limits on IIS

查看:2101
本文介绍了当使用signalr,会有IIS上的任何连接限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经从过去的几天里看着SignalR。使用这个我已经创建了一个管理仪表板,以获取有关数据库表的实时信息。基本上,这台被来自不同的应用程序可能不同用户填充。它已经出来好。这些更新是可能只有当有客户Broswer和Web服务器之间的永久连接。我有在生产中部署这个应用程序之前,一些疑惑。

I have been looking at SignalR from last few days. Using this I have created an Admin Dashboard to get realtime information about a database table. Basically this table gets populated by may different users from various applications. It has come out well. These updates are possible only when there is persistent connection between client Broswer and WebServer. I have few doubts before deploying this app in production.

据我了解,SignalR首先检查的WebSockets然后查找基于客户端和服务器之间存在的可用性长轮询。不管是什么用途,将有客户端和服务器之间打开的连接。

I understand that SignalR first checks WebSockets then looks for Long Polling based on there availability between client and server. No matter what it uses, there will be a connection open between client and server.

我的问题是它是如何在更多的用户连接到例如100000管理员是在同一时间连接在同一个服务器方案执行。 IIS是否具有持久性连接数的任何限制它可以在一个点打开?如果是这样,我们可以配置到为最大值,什么WUD是该值。

My question is how does it perform in scenario where more users are connected to the same server for example 100,000 admins are connected at same time. Does IIS has any limitations on number of persistent connections it can open at one point? If so can we configure to that to max value and what wud be that value.

很抱歉,如果是菜鸟的问题

Sorry if it is rookie question

ASP.NET MVC3&安培; IIS 7用于发展。

ASP.NET MVC3 & IIS 7 are used for development.

推荐答案

您应该查看的性能节在SignalR维基GitHub上。这提供了一些非常好的指导以下内容:

You should review the Performance Section of the SignalR Wiki on GitHub. This provides some really good guidance for the following:


  • IIS配置 - 最大并发请求数应用

  • ASP.NET配置 - 最大并发请求和放大器;请求队列限制

此外,它指出了关键Peformance计数器执行应用程序的负载测试时进行监视。其中IMO你应该做的真正拥有你的应用程序将如何进行,并作必要调整,为特定方案的理解。

Additionally, it states the key Peformance Counters to monitor when performing load testing of your application. Which IMO you should do to truly have an understanding of how your application is going to perform and make adjustments as necessary for your specific scenario.

最后,还有就是曲柄的推荐工具的链接用于产生与SignalR客户端负载

Finally, there is a link to Crank the recommended tool for generating client load with SignalR.

更新:链接到曲柄现在电流

Update: Link to Crank is now current.

这篇关于当使用signalr,会有IIS上的任何连接限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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