Fintech System Design Kit
Design money-moving systems: payment ledger, digital wallet, checkout and inventory, fraud detection, webhooks and bookings, with estimation, IDs, event sourcing and review.
Method and patterns
Back-of-Envelope Estimation and Capacity Model Template
FullReference latency and unit tables, assumptions register, QPS, storage, bandwidth, cache, server and cost formulas, worked example, sensitivity, traceability
Jeff Dean latency numbers (LADIS 2009)Distributed Unique ID Generator System Design Template
FullUUIDv4 and v7 per RFC 9562, Snowflake 41/10/12 layout, clock skew and backwards clocks, leased worker IDs, index locality, 53-bit JS limit, ticket servers
RFC 9562 (May 2024)Event Sourcing and CQRS Design Template
StandardEvent-sourced service design: fit check, event catalogue, versioning and upcasting, store, projections, idempotency, crypto-shredding
Reference designs
Payment Ledger System Design Template (Reference Design)
FullPayments and double-entry ledger: idempotency keys, payment state machine, PSPs, outbox, reconciliation, audit, PCI DSS scope
Digital Wallet System Design Template
FullStored-value wallet: double-entry ledger, cross-shard transfer saga vs 2PC vs event sourcing, idempotency, hot accounts, reconciliation, limits and KYC hooks
E-commerce Checkout and Inventory System Design Template
FullCart, quote boundary for pricing, tax and promotions, stock reservation, oversell prevention, payment handoff, order state machine, flash-sale throttling
Payment Fraud Detection System Design Template
FullReal-time payment fraud scoring: latency budget, streaming features, rules plus ML, review queues, label delay, selection bias, model monitoring
Webhook Delivery System Design Template
FullOutbound webhook platform design: at-least-once delivery, HMAC signing, per-endpoint queues, backoff and circuit breaking, ordering, replay, SSRF protection
Standard Webhooks v1.0.0; OWASP SSRF Prevention Cheat SheetTicket and Hotel Booking System Design Template (Reference Design)
FullSeat and room inventory, holds with TTL, overbooking math, conditional writes, idempotency, payment saga, waiting room, search vs booking paths
Verification
System Design Review Checklist and Scoring Rubric Template
FullDesign review checklist in 13 areas, evidence-based scoring rubric, weighted score, red flags, findings register, decision record, 45-minute interview rubric
Threat Model Template (STRIDE)
FullSTRIDE threat model: scope, DFD with trust boundaries, assets, threats per element, L x I rating, mitigations, risk acceptance
STRIDE