With this property, we can set the maximum and minimum number of threads used by the message listener service to run the listener ports.
通过此属性,我们可以设置消息侦听器服务用于运行侦听器端口的最大和最小线程数。
This enables you to guarantee a minimum of threads for each input node.
这使您能够保证每个输入节点需要最少的线程。
Therefore, you should only define the minimum number of HTTP threads necessary for your server's load.
因此,您应该只定义服务器负载所需的最少HTTP线程数量。
Normally.net allocates up to the minimum thread count in threads as soon as needed. From them on, no more than 2 threads per second are created until you reach the maximum thread count.
一般来说。NET会尽快在线程池中分配最少数量的线程,接着每秒钟创建最多2个线程,直到达到最大线程数量。
If you know your application is going to need a lot of thread-pool threads right away, you can increase the minimum thread count.
如果您知道您的应用程序会立即使用大量线程池的线程,您必须提高最小线程数量。
But switching between threads - there might be many of them, 5 is just a theoretical minimum.
但是,线程间的切换,可能会有很多人,5只是一个理论上的最小。
Sets the minimum number of idle threads that the host must maintain in anticipation of requests.
设定主应用程式在执行绪集区中可维护的执行绪最大数目。
Sets the minimum number of idle threads that the host must maintain in anticipation of requests.
设定主应用程式在执行绪集区中可维护的执行绪最大数目。
应用推荐