Does ASP.NET Make Request Scheduling Decisions Based Upon SessionID?
Posted
by Mike Murphy
on Stack Overflow
See other posts from Stack Overflow
or by Mike Murphy
Published on 2010-04-28T03:43:11Z
Indexed on
2010/04/28
3:53 UTC
Read the original article
Hit count: 221
I know that a properly implemented SessionStateStoreProvider maintains an exclusive lock on session data for the duration of a request. However, considering that multiple requests could arrive simultaneously (e.g. via IFRAMEs) all but one would be able to make forward progress. All the other requests would block for a bit and reduce the number of worker threads available during that time.
It seems if ASP.NET "peeked" at the session IDs on the requests early on, it could avoid running requests simultaneously that were on the same session. This would improve throughput under load for pages that didn't want to give up using IFRAMEs.
This seems plausible enough that it might be true.
© Stack Overflow or respective owner