On Tue, Apr 19, 2011 at 10:07 AM, Devrim Baris Acar
<[email protected]> wrote:
> Is is over local network (100Mbits) which I can copy the file in under a
> second, when I transfer it over geoserver it takes > 10 seconds :(.
>
> I wonder if I should look at the wms handling io streams for some buffer
> optimizations???, I have experienced  larger stream buffers could be of some
> use in the past.

There is a simple way to test that, GeoServer has service handling policies.
You can use a different strategy in the web.xml, rigth at the top you
should have something like:

 <context-param>
   <param-name>serviceStrategy</param-name>
    ...
    <param-value>PARTIAL-BUFFER2</param-value>
  </context-param>

Try out the BUFFER or SPEED values instead.
BUFFER will cache the entire response in memory and then
write it out in one shot at the end, SPEED won't do any
buffering and just write out the bytes.

Cheers
Andrea

-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to