|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
IIS 6.0 PerformanceSorry for cross posting the message. I'm having a problem with IIS 6.0 on performance. I'm having few web services on the same server with different URIs. When I send a message from one Web Service to another it takes ~40 secs to reach the next service. The delay occures only for the first few executions after resetting IIS or rebooting the server. After two or three runs, it requires just 2/3 secs to process every messages. I use WSE 3.0 with ASP .NET 2005. Could any one help to improve it's performanace at the first instance? I need to test the first message to measure its performace and reliability. Thanks, Whenever you redeploy the service, precompile the service (hitting directly
if you have not other means). The first hit in .NET will always require a compilation step. It may take a couple of hits if you are varying the input to hit other features that were not compiled on the first hit. Other options: * Move more of the code to libraries and ngen the libraries and stick them in the GAC. This will reduce the compilation step as the libraries will be in native computer language. This is a bit of less "maintainable" as you have to GAC each version as you release, so it is wiser when you are fairly stable. -- Show quoteGregory A. Beamer MVP; MCP: +I, SE, SD, DBA ************************************************* Think outside of the box! ************************************************* "Anbu" <Anbu.Thangarathi***@gmail.com> wrote in message news:1158317807.348853.73280@i3g2000cwc.googlegroups.com... > Hi All, > > Sorry for cross posting the message. > > I'm having a problem with IIS 6.0 on performance. > > I'm having few web services on the same server with different URIs. > When I send a message from one Web Service to another it takes ~40 secs > to reach the next service. The delay occures only for the first few > executions after resetting IIS or rebooting the server. After two or > three runs, it requires just 2/3 secs to process every messages. > > I use WSE 3.0 with ASP .NET 2005. > > Could any one help to improve it's performanace at the first instance? > I need to test the first message to measure its performace and > reliability. > > Thanks, > Gregory,
Thanks for your reply. I'm working on the server where the web services are installed. The web services are created based on the Windows Libray concept with HttpHandler. So I have dlls along with web.config files and no .cs or aspx pages to compile. Could you also clarify, if this has to be done on all the servers wherever, i install the web services? Thanks, |
|||||||||||||||||||||||