Realtime stats and leaderboard database
A statistics database that tracks stats and leaderboards in realtime, written as a C++ project. Its defining feature is returning sorted scores together with the full row of linked user data in a single step, unlike Redis which requires a ZRANGE call followed by separate GETs. Meant as a deep C++ refresher, with possible production use.
What it addresses
Redis is currently the only optimal database for leaderboards, and retrieving sorted scores plus linked user data takes two separate steps (ZRANGE + GET).
Shared over time
Each entry reflects what was shared on that date. Details may have changed since then.
Realtime stats and leaderboard database
A statistics database that tracks stats and leaderboards in realtime, written as a C++ project. Its defining feature is returning sorted scores together with the full row of linked user data in a single step, unlike Redis which requires a ZRANGE call followed by separate GETs. Meant as a deep C++ refresher, with possible production use.
Problem: Redis is currently the only optimal database for leaderboards, and retrieving sorted scores plus linked user data takes two separate steps (ZRANGE + GET).
Posted by @JoeOfTexas · Original source ↗
Source text · @JoeOfTexas · · Source ↗
So, I'm attempting a drunken version of a statistic database that tracks stats and leaderboards in realtime. I guess the only major defining quality would be that in one step I can get both the sorted scores + entire row of linked user data.