how to speed up MapServer performance?
Steve Lime
Steve.Lime at DNR.STATE.MN.US
Mon May 15 12:21:03 PDT 2006
We really need more information about the nature of the data. I mean if you've got
20 layers each with a million polygons and are trying to show all of them then 3 seconds
might be really fast! Also, the way you are symbolizing features may impact things.
In my experience neither 1 or 2 is worth considering...
Steve
Steve
>>> Zhonghai Wang <zhonghaiw at GMAIL.COM> 5/15/2006 9:15:49 AM >>>
Hi there,
for a special purpose I've developed an static version application based on
MapServer CGI, which means I just use pure HTML tages for the GUI, even
without JavaScript code snippets to validate forms.
I have about 20 map layers to display according to different map scale
(ussing the MAXSCALE, SYMBOLSCALE AND LABELMAXSCALE), there are no data
classifications within a layer object, the status of all layers are set as
default.
I've made a test on a standalone MapServer (XP system), every request takes
about 3 second. Obvioursly it's not fast enough for a web application, since
there may be many users requesting the server at the same time if the
application is published on the web.
Is MapServer really so slow? can anybody give me some ideas?should I modify
the mapfiles?
I am wondering whether the following solutions will work:
1. define every layer as a seperate mapfile, and combine them together by
request
2. turn off the non-displayed layers off on the fly
are these possible to speed up MapServer performance?
Zhonghai
--
Freiestrasse
3097 Liebefeld
More information about the MapServer-users
mailing list