code4romania / code4romania/rezultate-vot-api

Optimize the existing database queries

Open
#73 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.