简体   繁体   English

Azure Web App中的SignalR性能计数器

[英]SignalR performance counters in Azure Web App

I've been trying to load test SignalR on my Azure Web App service (Eg how many connections it can handle before subscribe calls to the hub start failing). 我一直在尝试在Azure Web App服务上加载测试SignalR(例如,对中心的订阅调用开始失败之前,它可以处理多少个连接)。 I found that SignalR perfomance counters ( https://www.asp.net/signalr/overview/performance/signalr-performance ) can provide me such info. 我发现SignalR性能计数器( https://www.asp.net/signalr/overview/performance/signalr-performance )可以为我提供此类信息。 However, I cannot install those performance counters on Web App service, buy running 但是,我无法在Web App服务上安装这些性能计数器,请购买运行

SignalR.exe ipc SignalR.exe IPC

Is there a way to install those performance counters on WebApp or retrieve them somehow from code? 有没有办法在WebApp上安装这些性能计数器或以某种方式从代码中检索它们?

Performance Counters can't be installed on Azure Web App , as it is provided as a managed container and not a full fledged IIS on which you can do everything. 性能计数器不能安装在Azure Web App上 ,因为它是作为托管容器提供的,而不是您可以在上面执行所有操作的完整IIS。

To be able to use these performance counters you can redeploy your solution on an Azure VM or to a Cloud Service, keeping in mind you will loose the flexibility that Azure Web App offers. 为了能够使用这些性能计数器,您可以在Azure VM或Cloud Service上重新部署解决方案,请记住,您将失去 Azure Web App提供的灵活性

您可以公开使用WebRole在Azure的Web应用程序的SignalR性能计数器,如中所述文章

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM