Skip to content

System Design: section map for agents

Main map · This map · Section overview

System design as a pattern flow for designing and prototyping systems: context, forces, design questions and their options, techniques that test a choice, decisions with triggers, and cases. Interview preparation is one route through it.

All documents in this collection are listed below, grouped by subsection.

Status labels: Canonical = preferred starting point for its topic; Draft = provisional working material; Archived = preserved history. Unlabeled documents have no assigned status.

Documents

  • System Design Principles [Canonical] — Principles for making architectural choices through context, boundaries, feedback, state ownership, interactions, and explicit trade-offs.
  • System Design Problem-Solving Checklist — A reusable checklist for framing a design problem, tracing behavior, comparing alternatives, checking failures, and evaluating the complete system.
  • System Design Resources — A catalog of system design courses, guides, topic maps, technical talks, video channels, engineering blogs, papers, and communities.

Collected System Design Notes

An index of architecture and distributed-systems reading excerpts and design-review collections, connecting them to the organized system design notes.

  • Architecture and Distributed-Systems Reading Notes — Architecture and distributed-systems reading excerpts on trade-offs, coupling, modularity, risk, failure detection, clocks, leader election, data models, and microservices.
  • System Design Case-Study Excerpts — Collected review excerpts on URL shorteners, file storage, chat, feeds, rate limiting, search, and location-based systems, emphasizing mechanisms and trade-offs.

Non-Functional Requirements

The forces in the system design flow: operation-specific reasoning about quality requirements, scalability, reliability, availability, and consistency, with worked URL-shortener examples.

  • Consistency Requirements in System Design — The requirement side of consistency: design questions about visibility after writes, staleness, invariants, and partitions, a per-operation checklist, and pointers to the models, CAP, and PACELC in the distributed-systems notes.
  • Reasoning About Non-Functional Requirements — A method for translating user needs into prioritized quality requirements, measurable targets, explicit assumptions, and concrete architectural consequences.
  • Reliability and Availability — Reliability and availability questions covering single points of failure, redundancy configurations, replication, failover, degraded operation, recovery, and service targets.
  • Scalability in System Design [Canonical] — How to state a scalability claim, link workload and bottlenecks to scaling moves (vertical scaling, duplication, partitioning, decomposition, caching, queues, autoscaling), and weigh the costs in performance, money, operability and …

System Design Archive [Archived]

An index of original notes preserved during refactoring, linking historical drafts and reading collections to their organized working versions.

  • Architecture Principles Before the Refactor [Archived] — Archived principles and references covering architectural context, modularity, feedback loops, microservices, design practices, and modeling approaches.
  • Building-Block Collection Before the Refactor [Archived] — The building-block topics collected before the March 2026 refactor, rewritten as a map: how courses divide what to learn, Educative's building blocks and interviewing.io's concepts by hub, and where each original section now lives.
  • Earlier URL Shortener NFR Reasoning [Archived] — Archived URL-shortener quality-target proposals, availability tables, error-budget reasoning, architecture assumptions, and interview scripts preserved for comparison.
  • Interview Phrase Collection Before the Refactor [Archived] — Archived interview phrases, synonym lists, and transcript fragments for stating assumptions, discussing trade-offs, handling uncertainty, and navigating disagreement.
  • Original API Gateway Notes [Archived] — Archived API gateway notes on request routing, shared middleware, adoption trade-offs, implementation options, and supporting sources.
  • Original Messaging and Event Notes [Archived] — Archived notes and sources on messaging models, event-driven architecture, delivery semantics, ordering, retention, retries, and event sourcing.
  • Original Mock-Interview Observations [Archived] — Archived observations from mock interviews on problem framing, technical depth, concurrency, quantification, trade-offs, and interviewer collaboration.
  • Original Problem-Solving Notes [Archived] — Archived draft questions about structuring complex design problems, considering trade-offs, and keeping end users and service clients in view.
  • Original System Design Practice Rubric [Archived] — The original practice assessment proposal, including weighted criteria, behavioral rating scales, timing suggestions, scoring thresholds, and capacity-estimation shorthand.
  • Original System Design Resource Catalog [Archived] — The original catalog of system design courses, guides, communities, technical talks, engineering blogs, and papers, including unreviewed source comments.
  • Scalability Reading Notes [Archived] — Archived scalability definitions and reading excerpts covering scaling strategies, partitioning, queues, caching, CQRS, stateless services, autoscaling, and performance trade-offs.
  • System Design Preparation Notes Before the Refactor [Archived] — The original preparation plan connecting technical foundations, toolbox development, repeated practice, mock interviews, communities, and broader engineering disciplines.
  • URL Shortener Design Alternatives Before the Refactor [Archived] — Archived URL-shortener design alternatives covering API contracts, redirect semantics, read-first and write-first walkthroughs, storage, code generation, and open questions.

System Design Building Blocks

An index of system design building blocks organized as design questions: boundaries, data across services, communication, the request path, containing failure, data at scale, and operating services.

  • API Gateway — API gateway responsibilities, request routing, shared policies, adoption trade-offs, implementation examples, and how to introduce the component during an interview.
  • Architecture Style and Service Boundaries — Design question hub on whether to build one deployable unit or several, where to draw service boundaries, and how to migrate incrementally with the strangler application and anti-corruption layer.
  • Common Trade-offs in System Design [Draft] — The trade-offs that recur across system design problems: what each side gains and costs, the signal that tips the choice, and the hub where the decision is made.
  • Containing Failure in Distributed Systems — Design question hub on stopping a slow or failing dependency from spreading: timeouts, retries with backoff, circuit breakers, bulkheads, load shedding, back pressure, degraded operation, and testing these controls with fault injection.
  • Control Plane and Data Plane — Pattern note on separating how a system is managed from how it serves traffic: the control plane and data plane split, ways to distribute configuration, desired state and reconciliation, static stability, and where the pattern appears.
  • Data Across Services — Design question hub on data ownership between services: database per service, sagas, API composition, CQRS, domain events, event sourcing, and publishing changes reliably with an outbox.
  • Data at Scale — Design question hub on storing and serving more data than one machine can: replication, partitioning, consistent hashing, hot keys, caching, storage choice, indexes and search, unique identifiers, rate limiting across nodes, and batch …
  • Defaults and Triggers for Design Choices [Draft] — A prototyping path through the design question hubs: the default option to start with, the signal that it no longer fits, the option to move to, and the technique that tests the move.
  • Design Questions and Pattern Map [Canonical] — A map of system design building blocks organized as design questions, with the hub and pattern note format, how the questions lead into each other, and where detailed notes live.
  • Messaging and Events — Messaging models, reasons to put a queue between services, and the behavior to specify: delivery, ordering, idempotency, retention, replay, schemas, consumer-group rebalancing, task queues and job scheduling, and implementation references.
  • Operating Services — Design question hub on what each service needs in production: deployment options, cross-cutting concerns, observability, security with access tokens and password storage, testing with contracts, and UI composition.
  • Service Communication — Design question hub on how services communicate: synchronous and asynchronous styles, remote procedure invocation, messaging, domain-specific protocols, push versus poll, idempotent consumers, and API contracts.
  • The Request Path — Design question hub on how a request reaches a healthy service instance: DNS, CDN, load balancers, proxies, API gateways, backends for frontends, service discovery, sidecars, and service meshes.

System Design Interview Practice

The interview route through the system design flow: study plan, interview frameworks, communication, mock review, assessment criteria, source guidance, and practitioner comments.

  • Collected System Design Interview Comments — Collected practitioner discussions about system design interviews, seniority expectations, technical depth, trade-offs, cost, delivery constraints, and candidate evaluation.
  • Communicating During a System Design Interview [Canonical] — Practical interview phrasing for clarifying scope, stating assumptions, explaining flows, comparing choices, handling disagreement and uncertainty, and managing time.
  • Interviewing.io System Design Interview Notes — Interviewing.io guidance and personal annotations on interview types, assessment signals, problem navigation, technical depth, pacing, collaboration, and common mistakes.
  • Reviewing Mock System Design Interviews [Canonical] — A method for reviewing mock interviews, with observations and questions about framing, design completeness, concurrency, trade-offs, quantification, and collaboration.
  • Senior System Design Practice Review Rubric — A personal senior-level practice rubric with weighted criteria, behavioral rating scales, interview timing, scoring guidance, and capacity-estimation patterns.
  • System Design: Study and Practice [Canonical] — A study and practice plan combining technical foundations, toolbox development, design exercises, mock interviews, feedback, and reflection beyond interview preparation.

System Design Interview Frameworks

A comparison of competing system design interview frameworks, their stages and emphases, and shared reasoning tools for trying them in practice.

  • Extended System Design Framework Collection — An extended collection of design steps, architectural principles, staff-level considerations, follow-up questions, technical checklists, and examples.
  • Four-Step System Design Outline — A four-step interview outline covering scope, high-level design, deep dives, and wrap-up, with expected artifacts and agreement checkpoints.
  • Hello Interview Delivery Framework — Hello Interview’s timed delivery framework, moving from requirements, entities, and interfaces to a complete high-level design and focused deep dives.
  • Interviewing.io Framework: Concise Notes — Concise interviewing.io framework notes on requirements, objects, mutability, access patterns, quality characteristics, data types, APIs, scale, and storage design.
  • Interviewing.io System Design Framework — Interviewing.io’s three-stage framework for deriving a design from requirements, objects, access patterns, data types, APIs, scale, storage, and services.
  • Personal Requirements-First Framework Draft — A personal framework experiment prioritizing core user value, enabling features, quality requirements, interview phrasing, and follow-up design constraints.

System Design Practice Cases

A catalog of system design exercises distinguishing substantial walkthroughs, partial designs, focused examples, and queued prompts, with links to reusable references.

  • Code Deployment System: Requirements Sketch — A partial code-deployment design sketch covering release artifacts, deployment operations, status APIs, completion targets, and example workload assumptions.
  • Instagram: Collected Design Discussion — Collected critiques of Instagram design examples, exploring interview realism, product scope, business context, requirements, and architectural subproblems.
  • Interviewing.io Worked Example: Source Pointer — A source pointer to an end-to-end interviewing.io example demonstrating the three-stage system design framework.
  • Interviewing.io: Queued Design Prompt — A queued prompt for designing an interviewing.io-style product, with links to a worked example and the case template.
  • Job Scheduler: Requirements Draft — An early job-scheduler requirements draft covering jobs, schedules, manual execution, status questions, security, availability, and unresolved workload assumptions, with a first design sketch.
  • Key-Value Store System Design — Key-value-store notes: write-through, write-around, and write-back cache policies, and a Dynamo-style design with consistent hashing, quorums, hinted handoff, anti-entropy, gossip, and version vectors.
  • Live Commenting: Queued Design Prompt — A queued live-commenting design prompt, linking to push-versus-pull discussion and the template for developing a full case.
  • Online File Storage: Queued Design Prompt — A queued online file storage design exercise with links to the related Dropbox case and a reusable case template; no independent design has been recorded yet.
  • Public Chat Room: Interview Report — An interview report on a public chat-room design, highlighting message delivery, caching, client tracking, and an unresolved burst-handling problem.
  • Rate Limiter: Reading and Design Outline — A partial rate-limiter article and design outline covering throttling use cases, requirements, high-level design, estimation, and distributed algorithms.
  • Spotify: Queued Design Prompt — A queued Spotify design prompt, with links to related transcript fragments and the template for recording an independent design.
  • System Design Case Template — A template for recording a design exercise’s context, requirements, entities, interfaces, flows, decisions, failure behavior, and practice reflections.
  • Ticketmaster: Hello Interview Walkthrough — A Ticketmaster source walkthrough covering event browsing, search, booking, reservations, concurrent purchases, high-demand traffic, and interview-level expectations.
  • TikTok: Requirements-Gathering Example — A TikTok requirements-gathering example demonstrating how to clarify objects, relationships, mutability, access patterns, and important system qualities.
  • WhatsApp: Queued Design Prompt — A queued WhatsApp design prompt linking to the case template and practice catalog; no independent design has been recorded.

Dropbox Design Case

A guide to the Dropbox exercise, connecting personal design questions, a Hello Interview walkthrough, and earlier synchronization and deduplication excerpts.

  • Dropbox: Hello Interview Walkthrough — A Hello Interview Dropbox walkthrough covering file upload, download, sharing, synchronization, large-file handling, performance, security, and interview-level expectations.
  • Dropbox: Personal Preparation Notes — Personal Dropbox preparation notes on upload, download, synchronization, large files, integrity, workload assumptions, and questions to resolve before completing the design.

Infrastructure References

Reference material for infrastructure choices in system-design exercises, currently focused on Snowflake identifiers, implementation details, and comparisons with UUIDs.

  • Snowflake ID Generation: Sources — A source collection for studying Snowflake identifier generation, its implementation, and comparisons with UUIDs in system design.

URL Shortener Design Case

A guide to URL-shortener design materials, linking the working architecture, competing quality targets, product perspectives, interview checklists, and implementation experiments.

  • URL Shortener: Coding-Agent Experiments — Notes and prompts from URL-shortener implementation experiments with Roo-Code and Kiro, including planning workflows and questions about evaluating generated code.
  • URL Shortener: Consistency and NFR Draft — An extended URL-shortener draft exploring user workloads, replication, propagation delay, transactional outbox, PACELC, read scaling, latency tiers, and availability.
  • URL Shortener: Estimates, Checklist, and Design Skeleton — Supplementary URL-shortener estimation, functional completion checks, a design skeleton, and a degradation plan for the core redirect path.
  • URL Shortener: NFR Explorations — A comparison of URL-shortener quality-target proposals, connecting workload, latency, availability, consistency, lifecycle behavior, measurement, and architectural implications.
  • URL Shortener: Requirements and Product Context — URL-shortener requirements and product perspectives connecting core value, enabling features, optional enhancements, user stories, redirect flows, and business context.
  • URL Shortener: Working Design [Canonical] — A working URL-shortener design covering requirements, redirect and creation APIs, data ownership, read/write flows, uniqueness, caching, consistency, and deep-dive choices.

Use the main map to explore other collections. Descriptions come from note metadata or the page summary; working notes and versions retain their own scope.