Problem Statement
Your HLD must control cost while shipping fast. Outline a phased rollout plan.
Explanation
Phase 1: simplest architecture that meets SLOs—CDN, a cache, a single write store with replicas, and background workers. Keep feature flags and blue-green deploys.
Phase 2: add sharding, dedicated search, or stream processing when metrics prove need. Use cost dashboards, autoscaling, and right-sizing. Revisit storage classes and egress to cut waste.
Code Solution
SolutionRead Only
rollout: canary 1% -> 10% -> 50% -> 100%
Practice Sets
This question appears in the following practice sets:
