Here's a tutorial on performance considerations in OpenLayers/GeoServer
applications, you might find it interesting. It was given as a presentation
at last year's FOSS4G conference and the speaking notes are not posted, but
I think the descriptions and source code for each sample map should be
reasonably easy to understand.
http://ol-performance.appspot.com/
Hope it helps.
--
David Winslow
OpenGeo - http://opengeo.org/
On Tue, Jun 28, 2011 at 6:54 AM, Ivan Grcic <ivan.gr...@geo-solutions.it>wrote:
> On Tue, Jun 28, 2011 at 12:45 PM, Ivan Grcic
> <ivan.gr...@geo-solutions.it> wrote:
> > Hi Robert,
> >
> > i took a quick look at your app. Just a few hints from my side (mostly
> > client side things)
> >
> > As i can see you are loading 3 wms layers + 1 wfs layer.
> >
> > For wms layers, there isnt too much you can do, except to try too keep
> > the number of layers as low as you can (2-3 should be max for good
> > client experience).
> >
> > Also, setting buffer:0 for WMS layers should minimize number of image
> > request client does for map move/zoom actions. Currently for your app
> > client has to fetch 190 images for 3 wms layers for map zoom action,
> > which is quite a lot (on 1440x900 screen resolution)
>
> Oh yes, dont forget to use cached layers where ever you can, as it
> tends to speed up things quite a lot ;)
>
> >
> > About wfs laye, you are currently loading few hundreds of features in
> > the map without any strategy. Try yo look at bbox and cluster
> > strategies, or using wms layer+GetFeatureInfo instead of vector layer
> > (at least for first few zoom levels)
> > I would say this layer is the reason that slows down your application
> > the most ( in IE it takes ages for application to start, and map
> > move/zoom actions are quite slow. Turning off this layer makes
> > application quite more responsive)
> >
> > I guess you can find more help about this on OL mailing list.
> >
> > Cheers,
> > Ivan
> >
> >
> > On Tue, Jun 28, 2011 at 11:05 AM, Robert Buckley
> > <robertdbuck...@yahoo.com> wrote:
> >> Hi,
> >> after a long summer break of 8 weeks I am now back into things. At the
> top
> >> of my list is the further development of a wms/wfs service for my local
> >> authority.
> >> I have been "practising" with a Linux
> >> Ubuntu/Tomcat6/Geoserver/PostgresSQL/Postgis/geoExt setup for a while
> now (1
> >> year) and have a few app up and running. I am now in a position to start
> >> thinking about releasing the application in the public, but am unsure
> about
> >> the performance of my setup.
> >> My hosted 32bit server has 2gb Ram and 25gb storage space. The
> application
> >> which I have developed do not serve data very fast. What I am trying to
> find
> >> out is whether this is due to my javascript coding methods, the
> Geoserver
> >> setup, Tomcat6 configuration, Postgis responsiveness or server
> performace
> >> limitations.
> >> One app can be tested here.
> >> http://maps.zgb.de:8080/geoserver/www/testing/wea.html
> >> I find that the loading time varies considerably on different PCs. I
> have a
> >> WinXP Desktop with 3gb ram, and the loading time is acceptable. My my
> >> colleague who is also using XP but with only 1gb the loading time can be
> up
> >> to 30sec- min. Firebug shows that the ows/geoserver takes the longest
> time
> >> to serve.
> >> I thought the local pc performance should have little affect upon server
> >> based apps, but obviously this is not the case. Even the browsers can
> make a
> >> huge difference as far as I can tell or even browser add-ons which have
> been
> >> installed.
> >> Can anyone give me any tips on how to weed out the typical problems when
> >> building a geoserver based app?
> >>
> >> Thanks for any tips,
> >> Robert Buckley
> >>
> >>
> ------------------------------------------------------------------------------
> >> All of the data generated in your IT infrastructure is seriously
> valuable.
> >> Why? It contains a definitive record of application performance,
> security
> >> threats, fraudulent activity, and more. Splunk takes this data and makes
> >> sense of it. IT sense. And common sense.
> >> http://p.sf.net/sfu/splunk-d2d-c2
> >> _______________________________________________
> >> Geoserver-users mailing list
> >> Geoserver-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >>
> >>
> >
> >
> >
> > --
> > -------------------------------------------------------
> > Ivan Grcic
> > GeoSolutions S.A.S.
> > Software Engineer
> >
> >
> > Via Poggio alle Viti 1187
> > 55054 Massarosa (LU)
> > Italy
> >
> > phone: +39 0584 962313
> > fax: +39 0584 962313
> >
> > http://www.geo-solutions.it
> > http://geo-solutions.blogspot.com/
> > http://twitter.com/geosolutions_it
> > http://www.youtube.com/user/GeoSolutionsIT
> >
> > -------------------------------------------------------
> >
>
>
>
> --
> -------------------------------------------------------
> Ivan Grcic
> GeoSolutions S.A.S.
> Software Engineer
>
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://twitter.com/geosolutions_it
> http://www.youtube.com/user/GeoSolutionsIT
>
> -------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users