Purely for fun and learning, kicked off by following the excellent codecrafters Redis course.
- Parse the Redis serialization protocol (RESP) specification
- Handle concurrent connections
- Implement commands:
PINGECHOGETSETwith optional expiry
- Integration tests
In one terminal, start our toy Redis server:
cargo runAnd then use the redis-cli to query our server:
$ redis-cli PING
PONG
$ redis-cli ECHO 'Hello World!'
"Hello World!"
$ redis-cli SET myKey 1234
OK
$ redis-cli GET myKey
"1234"
cargo test