Skip to content

utkarshuday/mini-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Building My Own Redis

What will I be building currently?

  • Binding to a TCP port and listening for connections
  • Responding to basic commands like PING and ECHO
  • Parsing the Redis Protocol (RESP) from client requests
  • Handling multiple clients concurrently
  • Implementing the SET and GET commands to store and retrieve data.

Note: This is a challenge from codecrafters.io

Things to be done

  • Allow handling concurrent clients
  • Implement a codec for framing
  • Implement the data flow:
    read bytes -> parse frames -> map to commands -> run command -> response frames -> write bytes
  • Implement ECHO and PING commands
  • Implement SET and GET commands
  • Implement Expiry
  • Add structured error handling
  • Add extensive unit tests

About

Building my own mini Redis to learn network programming, concurrent computing, and system design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors