jetty.xml中的jetty.httpConfig.headerCacheSize有什么意义
What is the significance of jetty.httpConfig.headerCacheSize in jetty.xml
我正在将 jetty 版本从 jetty-9.4.14.v20181114 升级到 jetty-9.4.24.v20191120。
和属性(jetty.httpConfig.headerCacheSize in jetty.xml)值减少(4096 到 1024)。
是否有任何性能原因或其他一些减少它的原因。
Jetty 是开源的。所以这个问题可以通过以下步骤轻松回答:
- 找到 source code
- 找到 location of the change in the source code
- 见commit message with hopefully linked issue/bug report
这导致 Jetty issue #2709, comment by Greg Wilkins:
We have some feedback that 4kb is frequently wasting memory. Trading
the PR, it seams that 1k would have been sufficient, so we should
probably dial back to that.
我正在将 jetty 版本从 jetty-9.4.14.v20181114 升级到 jetty-9.4.24.v20191120。 和属性(jetty.httpConfig.headerCacheSize in jetty.xml)值减少(4096 到 1024)。
是否有任何性能原因或其他一些减少它的原因。
Jetty 是开源的。所以这个问题可以通过以下步骤轻松回答:
- 找到 source code
- 找到 location of the change in the source code
- 见commit message with hopefully linked issue/bug report
这导致 Jetty issue #2709, comment by Greg Wilkins:
We have some feedback that 4kb is frequently wasting memory. Trading the PR, it seams that 1k would have been sufficient, so we should probably dial back to that.