System Design Atlas

Rental and sharing system

01 / 10Worked example

Purpose and boundary

What is the rental application responsible for?

We accompany a reservation from the request to the return. In the technical models, K-17 denotes the order of the app and R-17 the associated reservation; both identifiers make the same process recognizable across the following diagrams. The rental application initially holds the vehicle for ten minutes. This temporary occupancy is called a hold. External providers carry out identity verification, payment and vehicle access.

Starting point Vehicle A is to be rented from 9 a.m. to 12 p.m. We design for an operator and a region.

Assumptions for the example case

Example design: an operator, specifically assigned vehicles, planned periods and a region. Figures are illustrative design assumptions, not company data.

The responsibility of the rental application

One case, three responsibilities

CustomerRequest vehicle A for 9 am–12 noon
Operation & Customer ServiceMaintaining stock and vehicles; clarifying open cases
Order K-17
Rental applicationOccupation, reservation and rental status
checkVehicle A · 9 am–12 noon
Keeping up10 minutes · K-17
AssignmentsReservation R-17
The rental application is responsible for the occupancy commitment.
An order is not yet an external confirmation of success.
Testing and execution
Verification providersVerify identity and driving authorisation
Access providersconfirms the physical vehicle release
Payment service providersExecuting Amount Authorization and Payment

Boundary decision: The application owns the booking and its status. Providers perform checks and actions and return their own responses.

The rental application secures the booking commitment. Providers shall confirm their respective examination or physical effect.

Basic assumptions for this example

Assumption for the exampleSignificance to the draft
One operator · one regionA shared responsibility for bookings and vehicle inventory.
Concrete vehicle · planned periodThe occupancy is secured per vehicle and time window.
Sample reservation A · 9-12 o'clock · Hold 10 minutesThe order starts as a temporary hold and becomes a binding reservation only after the payment check.
Verification, payment and access through providersThe application stores orders, vendor references and feedback.
Booking up to settlementActual use and payment history remain traceable separately.

One operator · one region

Significance to the draft
A shared responsibility for bookings and vehicle inventory.

Concrete vehicle · planned period

Significance to the draft
The occupancy is secured per vehicle and time window.

Sample reservation A · 9-12 o'clock · Hold 10 minutes

Significance to the draft
The order starts as a temporary hold and becomes a binding reservation only after the payment check.

Verification, payment and access through providers

Significance to the draft
The application stores orders, vendor references and feedback.

Booking up to settlement

Significance to the draft
Actual use and payment history remain traceable separately.

The assumptions determine for which situation we design a solution. A different usage or business model can result in different requirements and domain decisions.

Variants for a later extension

Further reading
Sharing with spontaneous return
Current position, service area and an open end of use change availability check and return.
Car subscription
A person uses a vehicle over several billing periods. Recurring rates and rules for renewal or end of the contract complement the workflow.
Book vehicle category instead of a specific car
In a class booking, for example, a small car is booked. Which specific car the person receives will be determined later. For this purpose, the system must first manage the available stock per category.

Terms in this step

Basic assumption
An initial condition set for the example, such as the usage model or the number of operators. Requirements are then derived from these conditions.
System boundary
Determines which decisions your own system is responsible for and which services it receives from outside.

Try it yourself

Assign three decisions: Who ensures the occupancy of vehicle A? Who confirms the payment authorization? Who confirms the physical opening? Justify the system boundary.

A hint for your attempt

Differentiate the local booking commitment from an effect on the provider.

Compare with a possible solution
Rental application
It secures vehicle A against competing bookings for 9-12 o’clock and carries out the rental status.
Payment service providers
It confirms the authorization of an amount. The rental application assigns its feedback to the reservation.
Access providers
The access provider confirms physical unlocking. Only a verified response allows the rental state active.

Apply to your project

Apply the boundary decision to your own project and note which local fact must remain authoritative despite external responses.

Step 2 translates order and boundary into functions, immutable rules, and measurable quality goals.