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

[Optimization] Profile and optimize https://api.outbreak.info/genomics/prevalence-by-location #61

Open
flaneuse opened this issue Dec 2, 2022 · 2 comments
Labels

Comments

@flaneuse
Copy link
Contributor

flaneuse commented Dec 2, 2022

  1. Develop a test based on the test API index (https://test.outbreak.info/) to ensure any changes to the handler does not change the output of the data, either in structure or content.
  2. Create baseline statistics for the performance of the API based on a set of parameters (testing different pangolin_lineages and other parameters).
  3. Profile the handler to determine the rate-limiting steps
  4. Develop approaches to optimize the query time.
  5. Quantify the improvement in performance.

Current documentation on the endpoints is available at https://github.com/outbreak-info/outbreak.api/blob/master/web/handlers/genomics/docs.md

See also #62, #63, #65, #66

@flaneuse flaneuse added the guru label Dec 2, 2022
@flaneuse flaneuse changed the title [Optimization] Profile and optimize https://api.outbreak.info/genomics/lineage-mutations [Optimization] Profile and optimize https://api.outbreak.info/genomics/prevalence-by-location Dec 2, 2022
@flaneuse
Copy link
Contributor Author

flaneuse commented Dec 6, 2022

Related endpoint: https://api.outbreak.info/genomics/global-prevalence -- should be the same code, just without location filtering.

@flaneuse
Copy link
Contributor Author

flaneuse commented Dec 7, 2022

Related to Al's PR: #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant