Skip to content

Communicate a design under a chosen timebox

11 min reading

A concise discussion of scope, estimates, alternatives and failure behavior

Page details

System Design · Optional interview practice

11 min reading · 24 min with practice

Sources

Published · Last edited:

Prerequisite: Completed core course; the AI module is optional. For basics, use the independent System Design foundations.

More
20px

Hypothetical scenario. Northwind asks an engineer to explain the core job platform briefly. The engineer begins listing queues and databases. Maya still does not know what a submission receipt promises, while Priya cannot locate the uncertain-completion boundary.

Dev: “The components are familiar, but the reasoning is missing.”

Maya: “Begin with the user action, then give us the decisions we can challenge.”

Practise a concise design explanation linking scope, workload, authority, alternatives and recovery. This optional exercise requires the completed core; AI specialization is not required. Its discussion budget is an educational choice, not an employer interview rule or a hiring prediction.

What must the audience understand before the first component?

Start by describing one intention in ordinary language: an employee submits an approved conversion job and receives a durable receipt, then later retrieves a complete result or a truthful terminal status. Clarify who can submit, which inputs are supported and whether execution may change external state. These answers establish the design’s scope before a storage choice appears.

State an invariant separately from a performance preference. The result pointer must identify a complete accepted artifact; a selected waiting-time objective describes how quickly the platform should progress under a declared workload. If the objective lacks a workload and denominator, acknowledge that it still needs definition.

Ask a small number of questions that change architecture. Whether arbitrary hostile code is supported changes isolation. Whether a result can be recomputed changes recovery. Asking for every imaginable product detail before offering a baseline can consume the discussion without reducing the main uncertainty. Make a reasonable assumption explicit when a lower-impact answer is unavailable.

Use one diagram to support a line of reasoning

Draw the accepted job record, scheduling obligation, bounded attempt and guarded result pointer. Label the arrows with the records or commands they carry. Then follow one successful request. Explain which state becomes durable before acknowledgement and what a worker is authorized to do.

Introduce a component only when it takes responsibility for a stated obligation. A queue carries scheduling work; it does not become proof that a job exists or that an external effect occurred. An object store holds immutable artifacts; it does not decide which attempt is authoritative. This keeps the explanation coherent even if the interviewer changes a technology choice.

Use a second level of detail only for a question that needs it. The same page should not oscillate between enterprise context, database indexes and network packet mechanics without showing why. A useful diagram makes an argument inspectable; it need not contain every operational component the final service will use.

A design explanation connects promises to failure evidenceA discussion starts with scope and an invariant, uses a declared workload to justify a mechanism, and closes the reasoning with failure recovery, a tradeoff and the next evidence needed.Scope + invariantDeclared workloadExplicit assumptionsMechanism + diagramWorked bottleneckAlternative rejectedFailure + recoveryTradeoff + limitNext measurement
A design explanation connects promises to failure evidence

Build a small review packet for two audiences

Hypothetical scenario. Present the same reservation design to an operator and a product reviewer. Both need the customer promise and authority boundary. The operator additionally needs overload, retry, restore and ownership-change behavior; the product reviewer needs conflict outcomes, uncertainty and the consequences of a stricter promise.

Build a small review packet for two audiences — selected design evidence
Review artifactProduct questionOperator question
Contract + ADRWhich outcome is promised?Which assumption can fail?
Resource envelopeWhat workload is admitted?What survives worker loss?
History + invariantCan two users both win?Where is the condition enforced?
The three views explain the same decision at different scopes without substituting component names for a protocol.The three views explain the same decision at different scopes without substituting component names for a protocol. Context: users to System: owners: zoom into responsibility; System: owners to Mechanism: conditional grant: zoom into correctness.Context: usersSystem: ownersMechanism:conditional grantzoom into responsibilityzoom into correctness
The three views explain the same decision at different scopes without substituting component names for a protocol. Enlarge the diagram to inspect its labels; the surrounding records and explanation give the text alternative.

Use a context view for people and external systems, a system view for deployed responsibilities and a mechanism view for the conditional reservation race. The C4 levels help choose scope, but a picture at one level cannot establish a lower-level concurrency claim. Name the stored identity and transition when correctness depends on them.

A concise packet carries one ADR, a workload envelope, a failure map and a decision trigger. Timeboxing removes secondary detail without dropping the counterexample. When challenged, revise the unsupported assumption or protocol rather than adding boxes. Keep the unproven claim visible so the next measurement has a purpose.

Allocate a chosen discussion budget

Hypothetical worked example. Choose a forty-minute rehearsal. Allocate five minutes to scope, five to workload and quality goals, ten to the baseline path, ten to a bottleneck and failure, five to alternatives and five to review. The total is 5 + 5 + 10 + 10 + 5 + 5 = 40 minutes. This is a selected practice schedule, not a universal interview format.

At minute twelve, only twenty-eight minutes remain: 40 − 12 = 28. If eight minutes were spent on context instead of the selected five, the overrun is 8 − 5 = 3 minutes. Recover by reducing lower-priority detail, not by silently removing the failure discussion or racing through unexplained component names.

For technical arithmetic, retain the job baseline: twelve slots, thirty seconds mean occupancy, twenty-four attempts per minute and 1.2 attempts per useful completion. Useful capacity is 24 ÷ 1.2 = 20 jobs per minute. With eighteen arrivals, net spare capacity is 20 − 18 = 2 jobs per minute. A one-hundred-twenty-job backlog drains in 120 ÷ 2 = 60 minutes under those fixed assumptions.

Choose that calculation because it changes a design decision: a retry increase reduces useful recovery capacity. Do not fill the board with unrelated storage and bandwidth estimates merely to appear quantitative. State the excluded overhead and the measurement that would establish whether the selected attempt occupancy is representative.

Compare options against the same requirement

When choosing durable job state with an outbox over a queue-only receipt, explain the crash window each option leaves. The chosen boundary makes accepted scheduling recoverable; it adds state and reconciliation work. If the available substrate already supplies the required durable acceptance semantics, explain that rather than rebuilding them from habit.

An alternative discussion should identify a real tradeoff. More isolation can increase startup cost and operational complexity; weaker isolation can fail the threat model. More retries can improve completion for transient failures while exhausting deadline or capacity. A longer queue can absorb a burst while worsening wait and retained-work obligations.

Say what evidence would change the decision. If the workload becomes arbitrary untrusted code, revisit the worker boundary. If result generation becomes non-repeatable, inspect effects and recovery again. This makes the answer adaptable instead of presenting the selected diagram as the only correct architecture.

In the wild: diagram levels have defined purposes

The C4 container-diagram guidance describes a view of applications, data stores and their relationships. Use it to keep responsibilities and communication visible at a consistent level. The word container in this notation does not itself mean a Docker container or establish an isolation guarantee.

The notation is a communication aid. It does not prove the chosen workload, authority checks or recovery protocol. Add labels and a brief request narrative that explain those decisions. A formally tidy picture with unnamed arrows can still fail to communicate the mechanism.

The explanation survives success but not a timeout

Hypothetical failure scenario. The engineer presents only the happy path and says a worker timeout means the job failed. A reviewer asks what happens if the artifact was already uploaded. The engineer adds a new queue but never identifies who may publish the result. The discussion has accumulated components while leaving the uncertainty unchanged.

Return to the invariant and explain the current attempt check, immutable output and unresolved state. Show the paused old worker and the replacement on the same timeline. A clear admission of an unsupported external effect is more useful than inventing an exactly-once guarantee during the conversation.

Rehearse for clarity and correction

Record a short written outline or speak through the diagram with a peer. Ask the listener to restate the receipt promise, one bottleneck and the failure recovery. If they cannot, revise the explanation before adding more technical depth. This is a learning exercise, not evidence that the architecture has passed production review.

Separate a missed explanation from a design defect. Sometimes the mechanism is correct but unstated; sometimes a question reveals a real missing authority. Respond by identifying which assumption changed and revising the relevant decision. Avoid defending every original box as though changing the design were a failure.

Use the timebox to prioritize reasoning, not to hide limitations. Close the discussion with a bounded baseline, one important tradeoff and the next measurement or requirement needed. The next page provides a different product brief so that the same method must transfer beyond a memorized job example.

Challenge the proposed mechanism

The reviewer asks what happens after a lost success reply. Which artifact should the presenter open?

Reveal the design reasoning

The operation-identity and recovery history, then the ADR consequence for pending outcomes. A context diagram cannot answer it. Preserve the timebox by deferring unrelated technology detail, not by omitting uncertainty.

Decision and reconsideration: Communicate one falsifiable decision at the appropriate scope. Retain its counterexample, owner and reconsideration trigger.

Check the design against changed conditions

  1. The discussion is three minutes behind. Which content should be protected?

    Reason through the consequence

    Keep the product promise, decisive mechanism and failure boundary. Reduce unrelated detail and say which lower-priority analysis remains rather than eliminating recovery without notice.

  2. Should every technology mentioned receive its own box?

    Reason through the consequence

    Only if that level of detail serves the current question. Keep responsibilities and relationships at a consistent level, then zoom into a specific decision when needed.

  3. The reviewer changes the workload. Must the original design be defended unchanged?

    Reason through the consequence

    No. Identify the changed assumption, recalculate affected demand and revise the relevant decision. Preserve unaffected invariants and explain the new tradeoff.

Page 68 changes the task to an unseen equipment-booking brief. Make your own design before reading the guidance, then use the visible educational rubric to find unsupported assumptions rather than chase a hidden preferred stack.

Northwind decision log

Explain the user promise before component names.
Use one relevant derivation and one concrete failure to defend the mechanism.
Next, transfer the method to an unseen brief with a visible rubric.

Go deeper: Architectural drivers and communication