简体   繁体   English

ASP.NET-工作线程,IO线程和空闲线程

[英]ASP.NET - worker threads, IO threads, and free threads

I've read through this page on some improvements that can be made for an ASP.NET application. 我已经通过阅读页上的一些改进,可以为ASP.NET应用程序进行。 However, I'm still not sure how maxWorkerThreads, maxIoThreads, and minFreeThreads functions together. 但是,我仍然不确定maxWorkerThreads,maxIoThreads和minFreeThreads如何一起工作。

From what I understand, the minFreeThreads setting specifies the minimum number of worker threads available for callbacks, etc.... If I have a page that makes an asynchronous call to a web service, does this call use one of these free threads or does it use an IO thread? 据我了解,minFreeThreads设置指定可用于回调等的最小工作线程数。...如果我有一个页面对Web服务进行异步调用,则此调用使用这些空闲线程之一还是执行它使用IO线程吗? When does an IO thread get used and when are these free threads used? 何时使用IO线程,何时使用这些空闲线程?

I believe that I/O threads are consumed (and released) in regards to I/O operations (System.IO namespace). 我相信,有关I / O操作(System.IO名称空间)的I / O线程已消耗(并释放)。 I'm guessing that this would typically disk reads/writes. 我猜这通常将对磁盘进行读/写。 This resource is a bit old, but I think most of the concepts have remained the same. 该资源有些陈旧,但我认为大多数概念都保持不变。

http://www.guidanceshare.com/wiki/ASP.NET_2.0_Performance_Guidelines_-_Threading http://www.guidanceshare.com/wiki/ASP.NET_2.0_Performance_Guidelines_-_Threading

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM