(I named it wardrobe because it's an in-house Redis replica I built. What better name for in-house storage than wardrobe )
wardrobe is a fast, minimalist in-memory key-value store written in Go, inspired by Redis. Built from scratch, it supports core Redis functionalities like persistence, replication, transactions, streams, and TTL — all accessible via redis-cli.
- In-Memory Storage – blazing fast access
- RDB Persistence – saves data to
dump.rdb - Master-Slave Replication – supports replication config
- TTL Support – with
EXPIREand time-based key eviction - Transactions – with
MULTIandEXEC - Streams – with
XADD - Fully redis-cli compatible
git clone https://github.com/siddarthpai/wardrobe.git
cd wardrobe
go build -o wardrobe
./wardrobe --port 8000
redis-cli -p 8000Example commands: checking if it works :
| Command | Description |
|---|---|
SET key value |
Set a key to a value |
GET key |
Get the value of a key |
DEL key |
Delete a key |
PX key seconds |
Set TTL for a key |
INCR key |
Increment a key’s integer value |
MULTI / EXEC |
Start and execute a transaction |
PING |
Ping the server |
starting the master instance :

dump.rdbis auto-loaded on startup if available.
- supporting more data types, rn supports strings, lists and sets.
- snapshotting of rdb and AOF.
- look into making it more of a valkey replica with multithreading.
PRs, issues, and feature requests welcome!






