jetty.xml中jetty.httpConfig.headerCacheSize的意义是什么

问题描述 投票:1回答:1

我正在将码头版本从jetty-9.4.14.v20181114升级到jetty-9.4.24.v20191120。并且属性(jetty.xml中的jetty.httpConfig.headerCacheSize)值减小(4096到1024)。

是否有任何性能原因或其他原因需要降低它。

java eclipse webserver jetty application-server
1个回答
2
投票

Jetty是开源的。因此,可以按照以下步骤轻松地回答问题:

  1. 查找source code
  2. 查找location of the change in the source code
  3. 请参阅commit message和希望链接的issue/bug report

这导致Jetty issue #2709comment by Greg Wilkins

我们有反馈说4kb经常浪费内存。贸易PR,它接缝说1k就足够了,所以我们应该可能回拨到那。

© www.soinside.com 2019 - 2024. All rights reserved.