Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TimeSeries group request slower than expected #1022

Open
MikeNeilson opened this issue Feb 6, 2025 · 2 comments
Open

TimeSeries group request slower than expected #1022

MikeNeilson opened this issue Feb 6, 2025 · 2 comments

Comments

@MikeNeilson
Copy link
Contributor

curl -X 'GET' \
  'https://<host>/cwms-data/timeseries/group?office=NWDP&include-assigned=true&timeseries-category-like=NWP_A.%2A' \
  -H 'accept: application/json'

The returned result is rather large, but should be even then should be relatively fast given what the data is.

Tested on cwbi-test and future prod, equally slow on both.

@krowvin
Copy link
Collaborator

krowvin commented Feb 6, 2025

@msweier @LaurenAllin

@rma-rripken
Copy link
Collaborator

How big is the response in terms of mb and also how many groups/how many assignments? How slow is it to return? That end-point doesn't have paging, we could add paging.

We can also grab the query jooq is generating and see if it can be optimized. I suspect the orderBy(attribute) clause is globally ordering the results and can could be moved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To triage
Development

No branches or pull requests

3 participants