Volume 12 · Chapter 12 — System Design Case Studies
Volume Summary and Interview Rapid-Fire
12.1 What This Volume Covered
This volume applied the whole series to end-to-end system design case studies: the approach recap, then designs for a payment processing system, a real-time fraud detection pipeline, a high-scale digital banking platform, a notifications and statements system, and a multi-Region resilient banking system. The unifying themes are that designs compose a recurring palette assembled to fit requirements, that requirements drive every decision, and that trade-offs - synchronous vs asynchronous, strong vs eventual consistency, scale vs cost, multi-AZ vs multi-Region - are the substance of the reasoning. The cases interconnect into one banking platform, showing how the building blocks combine. The rest of this chapter consolidates the essentials.
12.2 Rapid-Fire Interview Questions
The central decision in a payment system?
Synchronous strong consistency where money moves (one ACID transaction on the ledger, idempotency, balance from the source of truth) and asynchronous eventual consistency for the surrounding effects (notifications, fraud) via event fan-out with the outbox pattern.
Why streaming for fraud detection?
The transaction feed is continuous and high-volume, multiple consumers each process all of it, ordering matters, and replay is needed to reprocess history through improved models - all things a stream (Kinesis) provides and a queue can’t.
What dominates a digital banking platform design?
Read-heavy scale for a huge user base. Layered read scaling - CloudFront edge cache, in-memory cache, read replicas - absorbs read traffic; the primary handles writes; and freshness-critical reads (payment-authorizing balance) go to the source of truth.
Why are notifications a good fit for event-driven and serverless?
They’re reactive (triggered by events, decoupled from producers), bursty (queues buffer, consumers scale to depth), and intermittent (serverless auto-scales with zero idle cost). Statements use serverless generation and tiered immutable S3 storage for compliance.
The hardest part of a multi-Region design?
Cross-Region data replication, which sets the RPO. Synchronous means no loss but high write latency; asynchronous is fast but risks losing recent unreplicated writes - so you usually accept a small RPO with async replication for most data.
What's the recurring architecture palette?
API gateway entry, stateless services across AZs, relational system of record + purpose-built stores, async messaging to decouple, caching and replicas for reads, resilience patterns, security in private subnets with encryption, and observability. Assembled to fit each requirement.
When do you go multi-AZ vs multi-Region?
Multi-AZ is the baseline for all production systems, handling instance and data-centre failures. Multi-Region adds survival of a whole-Region loss (and global low latency) for critical systems - the costliest tier, applied deliberately per system by RTO/RPO.
How do you decide synchronous vs asynchronous in a design?
Synchronous where the caller needs the result now and strong consistency matters (money movement, needed-now reads). Asynchronous where work can happen slightly later and decoupling, burst absorption, or fan-out matter (notifications, fraud, downstream effects).
How do you keep a design correct where money moves but scalable elsewhere?
Money movement uses ACID transactions, idempotency, and authoritative reads from the source of truth; everything else scales with caching, replicas, async messaging, and eventual consistency - a deliberate boundary between the correctness-critical path and the scalable rest.
What makes a design answer "senior"?
Clarifying requirements first, assembling the palette to fit them, and explicitly naming and justifying trade-offs against the requirements - showing you understand the consequences of each choice rather than producing a diagram that ignores its own costs.
12.3 Closing
These case studies show the whole series composing into complete architectures: correctness for money, streaming for real-time analytics, layered read scaling for huge user bases, event-driven serverless for reactive work, and multi-Region for Region-level resilience - each assembled from the same building blocks, driven by requirements, and defined by explicit trade-offs. The final volume distills the entire series into mock interviews and rapid-fire revision to consolidate everything for interview readiness.