システム設計キット
システム設計の手法と10の参照設計:チャット、ニュースフィード、決済台帳、レート制限、検索、通知、動画、ジョブ管理、配車、共同編集。
25 件のテンプレートを、使う順に 2 ステップで並べています。エディターで開いて記入し、PDF、DOCX、HTML に書き出せます。
手法とパターン
System Design Document Template
フルScale system design: requirements and below the line, estimates with consequences, API, access patterns, deep dives, failure modes, 10x/0.1x, trade-offs
RFC 9110; RFC 9457; RFC 9745 (Deprecation header)Database Design Document Template (ERD and Physical Model)
フルDatabase design: DBMS choice, conceptual, logical and physical models, indexes, partitioning, integrity, security, backup, capacity
Multi-Tenancy Design Template (SaaS)
フルSaaS tenancy model (silo, pool, bridge), tenant context, data isolation, noisy neighbours, lifecycle, residency, cost per tenant
SaaS practice; AWS Well-Architected SaaS Lens (control plane and application plane)Event Sourcing and CQRS Design Template
標準Event-sourced service design: fit check, event catalogue, versioning and upcasting, store, projections, idempotency, crypto-shredding
Event Sourcing (Fowler 2005); CQRS Documents (Young 2010); GDPR Art. 17 examplesMicroservice Specification Template (Service Canvas)
標準Service canvas: bounded context, owner, APIs and events, data owned, dependencies, SLOs, scaling, config, deploy, observability
Microservice Canvas (Richardson); OpenAPI 3.2.1; AsyncAPI 3.1.0; RFC 9745, RFC 8594Frontend 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 AAMobile App Architecture Template
フルMobile app architecture: native vs cross-platform, MVVM/Clean layers, offline sync, secure storage, auth, privacy, releases, testing
OWASP MASVS v2.1.0; RFC 8252 (BCP 212)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)Resilience and Load Shedding Design Template (Retries, Circuit Breakers)
フルFailure model, deadlines, retries with jitter and budgets, circuit breakers, bulkheads, backpressure, criticality-based shedding, degradation, fault tests
Google SRE book ch. 21-22; Amazon Builders' LibrarySystem 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
参照設計
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
IETF RFC 6455 (WebSocket); RFC 9420 (MLS)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
Twitter 'Timelines at Scale' (QCon SF 2012), cited as a case studyPayment Ledger System Design Template (Reference Design)
フルPayments and double-entry ledger: idempotency keys, payment state machine, PSPs, outbox, reconciliation, audit, PCI DSS scope
PCI DSS v4.0.1 and SAQ A (Jan 2025) cited by requirement number only; ISO 4217; RFC 9457; draft-ietf-httpapi-idempotency-key-header-08 (I-D)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
RFC 6585; RFC 9110; draft-ietf-httpapi-ratelimit-headers-11 (I-D)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
RFC 9110; RFC 9111Notification Service System Design Template (Reference Design)
フルPush, email, SMS and in-app: templates, preferences and opt-out, priority queues, caps, provider failover, retries, dedup
RFC 8058; RFC 9989 (DMARC, May 2026); Netflix RENO case studyVideo 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
ISO/IEC 23009-1:2026 (DASH); ISO/IEC 23000-19:2024 (CMAF); ISO/IEC 23001-7:2023 (CENC); RFC 8216 (HLS)Job Scheduler System Design Template (Reference Design)
フルDistributed scheduler: cron, delayed and one-off jobs, leases and visibility timeouts, fencing, idempotent handlers, retries, DLQ
Google SRE book ch. 24 (distributed cron); IETF Idempotency-Key draft-08Ride-Hailing Dispatch System Design Template (Reference Design)
フルRide matching: location ingestion, H3/geohash index, batched matching, ETA, trip state machine, single assignment, surge note
H3 grid (h3geo.org cell statistics)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
CRDT research (Shapiro et al. 2011; YATA; Fugue); IETF RFC 6455URL Shortener System Design Template (Reference Design)
フルCapacity (KaTeX), API, base62 key generation and collisions, 301 vs 302, caching, click analytics, abuse protection, custom aliases, expiry, multi-region
RFC 9110 (redirect status codes); RFC 9457; NIST SP 800-38G (FF1)Distributed Key-Value Store System Design Template (Dynamo-Style)
フルConsistent hashing, vnodes, quorums (R+W>N), vector clocks vs LWW, hinted handoff, Merkle anti-entropy, gossip, LSM compaction, cache eviction, hot keys
Dynamo (DeCandia et al., SOSP 2007); DynamoDB (USENIX ATC 2022)Distributed Message Queue System Design Template (Kafka-Style Log)
フルPartitions, log segments, retention, acks and idempotence, consumer groups, offsets, delivery semantics, ordering, ISR replication, backpressure, DLQ, schemas
Apache Kafka 4.4 documentation; Kafka paper (NetDB 2011)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
RFC 9457; draft-ietf-httpapi-idempotency-key-header-08 (I-D)LLM Inference Serving and Vector Search Platform Design Template
フルGateway, router, continuous batching, paged KV cache, GPU memory and throughput math, TTFT/TPOT SLOs, autoscaling, quantization, HNSW/IVF, cost per token
PagedAttention (Kwon et al., SOSP 2023)