In case of concurrent requests, does IIS 10 spawn new thread(s) for each or some of those requests? I created a simple .NET Web API thread number logger application that logged the 'Thread.CurrentThread.ManagedThreadId' and simulated near-concurrent requests using Postman and observed that each subsequent request ran on a different thread and same threads are re-used occasionally. Hence trying to understand the relation between IIS concurrency and thread spawning.
Asked
Active
Viewed 277 times
0
-
There's a discussion here, though I'm not sure it totally answers your question. https://stackoverflow.com/questions/12304691/why-are-iis-threads-so-precious-as-compared-to-regular-clr-threads – Nikki9696 Aug 01 '19 at 14:48
-
Based on your description, you already observed the typical thread pool usage, which is the core of IIS concurrency. I wonder what else you would like to learn. – Lex Li Aug 01 '19 at 19:09