What should be used for WCF service monitoring ? WMI or WS-Discovery [closed]

泄露秘密 提交于 2019-12-11 14:05:24

问题


Can you tell that which is the best tool to monitor WCF services, WMI or WS-Discovery implementation.


回答1:


The requirements look easy, but in fact it's quite difficult. Service may be available but operations may fails and vice-versa. There are also many potential problems : network failure, pool/service host stopped, wcf activation fails, operation errors... A service can be available but all operations fails because of a corrupt database. WMI/Perf counters seems to be a good approach as you can have many details for different scopes (service/operation/endpoint). But In addition if your hosting your service under IIS, application pool idle default timeout is 20 minutes: counters/WMI will be unavailable.

In conclusion, i would said that the best monitoring strategy is an agregation of all tools/components available to server side and to client side.



来源:https://stackoverflow.com/questions/12297076/what-should-be-used-for-wcf-service-monitoring-wmi-or-ws-discovery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!