[mapguide-internals] WFS performance problem

Jackie Ng jumpinjackie at gmail.com
Mon Aug 20 19:29:50 PDT 2012


There's something *really* wrong with the WFS output implementation. It's
doesn't stream out the response of MgFeatureService::GetWfsFeature, it reads
that whole stream into memory first before writing out the HTTP response. 

See:
http://trac.osgeo.org/mapguide/browser/trunk/MgDev/Web/src/HttpHandler/HttpWfsGetFeature.cpp#L279

Why it does this I do not know.

This is probably a related issue: http://trac.osgeo.org/mapguide/ticket/1070

The test case in question doesn't happen anymore, because the storage limit
of MgByte (the backing store for memory-based streams) was raised from 16MB
to 64MB, effectively sweeping this particular issue under the carpet, but
the problem still remains of huge temporary spikes in mem usage when WFS
GetFeature is invoked.

- Jackie



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/WFS-performance-problem-tp4996407p4996529.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list