CanDIG / CanDIGv2

The CanDIG v2 platform
GNU Lesser General Public License v3.0
15 stars 8 forks source link

DIG-1778: Improve timing of Query calls #748

Closed OrdiNeu closed 1 month ago

OrdiNeu commented 1 month ago

Jira Link

DIG-1778

Description

This creates a new /v3/authorized/query/ endpoint in Katsu to drastically improve the performance of Query by combining all of its required information&filtering into one request. No changes to the output should be present, but the performance should see a ~2x speedup.

To test

There are unit tests in Katsu under lib/katsu/katsu_service/chord_metadata_service/mohpackets/tests/endpoints/test_donor.py but mostly the integration tests should catch most of this. No change to Query should be present, besides the speedup.

Other PRs

Katsu Query