Skip to main content

9 docs tagged with "Tier 4 — Production system design"

Whole-domain designs where the invariants are the hard part.

View all tags

Fraud Detection

Rule: technically valid is not the same as trustworthy, and blocking too much costs more than

Payment Ledger

Rule: payment status says whether a transaction succeeded; only a ledger says where the money

Reconciliation

Rule: reconciliation is a legitimate source of change, not a silent patch. Every repair it

Refunds

Rule: a refund is a new transaction, not an undo. It has its own state machine, its own

Settlement

Rule: "payment succeeded" is an intention; settlement is when the money actually arrives.

System Design Method

Open-ended by construction: "design Twitter" has no correct answer, and the interviewer is not