A set with an ordering score that stays sorted at all times.

A sorted set keeps members ordered by score

A Redis sorted set stores unique byte-string members, each associated with a numeric score. Scores determine order; they need not be unique. This supports leaderboards and time-based indexes, but it does not make score values into automatic expiration deadlines. Model membership, ranking, and cleanup as distinct operations with explicit boundaries. ...

March 21, 2027 · 6 min · XB Field Notes