← rhythmOS

FlashDB (Redis Clone)

a redis clone in rust, written to find out what redis actually does when you call SET.

Rust · Async · Networking

  • implemented 5+ core Redis commands (SET, GET, DEL, EXPIRE, INCR) with async support for 100+ concurrent connections
  • engineered a RESP-like protocol supporting 5+ data types and 100ms-precision key expiration
  • the boring parts — expiry precision, connection handling, wire format — turned out to be the whole thing

github.com/Rhythm1710/FlashDB ↗