Hi all,
Andrea Cappugi has been running some performance comparisons
between Geoserver 1.5.x and Mapserver + Apache, specifically serving
raster files.
It seems that serving files to MapBuilder there are no significant
performance differences between the two (yahoo!).
On the other side, testing OpenLayers instead shows that Geoserver
lags quite a bit behind MapServer.
The reason is not clear, there are some hints thought.
If OpenLayers asks for tiles in parallel (something we have to check)
it may be that we're suffering from excessive synchronization.
If this is the case, running Geoserver on java 6 and using jconsole
as described here:
http://java.sun.com/developer/technicalArticles/J2SE/monitoring
(see the paragraph on lock contention).
Also, Andrea tried to run mapserver cgi under tomcat, and noticed
a significant slowdown, so another hint may be a bad out of the
box Tomcat configuration. In this case, it may be worth to try out
other containers, such as Resin, JBoss, or Glassfish.
Any suggestion or test is very much appreciated, we want Geoserver 1.5.0 to scale nicely with high client load.
Cheers
Andrea