icssc / peterportal-api-next

API that provides easy access to public data from UC Irvine. Developed for Anteaters, by Anteaters.
https://docs.icssc.club/anteaterapi
MIT License
6 stars 0 forks source link

Add DynamoDB-backed cache for select endpoints #98

Closed ecxyzzy closed 9 months ago

ecxyzzy commented 1 year ago

@libs/ddb be like: image


Biggest offenders right now are probably grades and WebSoc, and those will definitely be cached. Feel free to suggest any other endpoints that might need caching below.

Blocked by #96.

ecxyzzy commented 9 months ago

After further testing it appears that adding the cache generates a negligible performance boost. Maybe we just got good in five months, so going to put this in the icebox for now.