IIS间歇性地遇到超级慢的请求 [英] IIS experiences super slow requests intermittently

查看:58
本文介绍了IIS间歇性地遇到超级慢的请求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在努力为我们的客户查明旧版应用程序中的错误.他们抱怨缓慢的响应时间并检查IIS日志,我发现有时不超过500毫秒的请求会花费10到30秒.

I have been trying to pinpoint an error in a legacy application for our customers. They have complained about slow response times and checking IIS logs I can see that sometimes requests that shouldn't take over 500 ms take 10-30 seconds.

似乎没有模式:这些请求与应用程序处理的请求一起发生,它们与小的静态文件(图片和.js文件)一起发生,它们在高流量和低流量期间发生.在这些请求之前或期间似乎没有发生可能导致这种情况发生的请求类型.

There seems to be no pattern: these requests happen with requests handled by our application, they happen with small static files (pictures and .js-files), they happen during high and low traffic. There doesn't seem to be a request type happening before or during these requests that would cause this to happen.

我尝试对长请求进行失败的请求跟踪,但是IIS管道中发生的所有事情似乎都需要0毫秒或至少接近0毫秒.这可能是由于网络连接速度极慢或我们的旧版应用程序阻塞了线程(或完全不同的东西)引起的吗?

I have tried failed request tracing for long requests but everything happening in IIS pipeline seems to take 0 ms or at least close to that. Could this be caused by extremely slow network connections or our legacy application blocking threads (or something completely different)?

推荐答案

解决了我自己的问题.

我们的客户遇到的速度缓慢可能是由其他因素引起的.将请求统计信息与其他服务(具有完全不同的技术)进行比较,发现它们有时都具有相似的慢速请求,而这很可能是由于慢速连接引起的.

The slowness experienced by our customer is likely caused by other factors. Compared request statistics to other services (with completely different technology) and found that they all have similar slow requests now and then probably caused by slow connections.

有用的工具:

这篇关于IIS间歇性地遇到超级慢的请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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