Gabriel Roldan ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiOTYxYzgzNDBkNDFiNGQ0YmJlN2QwYzgwNGRiODQwMzQiLCJwIjoiaiJ9 ) / Improvement ( https://osgeo-org.atlassian.net/browse/GEOS-11089?atlOrigin=eyJpIjoiOTYxYzgzNDBkNDFiNGQ0YmJlN2QwYzgwNGRiODQwMzQiLCJwIjoiaiJ9 ) GEOS-11089 ( https://osgeo-org.atlassian.net/browse/GEOS-11089?atlOrigin=eyJpIjoiOTYxYzgzNDBkNDFiNGQ0YmJlN2QwYzgwNGRiODQwMzQiLCJwIjoiaiJ9 ) Performance penalty adding namespaces while loading catalog ( https://osgeo-org.atlassian.net/browse/GEOS-11089?atlOrigin=eyJpIjoiOTYxYzgzNDBkNDFiNGQ0YmJlN2QwYzgwNGRiODQwMzQiLCJwIjoiaiJ9 ) Issue Type: Improvement Assignee: Unassigned Created: 31/Jul/23 7:04 PM Priority: Medium Reporter: Gabriel Roldan ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A54db8b09-1e64-436a-adac-248049585cee ) DefaultCatalogFacade.add(Namespace Info) hinders performance, especially during startup with many workspaces/namespaces. The reason is CatalogImpl.add(NamespaceInfo) will validate there's no other namespace with the same URI, for which IsolatedCatalogFacade will call getNamespacesByURI(String):List , which calls CatalogInfoLookup.list(...) with a predicate to filter out the namespaces by uri. This on itself ends up being heavier and heavier as the number of namespaces increase. The proposed solution is to for the namespaces CatalogInfoLookup to maintain an index of NamespaceInfo by URI. ( https://osgeo-org.atlassian.net/browse/GEOS-11089#add-comment?atlOrigin=eyJpIjoiOTYxYzgzNDBkNDFiNGQ0YmJlN2QwYzgwNGRiODQwMzQiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-11089#add-comment?atlOrigin=eyJpIjoiOTYxYzgzNDBkNDFiNGQ0YmJlN2QwYzgwNGRiODQwMzQiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100233- sha1:da16c62 )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel