Design the Distributed Metadata Store Behind a Hyperconverged Storage Fabric
Last updated: November 29, 2026
Quick Overview
Design the strongly consistent metadata store that maps vdisk blocks to extents and extents to physical disk locations across every node in a hyperconverged cluster, sustaining very high read and update rates while surviving node and disk failures.
Nutanix
November 29, 20260
0
0 solved
Design the strongly consistent metadata store that maps vdisk blocks to extents and extents to physical disk locations across every node in a hyperconverged cluster, sustaining very high read and update rates while surviving node and disk failures.
In the Nutanix storage fabric, every read and write consults metadata (a Cassandra-derived ring with Paxos for per-key consistency, plus local caching) before touching data, so metadata latency and correctness set the ceiling for the whole cluster. The interviewer looks for a key layout, consistency protocol, caching, and how the store rebalances when nodes join or fail.
What the Interviewer Expects
- Separates hot small metadata from bulk data and sizes both
- Partitions keys on a consistent hash ring with replication matching the cluster RF
- Uses per-key consensus or compare-and-swap for strongly consistent updates
- Adds a local read cache with correct invalidation
- Explains ring rebalancing on node add, remove and failure
- Covers compaction and read amplification in an LSM-style engine
Key Topics to Cover
How to Approach This
- Start by clarifying functional and non-functional requirements with the interviewer.
- Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
- Draw a high-level architecture first, then deep dive into 1-2 critical components.
- Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
- Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
- Why not just use a single-leader database for all metadata?
- How do you update the vdisk map and extent map atomically for a single write?
- A node rejoins after an hour offline with stale metadata. What happens?
- How would you shrink metadata for a deduplicated 1 PB cluster?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Practice System Design ProblemsSample Answer
Requirements
Maps: vdisk block map (vdisk, block range to extent id), extent id map (extent id to extent group), extent group map (group to replica disks, checksums, version). Operations: point reads on every I/O,...
High-Level Design
Each node runs a metadata service instance. Keys are hashed onto a ring; each key is owned by RF consecutive nodes. Storage per node is an LSM engine on SSD (memtable plus commit log, sorted tables, c...