code4romania / code4romania/rezultate-vot-api
Optimize the existing database queries
Open
api
enhancement
help wanted
- Dominant language
- C#
- Stars
- 6
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
Assessment
This issue has not been assessed yet.