2

Initial requests are taking 3-5 seconds, subsequent calls takes < 500 milliseconds. Service makes a light weight stored proc call and there is no latency found when we profile it.
This service does not hit very frequently and Idle Time-out of the Process model is 20 minutes (default). We tried to hit it every 19 minutes but no change.

Service running under IIS 7.5 with .Net framework 4.5

4
  • Is there anything else running on the server? Commented Jun 4, 2013 at 17:45
  • No. Just this service. Commented Jun 4, 2013 at 17:48
  • Did you try something like Glimpse to profile the service? Commented Jun 4, 2013 at 17:54
  • Glimpse is like ELMAH ? Commented Jun 4, 2013 at 18:18

1 Answer 1

2

The first request for an ASP.NET website always takes some time because the code needs to be compiled. You can install a module for IIS that automatically makes that initial request so you don't get that slowdown yourself.

http://www.iis.net/downloads/microsoft/application-initialization

Sign up to request clarification or add additional context in comments.

1 Comment

How could a request before the time out expires be considered a "first request"? :)

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.