
# Redis leaderboard

Build ranked leaderboards with Redis sorted sets and user metadata

This guide family shows how to build a leaderboard with Redis sorted sets and per-user metadata.

## Overview

Leaderboards are a natural fit for Redis because sorted sets keep members ordered by score while still allowing fast updates and range queries.

This pattern works well when you need to:

*   Track scores for players, users, teams, or other ranked entities
*   Fetch the top `n` entries quickly
*   Show entries around a specific rank position
*   Keep only the highest-ranked entries, such as the top 100
*   Store richer user details separately from the ranking score

## Available implementations

*   [redis-py](redis-py/index.md) - Build a Python leaderboard with sorted sets, user metadata hashes, and a local interactive demo
*   [node-redis](nodejs/index.md) - Build a JavaScript leaderboard with sorted sets, user metadata hashes, and a local interactive demo
*   [go-redis](go/index.md) - Build a Go leaderboard with sorted sets, user metadata hashes, and a local interactive demo
*   [Jedis](java-jedis/index.md) - Build a Java leaderboard with sorted sets, user metadata hashes, and a local interactive demo
*   [Lettuce](java-lettuce/index.md) - Build async and reactive Java leaderboards with sorted sets, user metadata hashes, and a local interactive demo
*   [.NET](dotnet/index.md) - Build a C# leaderboard with sorted sets, user metadata hashes, and a local interactive demo
*   [Rust](rust/index.md) - Build sync and async Rust leaderboards with sorted sets, user metadata hashes, and a local interactive demo
*   [PHP](php/index.md) - Build a PHP leaderboard with sorted sets, user metadata hashes, and a local interactive demo
*   [Ruby](ruby/index.md) - Build a Ruby leaderboard with sorted sets, user metadata hashes, and a local interactive demo

## On this page
