首页 > 其他 > 详细

生产环境下GeoServer如何优化--将服务策略改为速度优先

时间:2019-01-30 00:54:57      阅读:631      评论:0      收藏:0      [点我收藏+]

生产环境下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如何优化--将服务策略改为速度优先

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!