URL Shortener & Link Management Service · View 18 of 23 · Operations
The asymmetry is the point
- Losing the primary write region stops link creation and editing. It does not stop a single redirect anywhere in the world.
- A read region is disposable: three components, no unique state, and its cache rebuilt from the link table.
- Front Door's origin selection is latency-based, so removing a read region is a capacity decision rather than a failover event.
Sizing and recovery
- Resolver: three zones per region, scaled on requests per second, provisioned for 4× the steady rate to absorb the assumed peak.
- Cosmos DB: single write region, replicas in all read regions, replication ≤ 5 s, write RTO ≤ 5 min on failover.
- Derived state (hot set, deny-set, negative cache) fully rebuildable within 30 minutes with no operator input.
Assumptions
- 12 read regions is a placement assumption chosen to hold the 40 ms p99 for the assumed traffic distribution; it is the first number to revisit against real geography.
- Two write regions rather than multi-region writes, because multi-region writes would require conflict resolution on the one operation that cannot tolerate it (ADR-05).