【问题标题】:How to analyze webservice delay如何分析webservice延迟
【发布时间】:2014-03-27 12:19:35
【问题描述】:

我需要帮助来找到分析问题的策略。 突然,我的应用程序开始表现得很奇怪。

总结一下,我的申请

1. (.net 4.0) uses a webservice 
2. (svc, .net 3.5) that executes some procedures. I measured the time of procedures and total time is under the one second (call this time).

大多数时候等待是几毫秒:足够公平。

虽然有时(不幸的是似乎是随机的),等待可能会持续几分钟,然后进入超时(正确);如果我检查时间,它仍然不到一秒。

这次我输在哪里了?

我怎样才能知道发生了什么?

你有什么工具、提示或任何东西可以建议我了解正在发生的事情吗?

谢谢

【问题讨论】:

    标签: c# .net performance web-services wcf


    【解决方案1】:

    在类似的情况下,我会从以下开始:

    注意:以下文章对 WCF 性能优化提供了非常好的概述: http://weblogs.asp.net/sweinstein/archive/2009/01/03/creating-high-performance-wcf-services.aspx

    祝你好运。

    【讨论】:

    • 我看到在创建 WCF 客户端时使用 using 语句显着改善了情况(问题发生的频率要低得多)...您认为两件事可以联系起来吗?
    • 以下文章可能会提供一些见解:blogs.msdn.com/b/wenlong/archive/2007/10/27/…
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-12-11
    • 1970-01-01
    • 1970-01-01
    • 2010-11-03
    • 2021-10-26
    • 1970-01-01
    相关资源
    最近更新 更多