FREE DATABASES & DATA SYSTEMS TRACK
Key-value & caching
What if access is mostly by key?
What if access is mostly by key?
Trade flexible queries for simple access paths, low latency, expiration, partitioning, and predictable scale.
Systems compared
- Redis
- Memcached
- DynamoDB
- RocksDB
Open the engine
- Hash tables and sorted maps
- TTL and eviction
- Persistence modes
- Partition keys and hot keys
- Replication and consistency
Reconstruction lab
Implement a cache, choose an eviction policy, and design a globally partitioned key-value workload.