System design
Status: Outline. Use invariants, failure modes, and evidence before introducing scale mechanisms.
Answer frame
Section titled “Answer frame”- Clarify users, scale, correctness, latency, availability, privacy, and budget.
- State the strongest invariants.
- Propose the simplest viable architecture and data model.
- Trace one write and one read.
- Identify bottlenecks and failures.
- Add scaling and operational mechanisms only for stated constraints.
- Explain security, observability, testing, and migration.
To cover
Section titled “To cover”- Capacity estimation and workload shape
- Modular monoliths, services, ownership, and network boundaries
- Replication, partitioning, consistency, and asynchronous workflows
- Multi-tenancy, imports, booking, notifications, search, and webhooks
- Evolution, deployment, incident behavior, and decision triggers