Loading...

Build your own Redis

Learn about TCP servers, the Redis protocol and more

In this challenge, you'll build a toy Redis clone that's capable of handling basic commands like PING, GET and SET. Along the way, we'll learn about event loops, the Redis Protocol and more.

Stages

Bind to a port

In this stage, you'll start a TCP server on port 6379, which is the default port that Redis uses.

Very easy
We'd expect a proficient developer to take < 5 minutes to complete this stage.
Respond to PING

In this stage, you'll respond to the PING command. You'll use the Redis protocol to encode the reply.

Easy
We'd expect a proficient developer to take 5-10 minutes to complete this stage.
show all...