Implement a versioned in-memory DB with CAS and history
Implement an in-memory database keyed by (key, field) supporting TTL, conditional updates, scans, and historical queries.
Data model / rules
For each (key, field) store:
value
expire_at (integer; +
sachinhandiekar.com12 min read