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

Profile and optimize OpenPedCan-api API server performance #55

Open
logstar opened this issue Nov 17, 2021 · 0 comments
Open

Profile and optimize OpenPedCan-api API server performance #55

logstar opened this issue Nov 17, 2021 · 0 comments
Assignees

Comments

@logstar
Copy link
Contributor

logstar commented Nov 17, 2021

OpenPedCan-api API is expected to respond 5 concurrent requests within 10 seconds, as suggested by @taylordm .

OpenPedCan-api API DEV site response times are summarized in the following boxplot. The median response time of /tpm/gene-all-cancer-gtex/plot endpoint is about 5 seconds per request, which will be longer after including more samples.

endpoint_response_time_boxplot

OpenPedCan-api API DEV/QA/PRD sites have multiple OpenPedCan-api API HTTP servers running on the backend, so multiple HTTP API requests can be handled concurrently.

OpenPedCan-api API DEV/QA/PRD sites need to be profiled with the following steps:

Based on the profiling results, investigate and discuss:

  • Does the API need to be optimized?
  • Can the API be optimized to reach performance goals?
  • How to optimize the API?

Test and implement promising optimization approaches.

cc @taylordm @chinwallaa @blackdenc

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

No branches or pull requests

1 participant