Skip to main content

Redis sorted set

A Redis sorted set associates every unique member with a number and keeps members ordered by that number.

For example, a delayed-job queue can store each job with its scheduled timestamp as the score, then pop the job with the lowest score first.

Share: