- Binding to a TCP port and listening for connections
- Responding to basic commands like
PINGandECHO - Parsing the Redis Protocol (RESP) from client requests
- Handling multiple clients concurrently
- Implementing the
SETandGETcommands to store and retrieve data.
Note: This is a challenge from codecrafters.io
- 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
ECHOandPINGcommands - Implement
SETandGETcommands - Implement Expiry
- Add structured error handling
- Add extensive unit tests