I am still fairly new to openlayers and the framework. Right now I have built
a map using approximately 70 WMS Layers and about 30 of them are set to
visible on the initial load of my map. I am having major performance issues
related to panning and zooming in. When I am directly on the test machine
itself (a workstation with quad core processor and 4 gigs of ram with a fast
hard drive) it goes reasonably fast.. actually very fast. However when I
navigate to the website through IIS 6.1 on a different machine it is going
extremely slow and the panning is almost unbearable. I realize this may be
due to my inexperience and declaring my WMS wrong and perhaps there is some
optimization I can do reguarding declaring/adding my layers to the map. I am
pretty much getting the same performance with any browser also (internet
explorer, firefox, google chrome etc). This is how I declare my WMS layers - 

var layer_Major_Parks = new OpenLayers.Layer.WMS("Major Parks",
"http://localhost/WMS/Request.aspx";,
                    {
                        layers: ['Major_Parks'],
                        VERSION: "1.1.1",
                        transparent: true
                    },
                    { isBaseLayer: false,
                      singleTile: true,
                      buffer: 4
                    }
                );

Each layer is declared exactly like the above. Now my entire map page is on
one giant page with an EXT layerlist menu and other toolbar controls on the
top. Should I change this around, will I get a performance increase if say I
were to put my entire map into a seperate frame or something? Is there
anything else I can do with the declaration of the layers themselves to
improve speed as I am unfamiliar with this.. I have tried changing several
options myself like buffer, singleTile etc but all of the things I've tried
actually make it go slower than faster. I know tilecaching would improve
speed but what if I am serving up many layers to approximately 20+ users at
a time.. won't this fill up my hard drive very fast with caching tiles? I
appreciate any assistance on anything I can do to speed this up, thanks!
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Improve-performance-with-WMS-layers-am-I-doing-something-wrong-tp5753078p5753078.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to