[Geoserver-devel] [JIRA] (GEOS-10950) Performance regression in DescribeFeatureType across all feature types

Andrea Aime created an issue

GeoServer / BugGEOS-10950

Performance regression in DescribeFeatureType across all feature types

Issue Type:

BugBug

Assignee:

Andrea Aime

Created:

21/Apr/23 7:40 PM

Priority:

MediumMedium

Reporter:

Andrea Aime

Performance of DescribeFeatureType returning the schema of all feature types dropped significantly when working against installations with many layers, as result of changes in https://osgeo-org.atlassian.net/browse/GEOS-10716 .

The issue is not evident, but adding the new elements early to the containing schema, while still changing their contents, causes a large number of “patch” operations against the schema which in turn seem to be rebuilding entire sub-trees of the schema description. When many layers are processed, the performances drop significantly (20x times slowdown).

We are going to address this by avoiding the early add, and rather post-process the attribute definition to add annotations, instead.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100223-sha1:bddbaa2)

Atlassian logo