Redis Clone
- typescript
- bun
- redis

Introduction
Most of my projects are application-level — frontend, backend, CRUD, the stuff you build on top of a database. This one is about what's underneath: how a database server actually parses a wire protocol and juggles concurrent connections without blocking.
Built by working through CodeCrafters' "Build Your Own Redis" challenge — a structured, test-driven progression, not a copy-paste tutorial. Every stage means implementing real protocol logic from scratch and passing an actual Redis-compatible test suite.
🌟 Key Features
- RESP Protocol – full parsing and encoding of the Redis Serialization Protocol over raw TCP.
- Non-Blocking Event Loop – handles concurrent client connections without a framework doing the work for you.
- Core Commands –
PING,SET,GET, and more, implemented with correct protocol-level behavior.
🛠 Tech Stack
- Language: TypeScript
- Runtime: Bun
- Networking: Raw TCP sockets — no framework, no Redis library, just the protocol spec
🎯 Why This Exists
Systems programming doesn't come up naturally in a full-stack workflow. This was a deliberate detour to understand event loops, binary protocols, and connection handling at a lower level than any framework usually exposes.
Built with ⚡ to understand what SET and GET actually do under the hood.