生产环境下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>

原文地址:https://www.cnblogs.com/pycsharpthon/p/10336473.html