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.
- 01
Purpose and boundary
Define the purpose, actors, and system boundary.
In the rental caseThe renter, vehicle A, and the time slot from 9 am to 12 noon define the request; external services sit outside the system boundary.
- 02
Requirements
Clarify functions, quality goals, and rules that must always hold.
In the rental caseThe time slot may be allocated only once; 95 % of searches should take no more than one second.
- 03
Scale estimates
Estimate the expected number of users, requests, and data volumes.
In the rental caseSearch 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.
- 04
Interfaces
Define write commands, read queries, and failure scenarios.
In the rental caseA stable operation key identifies retries; the reservation connects the request, status, and eventual result.
- 05
Data and states
Define stored data, states, and ownership.
In the rental caseThe booking, reservation status, and stored follow-up command are committed together in one transaction.
- 06
Overall architecture
Design responsibilities and interactions.
In the rental caseThe entry point, relational data store, and background process divide the workflow into clear responsibilities.
- 07
Critical flow
Trace a complex workflow, including its failure scenarios.
In the rental caseThe 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.
- 08
Bottlenecks and trade-offs
Compare solutions and define when a change would make sense.
In the rental caseMeasurements guide decisions on caching, additional background processes, read replicas, or splitting the system later.
- 09
Operations and security
Consider failures, access, cost drivers, and operations.
In the rental caseRestart procedures, access controls, and recovery bring the system back to a reconciled state after failures.
- 10
Final design
Check whether the design meets the requirements.
In the rental caseDecisions, 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
Clarify the question and build on the starting point from the previous step.
- 2
Explain the decision and follow its effect in the rental case.
- 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.