This is a mirror of official site: http://jasper-net.blogspot.com/

WCF call has 15 seconds delay after idle for couple of minutes

| Monday, December 27, 2010
Customer has a WCF application which uses ASP.Net as a client. The service is hosted on another IIS as well. For secure purpose, customer enabled transport layer security for the WCF service.

Customer found the ASP.Net web page took more than 15+ seconds sometimes while normally it takes less than 1 second. With some investigation, we found the slowness happens only when the web application idle for some time and the slowness was due to slow WCF service call.  The problem disappears if we disable the transport security.

We captured network trace, and found there is about 15 seconds delay for SSL session setup. This sounds the problem was due to build certificate chain.

1663.wcf0.jpg

Posted via email from .NET Info

0 comments: