DevForge
ChallengesBuild Redis from scratch
🔴

Build Redis from scratch

Database

Rust: Expert
40 hours
1,250 completed

Implement a Redis server with support for basic commands, persistence, and replication

Start Challenge
Your Progress
Track your completion through this challenge
0 of 4 levels completed0%
Challenge Levels
Complete each level to master this challenge step by step
1

Set up basic TCP server

Create a TCP server that accepts connections and responds to PING commands

2 hours•3 objectives
2

Implement ECHO command

Add support for the ECHO command that returns the provided message

1 hour•3 objectives
3

Implement SET and GET commands

Add basic key-value storage with SET and GET operations

3 hours•3 objectives
4

Add expiry support

Implement TTL functionality with SET EX and EXPIRE commands

4 hours•4 objectives