Problem with Web Services Performance on IIS 6
-
Hi I have a problem with WCF Web Services on IIS 6, where on start of the IIS web server following either a IIS reset, or start of the server itself, the performance of calling a web service is poor on first call. Whilst I know from googling this is a common problem, and it is recommended to use a console application to call a method on the web service method before users start using it. This I have done, but when I open the web application and then call a web service method via the web application it still took 14 seconds. When I closed the browser, and did it again, the call took 5 seconds, and subsequent calls via the same browser window took a second. Why I am still getting a delay when calling the web service for the first time via the application? Is there a way to speed this up? I some more questions relating to WCF Perforamce: 1. Does disabling NetBios over TCP create any security vunerabilities? 2. Using application pool recycling on the website holding web services does this hold any old data when the process is recycled? 3. What is the correct way of setting up application pool recycling on IIS 6 on the website holding web services which used on a web farm with a load balancer? Thanks for your help in advance
-
Hi I have a problem with WCF Web Services on IIS 6, where on start of the IIS web server following either a IIS reset, or start of the server itself, the performance of calling a web service is poor on first call. Whilst I know from googling this is a common problem, and it is recommended to use a console application to call a method on the web service method before users start using it. This I have done, but when I open the web application and then call a web service method via the web application it still took 14 seconds. When I closed the browser, and did it again, the call took 5 seconds, and subsequent calls via the same browser window took a second. Why I am still getting a delay when calling the web service for the first time via the application? Is there a way to speed this up? I some more questions relating to WCF Perforamce: 1. Does disabling NetBios over TCP create any security vunerabilities? 2. Using application pool recycling on the website holding web services does this hold any old data when the process is recycled? 3. What is the correct way of setting up application pool recycling on IIS 6 on the website holding web services which used on a web farm with a load balancer? Thanks for your help in advance
Others might disagree but in my experience you are waiting because of the whole start up of .net framework/etc besides the effort of the website to get going. You'll experience it again if the application onend fires and it has to startup again. Like you said, you would need a polling app to keep the website alive so you don't incur the startup time.
'Never argue with an idiot; they'll drag you down to their level and beat you with experience.' ~ anonymous