Markdown Editor

핀테크 시스템 설계 키트

돈이 오가는 시스템 설계: 결제 원장, 디지털 지갑, 체크아웃과 재고, 사기 탐지, 웹훅과 예약, 추정, ID, 이벤트 소싱, 리뷰.

1단계

방법과 패턴

  1. Back-of-Envelope Estimation and Capacity Model Template

    전체

    Reference latency and unit tables, assumptions register, QPS, storage, bandwidth, cache, server and cost formulas, worked example, sensitivity, traceability

    Jeff Dean latency numbers (LADIS 2009)
  2. Distributed Unique ID Generator System Design Template

    전체

    UUIDv4 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)
  3. Event Sourcing and CQRS Design Template

    표준

    Event-sourced service design: fit check, event catalogue, versioning and upcasting, store, projections, idempotency, crypto-shredding

2단계

참조 설계

  1. Payment Ledger System Design Template (Reference Design)

    전체

    Payments and double-entry ledger: idempotency keys, payment state machine, PSPs, outbox, reconciliation, audit, PCI DSS scope

  2. Digital Wallet System Design Template

    전체

    Stored-value wallet: double-entry ledger, cross-shard transfer saga vs 2PC vs event sourcing, idempotency, hot accounts, reconciliation, limits and KYC hooks

  3. E-commerce Checkout and Inventory System Design Template

    전체

    Cart, quote boundary for pricing, tax and promotions, stock reservation, oversell prevention, payment handoff, order state machine, flash-sale throttling

  4. Payment Fraud Detection System Design Template

    전체

    Real-time payment fraud scoring: latency budget, streaming features, rules plus ML, review queues, label delay, selection bias, model monitoring

  5. Webhook Delivery System Design Template

    전체

    Outbound 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 Sheet
  6. Ticket and Hotel Booking System Design Template (Reference Design)

    전체

    Seat and room inventory, holds with TTL, overbooking math, conditional writes, idempotency, payment saga, waiting room, search vs booking paths

3단계

검증

  1. System Design Review Checklist and Scoring Rubric Template

    전체

    Design review checklist in 13 areas, evidence-based scoring rubric, weighted score, red flags, findings register, decision record, 45-minute interview rubric

  2. Threat Model Template (STRIDE)

    전체

    STRIDE threat model: scope, DFD with trust boundaries, assets, threats per element, L x I rating, mitigations, risk acceptance

    STRIDE