datacurve-ai / codeforces-discord-bot

A Discord bot middleman for interacting with Codeforces
0 stars 4 forks source link

Optimization: Cache API responses #1

Open lsha0730 opened 2 months ago

lsha0730 commented 2 months ago

The bot currently makes calls to the API every time a command is run, but the data rarely changes, only about once a week. Add a Redis cache layer to cache query results with reasonable expiration.

lsha0730 commented 2 months ago

Claimed by JL

Serena1223 commented 2 months ago

should we have more content in each issue

lsha0730 commented 2 months ago

Mostly completed but JL had to dip; re-claimable for split compensation