|
|
|
|
|
by JoeOfTexas
656 days ago
|
|
I like leaderboards, and its a bit sad that Redis is the only optimal database for leaderboards. 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. For redis this is two steps: `ZRANGE leaderb 1 100` + `GET x1 x2 x3 x4 ... x100`. It's mostly a refresher for deep C++ doodling, but maybe I'll use it in production for kicks. |
|