Redis Sorted Sets and Ranked Data

If you learn one Redis structure deeply, make it the sorted set. It's a set where every member carries a numeric score, and members stay ordered by that score.