System Design Atlas

The design process

Design a software system in ten steps.

Every reference case follows the same path from the user request to a complete, reasoned design. The rental system provides a continuous example here; each step opens its detailed solution.

Understand the task

The request, rules, and scale establish the basis for the design.

  1. 01

    Purpose and boundary

    Define the purpose, actors, and system boundary.

    In the rental case

    The renter, vehicle A, and the time slot from 9 am to 12 noon define the request; external services sit outside the system boundary.

  2. 02

    Requirements

    Clarify functions, quality goals, and rules that must always hold.

    In the rental case

    The time slot may be allocated only once; 95 % of searches should take no more than one second.

  3. 03

    Scale estimates

    Estimate the expected number of users, requests, and data volumes.

    In the rental case

    Search and booking have separate load assumptions; contention for vehicle A creates the hotspot.

Design the system

Contracts, states, components, and timing make the system concrete.

  1. 04

    Interfaces

    Define write commands, read queries, and failure scenarios.

    In the rental case

    A stable operation key identifies retries; the reservation connects the request, status, and eventual result.

  2. 05

    Data and states

    Define stored data, states, and ownership.

    In the rental case

    The booking, reservation status, and stored follow-up command are committed together in one transaction.

  3. 06

    Overall architecture

    Design responsibilities and interactions.

    In the rental case

    The entry point, relational data store, and background process divide the workflow into clear responsibilities.

  4. 07

    Critical flow

    Trace a complex workflow, including its failure scenarios.

    In the rental case

    The system acknowledges acceptance; a background process continues the external steps and reconciles late responses.

Validate decisions

Measurements, operations, and tests show whether the design delivers its guarantees.

  1. 08

    Bottlenecks and trade-offs

    Compare solutions and define when a change would make sense.

    In the rental case

    Measurements guide decisions on caching, additional background processes, read replicas, or splitting the system later.

  2. 09

    Operations and security

    Consider failures, access, cost drivers, and operations.

    In the rental case

    Restart procedures, access controls, and recovery bring the system back to a reconciled state after failures.

  3. 10

    Final design

    Check whether the design meets the requirements.

    In the rental case

    Decisions, planned checks, and links back to earlier steps form the complete, reasoned design.

In every step

The question, example answer, and validation stay connected.

  1. 1

    Clarify the question and build on the starting point from the previous step.

  2. 2

    Explain the decision and follow its effect in the rental case.

  3. 3

    Check the result and return to the relevant step when a check reveals an issue.

Starting point

Start with the request and system boundary.

Step 1 defines the outcome for which the rental system is responsible and the services that remain outside its boundary.

Design the rental system