System Design Atlas

Restaurant orders between service and kitchen

09 / 10Worked example

Operations and security

Who decides about cancellation after preparation has already begun?

The measurements need responsible roles, responses and evidence of resolution. The kitchen team handles domain investigation under the role contract; technical recovery is coordinated with platform operations when that role is part of the case.

Starting point Measure time until preparation starts separately from transmission.

Assumptions for the example case

Our fictional example design covers one restaurant with table service, individual ordered portions, explicit kitchen acceptance, cancellation before preparation starts and recorded handover. Quantities and quality goals are illustrative test assumptions. Cash-register regulations, payment processing, automated allergen safety and delivery logistics are outside the scope.

Signal, ownership and resolution

Synchronisation, kitchen review and role-specific views

Channel delayedSignal
Channel delayed → Platform operationscheck
Platform operationsCurrent display
Missing ticket responseSignal
Missing ticket response → Kitchen teamcheck
Kitchen teamAcceptance evidenced
Cancellation after startSignal
Cancellation after start → Restaurant managementcheck
Restaurant managementClarification documented

Platform operations restores the channel; the kitchen team reconciles K-131; restaurant management resolves cancellations after preparation has started.

Cancellation arrives after preparation has started. Give restaurant management the portion and its current preparation state. Work already performed and the guest's decision remain traceable.

Access and recovery

Object-level authorisation
Service staff can access only the objects needed for its task. Every change is checked server-side against the role and specific object. The kitchen team has documented permissions to investigate and resolve issues.
Evidence rather than assumption
The kitchen accepts K-131, but the terminal loses the response. The terminal keeps transmission unconfirmed and queries the same order. Pressing Send again creates no additional soup or main-course portions.
Operating agreement
Agree retention periods, on-call coverage, recovery time and acceptable data loss before live operation. Test restoration from backup using the open case from step 7. Keep sensitive payloads out of operational logs.

Assign responsibility for deviations

Assign responsibility for deviations

Give restaurant management the portion and its started state.

Cancellation arrives after preparation has started.

Effort and guest decision remain traceable.

Alternative considered
Automatically resetting the state falsely suggests that preparation never started.
Trade-off
Manual clarification remains.
Reassess
An explicit goodwill policy is agreed.

Terms in this step

Assign responsibility for deviations
Effort and guest decision remain traceable.

Try it yourself

A guest cancels after the start. What role and what evidence close the deviation?

A hint for your attempt

Use the specific entities and conditions from this step. The two solution parts distinguish the decision from its evidenced outcome.

Compare with a possible solution
First part of the solution
Restaurant management clarifies the started effort with service and kitchen.
Second part of the solution
Documented decision keeps track of whether to continue, discard or replace; simple deletion of the portion loses the proof.

Apply to your project

Which corresponding assumption in your project would you check first? Consider this trigger: An explicit goodwill policy is agreed.

Step 10 prevents duplicate soup orders.