Opened 4 years ago

Closed 4 years ago

#2300 closed enhancement (duplicate)

Petascope - too slow to open connections to SECORE for loading CRS GMLs

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone: 11.0
Component: petascope Version: 9.8
Keywords: Cc: Dimitar Misev, Vlad Merticariu, Peter Baumann
Complexity: Medium

Description

In case with many coverages in different CRSs (e.g: Sentinel 2 UTM zones), petascope starts and takes minutes or more than that to send HTTP requests to SECORE for getting the CRSs GML.

That is not good as it takes too long time for the result can be shown in WSClient. When the CRSs are cached in petascope, it returns in seconds though.

Either SECORE and Petascope should be enhanced for this case with simultaneous CRS requests.

Change History (5)

comment:1 by Dimitar Misev, 4 years ago

Cc: Peter Baumann added

comment:2 by Peter Baumann, 4 years ago

would it make sense to retrieve the root = all defs in one request?

Independently, for the case when we operate a local SECORE, could we establish a tighter coupling without http requests?

comment:3 by Dimitar Misev, 4 years ago

SECORE used to be separated into a

  1. library that handled everything, and
  2. a frontend that parsed http requests and forwarded to the library

I'm not sure if this is still the case now after the refactoring with spring and maven. But it would be great to use the library directly in petascope. In this case one could specify secore_urls=embedded in petascope.properties for example.

comment:4 by Peter Baumann, 4 years ago

yes, exactly some solution along that line I had in mind. Hope it works out.

comment:5 by Bang Pham Huu, 4 years ago

Resolution: duplicate
Status: assignedclosed

It is due to BaseX library for SECORE cannot handle requests in parallel. Duplicate with: https://rasdaman.org/ticket/2328

Note: See TracTickets for help on using tickets.