The five steps
- The cache 10 min
- Expose the recency order 8 min
- Snapshot and restore 10 min
- Survive the process 10 min
- Resize and read-through 10 min
Build an LRU cache, expose its recency order, then make it survive a restart: snapshot and restore in memory, save and load from disk, and resize a live cache.