将应用程序日志 (Coldfusion/J2EE) 与 IIS 日志关联起来以调试客户端网络问题
我最近看到一些客户抱怨我的网站速度缓慢,我很确定问题与他们的网络有关。 我希望能够更彻底地向自己证明这一点,并且能够在出现网络问题的客户来找我之前更主动地联系他们。
如果我正在运行 ASP.Net,我会尝试使用 Response.AppendToLog Method 并附加一个令牌,以便我可以将所有内容绑定回我的自定义应用程序级别日志记录(用户、客户端、处理时间等)。 如果没有 ASP.net,我似乎无法找到一种方法来做到这一点。 我猜它是内置于 ASP 的 ISAPI 中的。 我的请求通过 IIS 到达 JRun 的 ISAPI,再到达 Coldfusion(.cfm/.cfc 文件)。
我最感兴趣的是了解客户端接收内容花了多长时间,而不仅仅是处理请求所需的时间。
如果我认为还有其他地方/信息不值得一看,请告诉我。 也许我应该以某种方式记录来自 HTTP.sys 的信息?
我知道我可以在每个请求上设置 cookie 并由 IIS 记录,我只是希望有更好的解决方案。
感谢您的想法!
I've seen some clients complaining about slowness of my website lately and I'm pretty sure that the problem is related to their network. I'd like to be able to justify this to myself more thoroughly and also be able to more proactively reach out to clients that appear to be having network issues before they come banging on my door.
If I was running ASP.Net I would try to use the Response.AppendToLog Method and append a token so that I could tie back everything back to my custom application level logging (user, client, processing time, etc.). I can't seem to find a way to do that without ASP.net. I'm guessing it's built into ASP's ISAPI. My requests are going through IIS to JRun's ISAPI to Coldfusion (.cfm/.cfc files).
I'm most interested in knowing how long it took the client to receive the content not just the time it took to process the request.
If there are other places/information that I'm not considering that's worth looking at, please let me know. Perhaps I should log information from HTTP.sys somehow?
I know that I could set a cookie on every request and have that logged by IIS, I was just hoping there would be a better solution.
Thanks for your thoughts!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请参阅 Jiffy。 它“是一个端到端的现实世界网页仪器和测量套件。”
介绍视频提供了很好的概述。
See Jiffy. It "is an end-to-end real-world web page instrumentation and measurement suite."
The introductory video gives a good overview.