Design Cross-Region Snapshot Replication With Per-Volume RPO Targets
Last updated: November 29, 2026
Quick Overview
Design a service that asynchronously replicates thousands of storage volumes from a primary site to a disaster recovery region using periodic snapshots, honors a per-volume recovery point objective, and supports failover and resync back.
Netapp
November 29, 20260
0
0 solved
Design a service that asynchronously replicates thousands of storage volumes from a primary site to a disaster recovery region using periodic snapshots, honors a per-volume recovery point objective, and supports failover and resync back.
Data protection is central to NetApp's business: SnapMirror between ONTAP clusters and to cloud targets such as FSx for NetApp ONTAP or Cloud Volumes ONTAP is how many customers do disaster recovery. Senior candidates are expected to reason about snapshot-based incremental transfer, scheduling against bandwidth, RPO monitoring and the hard parts of failover and reverse resync.
What the Interviewer Expects
- Uses a common base snapshot on both sides and transfers only the diff
- Schedules transfers to meet RPO under limited bandwidth and prioritizes volumes at risk
- Makes transfers resumable with checkpoints and verifies integrity end to end
- Defines a clear failover and resync flow that avoids split brain
- Monitors lag as a first-class metric and alerts before the RPO is breached
- Discusses consistency groups for multi-volume applications
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
- An application spans five volumes. How do you guarantee the DR copy is crash consistent across all of them?
- After failover, the old primary comes back with writes the DR side never saw. How do you resync?
- How would you protect the replicas against ransomware that encrypts the primary?
- How does the design change for a 15-second RPO?
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: register a relationship (source volume, destination, RPO, e.g. 5 minutes to 24 hours), replicate continuously, report lag, fail over (make the destination writable), resync in either direc...
High-Level Design
Control plane: a relationship store (source, destination, policy, last common snapshot, state) and a scheduler. Data plane: transfer engines on each storage node. Each cycle: take snapshot S(n) on the...