Hello, I came upon this just by accident but it seems that GeoServer WMS GetMap response times for WMS 1.3.0 are longer than those of WMS 1.x. If the number of features to be rendered in the response is small then the difference is not that noticable. But if for example with 20K+ point features the difference becomes noticable, e.g.
WMS 1.1.1 https://gsavalik.envir.ee/geoserver/eelis/ows?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=eelis%3Akr_puurkaev&STYLES=point&SRS=EPSG%3A3301&WIDTH=1432&HEIGHT=906&BBOX=372111.0,6382027.0,738667.0,6614170.0 takes around 3 seconds to return WMS 1.3.0 https://gsavalik.envir.ee/geoserver/eelis/ows?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=eelis%3Akr_puurkaev&STYLES=point&CRS=EPSG%3A3301&WIDTH=1432&HEIGHT=906&BBOX=6382027.0,372111.0,6614170.0,738667.0 gets a timeout, but I've checked it with a longer timeout setting and it returns in 30+ seconds Catching the executed SQL from geoserver.log for either request and executing it in the database yields no significant time difference (< 50 ms) switching image/png with image/jpeg makes no difference. Also requesting for FORMAT=application/json;type=geojson (using the vector tiles plugin) results in ~ 4x response time diff for WMS 1.3.0 and 1.x. I've checked with different configurations but the issue remains the same: Geoserver 2.8.1 (war deploy), data in a PostgreSQL/PostGIS database GeoServer 2.9.1 (bin deploy), data in a SpatiaLite database GeoServer 2.11.2 (bin deploy), data in a PostgreSQL/PostGIS database Just for checking that I'm not raving mad, here's sample queries for another public gs instance (I'm not affiliated with this one so I don't know about the setup :)): https://kls.pria.ee/geoserver/avk/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=avk:mesilased&STYLES=avk:mesilased&SRS=EPSG%3A3301&WIDTH=1432&HEIGHT=906&BBOX=372111.0,6382027.0,738667.0,6614170.0 takes around 0.2+ seconds to return vs https://kls.pria.ee/geoserver/avk/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&LAYERS=avk:mesilased&STYLES=avk:mesilased&CRS=EPSG%3A3301&WIDTH=1432&HEIGHT=906&BBOX=6382027.0,372111.0,6614170.0,738667.0 takes around 1.5+ seconds to return Is there any known issue with this that I've totally missed or have I messed something up in the configuration? All the best, Tõnis -- @tkardi skype: tonis.kardi ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
