Favoring SQL over Redis for an evergreen leaderboard

from blog nickb.dev, | ↗ original
At PDX Tools, one has the option to upload an EU4 save file and the app will deduce what achievements were earned and how many ingame days have elapsed in the save. With this information we can create a leaderboard for individual achievements. Here’s the Postgres database schema to start us off, where we store the save id, the time it was...