Design Asynchronous VM Replication With a Configurable RPO
Last updated: November 29, 2026
Quick Overview
Design the service that protects groups of VMs by taking periodic consistent snapshots on a primary cluster and replicating them to a remote cluster or public cloud so that customers can meet an RPO between 1 minute and 24 hours and fail over on demand.
Nutanix
November 29, 20260
0
0 solved
Design the service that protects groups of VMs by taking periodic consistent snapshots on a primary cluster and replicating them to a remote cluster or public cloud so that customers can meet an RPO between 1 minute and 24 hours and fail over on demand.
Disaster recovery (protection policies, recovery plans, async and NearSync replication) is a core part of the Nutanix platform and a frequent reason customers buy it. A senior design round looks for snapshot consistency across many VMs, delta transfer over constrained WAN links, and a precise story for failover, failback and RPO monitoring.
What the Interviewer Expects
- Defines RPO and RTO and ties schedule and bandwidth to them
- Uses crash-consistent or application-consistent group snapshots
- Ships deltas between successive snapshots, not full copies
- Tracks per-pair replication state durably so transfers resume after failure
- Covers planned failover, unplanned failover and failback with reverse replication
- Explains RPO violation detection and alerting
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
- How do you get below one minute RPO without going fully synchronous?
- The WAN link is 1 Gbps but the daily change rate is 15 TB. What do you tell the customer, and what does the system do?
- How do you test a recovery plan without disturbing production replication?
- How would you replicate to S3-backed cloud storage instead of a peer 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
Functional: protection policies that map VM categories to a schedule, remote target and retention; consistent snapshots of a VM group; replicate to one or more targets; planned and unplanned failover;...
High-Level Design
Components on each cluster:
- Policy engine (Prism Central) resolves categories to VM sets and pushes schedules.
- Snapshot coordinator quiesces (optional guest agent for app consistency) and ...