[Geoserver-devel] Has the gt-xsd encoder become significantly slower lately?

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


On Sun, Feb 17, 2013 at 5:15 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Any clue about what might have happened in the meantime?

Btw, I’ve quickly attached VisualVM and run the sampling profiler during a WFS 1.1
request, the result is… uh… look for yourself:

Inline image 1

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


Hmmm… what branch are you running this on? If on master it might be related to the xerces removal… perhaps not. I will see what I can find.

(attachments)

sampler-nq8.png

···

On Sun, Feb 17, 2013 at 10:14 AM, Andrea Aime <andrea.aime@anonymised.com> wrote:

On Sun, Feb 17, 2013 at 5:15 PM, Andrea Aime <andrea.aime@anonymised.com> wrote:

Any clue about what might have happened in the meantime?

Btw, I’ve quickly attached VisualVM and run the sampling profiler during a WFS 1.1
request, the result is… uh… look for yourself:

Inline image 1

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



The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel


Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

Yes, I was running the tests on master. I cannot do further tests right now on 2.3.x and 2.2.x, but I should be able
to later during the week.

Cheers
Andrea