Hi,
I was doing some tests regarding the performance issues reported by a user
in WFS 1. and WFS 2.0 and while at the moment I could not replicate those
results (which related to the time it takes before the first result comes out of
the WFS), I’ve found some worrysome performance results nevertheless.
Look here, same request, different protocol (even forced the output SRS to make
sure WFS > 1.0 is not reprojecting the data):
curl “http://localhost:8080/geoserver/nurc/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=nurc:buildings&BBOX=11.386153034926789,47.913610526723836,11.852600617836472,48.30077117627526,EPSG:4326&srsName=EPSG:4326” > /tmp/gml20.xml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 131M 0 131M 0 0 2740k 0 --:–:-- 0:00:49 --:–:-- 2637k
curl “http://localhost:8080/geoserver/nurc/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=nurc:buildings&BBOX=11.386153034926789,47.913610526723836,11.852600617836472,48.30077117627526,EPSG:4326&srsName=EPSG:4326” > /tmp/gml11.xml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 91.1M 0 91.1M 0 0 2116k 0 --:–:-- 0:00:44 --:–:-- 2116ki
curl “http://localhost:8080/geoserver/nurc/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=nurc:buildings&BBOX=11.386153034926789,47.913610526723836,11.852600617836472,48.30077117627526,EPSG:4326&srsName=EPSG:4326” > /tmp/gml10.xml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 102M 0 102M 0 0 22.9M 0 --:–:-- 0:00:04 --:–:-- 22.9M
Ah hem… the WFS 1.0 output is over 10 times faster than the WFS 1.1 and WFS 2.0
ones?
When five years ago I’ve reported the WFS 1.1 slowness issue the difference
was “just” 5 times:
http://jira.codehaus.org/browse/GEOS-1327
Any clue about what might have happened in the meantime?
Cheers
Andrea
–
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it