I read somewhere that recycle of the application pool should not be very noticeable to the end user when the overlap is on, but in my case it leads to at least 10 times longer responses than usual (depending on the load, the response time from the usual 100 ms to 5000 ms). In addition, this is not for a single request, but several of them immediately after the recycling of the pool (during testing, I used ~ 10 parallel connections).
So the questions are:
- In my opinion, I am not doing anything, it will take a lot of time when starting the application - in general, it is only an IoC container and routing initialization, even I would do something - is that what overlap should overlap, or not?
- Is the sql connection pool removed during pool reuse and can this be the cause of a long response time?
- What would be the best way to profile what took so long? There may also be ideas that it may take so much time on the part of IIS / .NET and how to avoid it.
source share