码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2019-01-30 01:23:27      阅读:164      评论:0      收藏:0      [点我收藏+]

标签:errors   may   buffered   use   geo   ase   output   first   rect   

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

标签:errors   may   buffered   use   geo   ase   output   first   rect   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!