生产环境下GeoServer如何优化--将服务策略改为速度优先
Posted pycsharpthon
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了生产环境下GeoServer如何优化--将服务策略改为速度优先相关的知识,希望对你有一定的参考价值。
生产环境下GeoServer如何优化--将服务策略改为速度优先
在webapps--geoserver--web-inf--web.xml文件里设置
<param-name>serviceStrategy</param-name>
<!-- Meaning of the different values :
PARTIAL-BUFFER2
- Partially buffers the first xKb to disk. Once that has buffered, the the
result is streamed to the user. This will allow for most errors to be caught
early.
BUFFER
- stores the entire response in memory first, before sending it off to
the user (may run out of memory)
SPEED
- outputs directly to the response (and cannot recover in the case of an
error)
FILE
- outputs to the local filesystem first, before sending it off to the user
-->
<param-value>SPEED</param-value>
以上是关于生产环境下GeoServer如何优化--将服务策略改为速度优先的主要内容,如果未能解决你的问题,请参考以下文章