Markdown Editor

Kit de diseño de sistemas fintech

Diseñar sistemas de dinero: libro mayor de pagos, billetera digital, checkout e inventario, detección de fraude, webhooks y reservas, con estimación, IDs y revisión.

Paso 1

Método y patrones

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

    Completa

    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

    Completa

    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

    Estándar

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

Paso 2

Diseños de referencia

  1. Payment Ledger System Design Template (Reference Design)

    Completa

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

  2. Digital Wallet System Design Template

    Completa

    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

    Completa

    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

    Completa

    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

    Completa

    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)

    Completa

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

Paso 3

Verificación

  1. System Design Review Checklist and Scoring Rubric Template

    Completa

    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)

    Completa

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

    STRIDE