Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 528 Bytes

redis.md

File metadata and controls

11 lines (6 loc) · 528 Bytes

In Redis

esrank uses stored sets of redis. In member key, high-order 32-bit data is timestamp and low-order 32-bit data is uid(userID).

MemberKey

So using ZREVRANGE, you can get correct ranking data, that is earlier scorer gets higher rank in same score.

InRedis