RPO — Recovery Point Objective
“How much data can we afford to lose?”
Simple definition
RPO defines the maximum acceptable data loss, measured in time.
If a system fails, RPO answers:
“Up to what point in time must data be recovered?”
Example
-
RPO = 15 minutes
-
Disaster happens at 10:00 AM
-
You must be able to restore data up to 9:45 AM
-
Data created between 9:45–10:00 can be lost
📌 Smaller RPO = more frequent backups / replication
📌 Lower RPO = higher cost & complexity
Real-world RPO examples
| System | Typical RPO |
|---|---|
| Banking / Trading | Seconds to minutes |
| E-commerce orders | < 5 minutes |
| Internal tools | Hours |
| Logs / Analytics | 24 hours |
How RPO is achieved
-
Backup frequency (hourly, daily)
-
Database replication
-
Snapshot schedules
-
Cross-region replication
RTO — Recovery Time Objective
“How fast must the system be back online?”
Simple definition
RTO defines the maximum acceptable downtime after a failure.
If a system goes down, RTO answers:
“How quickly must service be restored?”
Example
-
RTO = 30 minutes
-
System crashes at 10:00 AM
-
Service must be fully operational by 10:30 AM
📌 Lower RTO = faster recovery systems
📌 Lower RTO = higher cost
Real-world RTO examples
| System | Typical RTO |
|---|---|
| Payments | Minutes |
| Customer-facing apps | < 1 hour |
| Internal dashboards | Several hours |
| Batch processing | 1 day |
How RTO is achieved
-
Standby infrastructure (warm / hot)
-
Automated failover
-
Load balancers + health checks
-
Infrastructure as Code (fast rebuild)
-
Pre-tested runbooks
RPO vs RTO (Easy Comparison)
| Aspect | RPO | RTO |
|---|---|---|
| Focus | Data loss | Downtime |
| Measured in | Time | Time |
| Question | How much data can we lose? | How fast must we recover? |
| Controlled by | Backup & replication | Failover & automation |
One-liner to remember (🔥 interview gold)
RPO is about data loss, RTO is about downtime.
Or even shorter:
RPO = how far back,
RTO = how fast forward.
Mapping to DR strategies (very important)
| DR Strategy | RPO | RTO |
|---|---|---|
| Backup & Restore | High | High |
| Pilot Light | Medium | Medium |
| Warm Standby | Low | Low |
| Active-Active | Near-zero | Near-zeroRPO – Recovery Point ObjectiveFull form: Recovery Point Objective Meaning: 👉 Answers the question:
Example:
RTO – Recovery Time ObjectiveFull form: Recovery Time Objective Meaning: 👉 Answers the question:
Example:
Quick Memory Trick 🔥
|