←back to thread

634 points david927 | 1 comments | | HN request time: 0.276s | source

What are you working on? Any new ideas that you're thinking about?
1. JoeOfTexas ◴[] No.41344233[source]
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.