Need Assistance?

support@tutorialshub.in

Sorted Sets (ZSETs) & Leaderboards

Real-Time Leaderboards (ZINCRBY & ZREVRANK)

ADVERTISEMENT
Redis Free Lesson
5 min read
ADVERTISEMENT

Update a player's score atomically with ZINCRBY and fetch their 0-based rank from the top with ZREVRANK.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you