开发者

Are there any downside of increasing sendtimeout in WcfBinding?

开发者 https://www.devze.com 2022-12-27 21:46 出处:网络
My application calls a 3rd party WCF service and chances are that it get time-out 10 in 100 times. What should i do, should i increase the SendTimeout, are the开发者_如何学编程re any downside of it.?

My application calls a 3rd party WCF service and chances are that it get time-out 10 in 100 times.

What should i do, should i increase the SendTimeout, are the开发者_如何学编程re any downside of it.??


Well, negative is - your applicaiton will possibly wait longer in case of a failure. THat said, if the other side just normally takes longer, adjust the timeout. THere is not a lot else you can do.


You can't save some investigation. Timeout may be caused by broken connectivity, network overload or server overload. And be aware: using longer timeouts will cause more load on both servers -- your and the 3rd party as well.
Timeout is usually not the problem itself, just a symptom of it.

0

精彩评论

暂无评论...
验证码 换一张
取 消