System Design Kit
A system design method plus ten reference designs: chat, news feed, payment ledger, rate limiter, search, notifications, video, scheduling, rides, editing.
Method and patterns
System Design Document Template
FullSystem design at scale – requirements, capacity estimates (KaTeX), API, data model, HLD, deep dives, reliability, cost, trade-offs
Database Design Document Template (ERD and Physical Model)
FullDatabase design: DBMS choice, conceptual, logical and physical models, indexes, partitioning, integrity, security, backup, capacity
Multi-Tenancy Design Template (SaaS)
FullSaaS tenancy model (silo, pool, bridge), tenant context, data isolation, noisy neighbours, lifecycle, residency, cost per tenant
Event Sourcing and CQRS Design Template
StandardEvent-sourced service design: fit check, event catalogue, versioning and upcasting, store, projections, idempotency, crypto-shredding
Microservice Specification Template (Service Canvas)
StandardService canvas: bounded context, owner, APIs and events, data owned, dependencies, SLOs, scaling, config, deploy, observability
Frontend Architecture Document Template
FullWeb 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
StandardMobile app architecture: native vs cross-platform, MVVM/Clean layers, offline sync, secure storage, auth, privacy, releases, testing
Reference designs
Chat System Design Template (Reference Design)
FullReal-time 1:1 and group chat: WebSocket gateways, per-conversation ordering, fan-out, receipts, offline sync, push, E2EE
News Feed System Design Template (Reference Design)
FullSocial feed: hybrid fan-out on write and read, celebrity threshold, ranking pipeline, feed cache, snapshot pagination, media
Payment Ledger System Design Template (Reference Design)
FullPayments and double-entry ledger: idempotency keys, payment state machine, PSPs, outbox, reconciliation, audit, PCI DSS scope
Rate Limiter System Design Template (Reference Design)
FullDistributed rate limiter: token bucket vs window algorithms, atomic Redis scripts, multi-region shares, 429 headers, fail-open
Search Autocomplete System Design Template (Reference Design)
FullTypeahead: trie/FST/edge n-gram index, popularity and recency ranking, query-log pipeline, edge cache, latency budget, safety
Notification Service System Design Template (Reference Design)
FullPush, email, SMS and in-app: templates, preferences and opt-out, priority queues, caps, provider failover, retries, dedup
Video Streaming System Design Template (Reference Design)
FullVideo upload and ABR streaming: chunked transcoding, renditions ladder, CMAF HLS/DASH, CDN, DRM note, view counts, storage tiers
Job Scheduler System Design Template (Reference Design)
FullDistributed scheduler: cron, delayed and one-off jobs, leases and visibility timeouts, fencing, idempotent handlers, retries, DLQ
Ride-Hailing Dispatch System Design Template (Reference Design)
FullRide matching: location ingestion, H3/geohash index, batched matching, ETA, trip state machine, single assignment, surge note
Collaborative Editing System Design Template (Reference Design)
FullReal-time co-editing: OT vs CRDT, sequence CRDT, state-vector sync, presence, offline merge, snapshots and compaction, access