Projects›Redis Clone
Redis Clone
A from-scratch in-memory data store with persistence, replication hooks, and a RESP-compatible protocol.
Go · Redis · TCP · Raft
Redis Clone
Built to understand what happens below the SDK.
Architecture
- Single-threaded event loop for command processing
- Hash table + skiplist for sorted sets
- RDB-style snapshot persistence
What I learned
Writing the protocol parser taught me more about Redis than reading docs ever did.