开发者

jetty configuration: what is "lowThreads"?

开发者 https://www.devze.com 2022-12-18 18:53 出处:网络
I\'m writing a jetty configuration file, and I haven\'t been able to find information about a thread pooling parameter.

I'm writing a jetty configuration file, and I haven't been able to find information about a thread pooling parameter.

My aim is to tune jetty for performance, and I would like to understand what the "lowThreads" item开发者_Go百科 means for a ThreadPool object.

Up to now, I've found that it's used to "set the low resource threads threshold", and that it tells the server that "under that threshold the pool will be considered low on threads".

But it's not straightforward. What being considered "low on thread" means and what are the consequences on the behaviour of jetty?

(I'm using jetty 6.1.2)


It's a threshold to determine whether the thread pool is low on resources (if queued connections > lowThreads) which will cause Jetty to apply lowResourceMaxIdleTime as socket SO timeout

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号