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

Optimize the existing database queries #73

Open
bogdanbujdea opened this issue Oct 2, 2020 · 0 comments
Open

Optimize the existing database queries #73

bogdanbujdea opened this issue Oct 2, 2020 · 0 comments
Labels
api enhancement New feature or request help wanted Extra attention is needed

Comments

@bogdanbujdea
Copy link
Member

In certain cases, data is aggregated and this might lead to slow response times for the API. These endpoints should be identified and move the data in new tables where it can be retrieved faster.

Example: The /winners endpoints which now try to retrieve the data from the "winners" table. If the data isn't there, it will aggregate it and then put it in the table so it will be available for the next requests.

@bogdanbujdea bogdanbujdea added enhancement New feature or request help wanted Extra attention is needed labels Oct 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants