Markdown Editor

Набір проєктування систем

Метод проєктування систем і десять еталонних рішень: чат, стрічка новин, платіжна книга, rate limiter, пошук, сповіщення, відео, планувальник, таксі.

Шаблонів: 25, кроків: 2, у порядку використання. Відкрийте будь-який шаблон у редакторі, заповніть його та експортуйте в PDF, DOCX або HTML.

Крок 1

Метод і патерни

  1. 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)
  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

    SaaS practice; AWS Well-Architected SaaS Lens (control plane and application plane)
  4. 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 examples
  5. Microservice 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 8594
  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

    OWASP MASVS v2.1.0; RFC 8252 (BCP 212)
  8. 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)
  9. 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' Library
  10. 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

Еталонні рішення

  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

    IETF RFC 6455 (WebSocket); RFC 9420 (MLS)
  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

    Twitter 'Timelines at Scale' (QCon SF 2012), cited as a case study
  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

    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)
  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

    RFC 6585; RFC 9110; draft-ietf-httpapi-ratelimit-headers-11 (I-D)
  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

    RFC 9110; RFC 9111
  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

    RFC 8058; RFC 9989 (DMARC, May 2026); Netflix RENO case study
  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

    ISO/IEC 23009-1:2026 (DASH); ISO/IEC 23000-19:2024 (CMAF); ISO/IEC 23001-7:2023 (CENC); RFC 8216 (HLS)
  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

    Google SRE book ch. 24 (distributed cron); IETF Idempotency-Key draft-08
  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

    H3 grid (h3geo.org cell statistics)
  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

    CRDT research (Shapiro et al. 2011; YATA; Fugue); IETF RFC 6455
  11. URL 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)
  12. 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)
  13. 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)
  14. 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)
  15. 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)