Build a Key-Value Store

dict-backed store with TTL and HTTP API

Challenge 1 of Storage & CachingBeginner~45 minFree

Build your own Redis-style in-memory key-value store. You'll start with a dict-backed store, add TTL expiry, expose an HTTP API, and end with a pluggable backend via the Strategy pattern.

5 steps

  1. 1Create the Store
  2. 2Overwrite and List Keys
  3. 3Add TTL Support
  4. 4Add an HTTP API
  5. 5Pluggable Backends (Strategy Pattern)
Start step 1