Markdown Editor

システム設計キット

システム設計の手法と10の参照設計:チャット、ニュースフィード、決済台帳、レート制限、検索、通知、動画、ジョブ管理、配車、共同編集。

ステップ 1

手法とパターン

  1. System Design Document Template

    フル

    System design at scale – requirements, capacity estimates (KaTeX), API, data model, HLD, deep dives, reliability, cost, trade-offs

  2. Database Design Document Template (ERD and Physical Model)

    フル

    Database design: DBMS choice, conceptual, logical and physical models, indexes, partitioning, integrity, security, backup, capacity

  3. Multi-Tenancy Design Template (SaaS)

    フル

    SaaS tenancy model (silo, pool, bridge), tenant context, data isolation, noisy neighbours, lifecycle, residency, cost per tenant

  4. Event Sourcing and CQRS Design Template

    標準

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

  5. Microservice Specification Template (Service Canvas)

    標準

    Service canvas: bounded context, owner, APIs and events, data owned, dependencies, SLOs, scaling, config, deploy, observability

  6. Frontend Architecture Document Template

    フル

    Web frontend architecture: rendering per route, state, data caching, design system, Core Web Vitals budgets, a11y, i18n, CSP, RUM

    Core Web Vitals (web.dev); WCAG 2.2 AA
  7. Mobile App Architecture Template

    標準

    Mobile app architecture: native vs cross-platform, MVVM/Clean layers, offline sync, secure storage, auth, privacy, releases, testing

ステップ 2

参照設計

  1. Chat System Design Template (Reference Design)

    フル

    Real-time 1:1 and group chat: WebSocket gateways, per-conversation ordering, fan-out, receipts, offline sync, push, E2EE

  2. News Feed System Design Template (Reference Design)

    フル

    Social feed: hybrid fan-out on write and read, celebrity threshold, ranking pipeline, feed cache, snapshot pagination, media

  3. Payment Ledger System Design Template (Reference Design)

    フル

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

  4. Rate Limiter System Design Template (Reference Design)

    フル

    Distributed rate limiter: token bucket vs window algorithms, atomic Redis scripts, multi-region shares, 429 headers, fail-open

  5. Search Autocomplete System Design Template (Reference Design)

    フル

    Typeahead: trie/FST/edge n-gram index, popularity and recency ranking, query-log pipeline, edge cache, latency budget, safety

  6. Notification Service System Design Template (Reference Design)

    フル

    Push, email, SMS and in-app: templates, preferences and opt-out, priority queues, caps, provider failover, retries, dedup

  7. Video Streaming System Design Template (Reference Design)

    フル

    Video upload and ABR streaming: chunked transcoding, renditions ladder, CMAF HLS/DASH, CDN, DRM note, view counts, storage tiers

  8. Job Scheduler System Design Template (Reference Design)

    フル

    Distributed scheduler: cron, delayed and one-off jobs, leases and visibility timeouts, fencing, idempotent handlers, retries, DLQ

  9. Ride-Hailing Dispatch System Design Template (Reference Design)

    フル

    Ride matching: location ingestion, H3/geohash index, batched matching, ETA, trip state machine, single assignment, surge note

  10. Collaborative Editing System Design Template (Reference Design)

    フル

    Real-time co-editing: OT vs CRDT, sequence CRDT, state-vector sync, presence, offline merge, snapshots and compaction, access