我正在编写一个jetty配置文件,但我无法找到有关线程池参数的信息。
我的目标是调整jetty的性能,我想了解“lowThreads”项目对于ThreadPool对象意味着什么。
到现在为止,我发现已经习惯了"set the low resource threads threshold" , 并且它告诉服务器 "under that threshold the pool will be considered low on threads" .
但这并不简单。被认为是“线程不足”意味着什么以及对 jetty 行为的影响是什么?
(我使用的是jetty 6.1.2)
最佳答案
这是确定线程池资源是否不足的阈值(如果排队连接数 > lowThreads),这将导致 Jetty 将 lowResourceMaxIdleTime 应用为 socket SO timeout
关于java - jetty 配置: what is "lowThreads"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2191474/