IIS線程池與ASP.NET線程池

來源:互聯網
上載者:User

標籤:如何   blank   arc   blog   iocp   ref   port   archive   工作   

 

 

 

 

 

 

原文地址:http://www.cnblogs.com/dudu/p/3762672.html

1. IIS線程池 W3 Thread Pool(W3TP)

當處於核心模式的http.sys接收到來自使用者的請求之後,會將請求放入隊列中。那處於使用者模式的w3wp進程如何從核心模式的隊列中取出請求呢?I/O完成連接埠(IOCP,I/O Completion Port)閃亮登場。w3wp中有專門幹這個的程式w3tp+w3dt(dt可能指資料傳送data transfer),可以通過process explorer捕捉到它的身影。

2. .NET線程池

當請求被w3tp通過w3dt從http.sys的隊列中取出來後,接下來的工作就會轉交給ASP.NET,這時另一個線程池粉墨登場——.NET Thread Pool。

【參考資料】

Dissection of an ASP.NET 2.0 request processing flow

IIS線程池與ASP.NET線程池

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.