Skip to content

Design Leaderboard using Redis #14

@jain-yakshit-1

Description

@jain-yakshit-1

MicroByte Title: Build a Leaderboard using Redis

Domain: Database

Scope of learning for learners: Redis is mainly used for caching purpose but one of the datatype "sorted sets" goes unnoticed. This byte will discuss a usecase for the sorted sets in the form of design of leaderboard.

Activities:

  1. Why redis is suitable for leaderboard?
  2. Create simple schema of leaderboard.
  3. Define various operations like
    a) Find top 10 users
    b) Update score of the user in efficient way
    C) Get whole record of the user.
    More activities to be added soon. The basic ones are mentioned here.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions