As the name suggests, these are services that are utilized on the Windows system to connect your web applications from other systems via the internet over a set of protocols such as HTTP, TCP, web sockets, and more.
In this section, we will discuss how the IIS threading model works. At the core of IIS lies the CLR thread pool. It's very important to understand how the CLR thread pool adds and removes threads in order to understand how IIS works to serve user requests.
Every application that gets deployed to IIS is assigned a unique worker process. Each worker process has two thread pools: the worker thread pool and the IOCP (short for I/O completion port) thread pool:
- Whenever we create a new thread pool thread using either legacy ThreadPool.QueueUserWorkItem or TPL, the ASP.NET runtime makes use of worker threads for processing.
- Whenever...