34/39
Part 6 of 6 · Trade-offs, reviews and evaluationLearn and do

Six questions find most of the problems

At each hop of that walk, ask the six questions in this table.

AskWhat you're looking forA typical fix
What happens when a worker dies mid-job?Lost or duplicated workLeases that expire, idempotent job ids, checkpoints
What happens when load doubles?Unbounded queues, no admission controlBounded queues, shedding, per-tenant quotas
What happens when a dependency slows down?No timeouts, threads piling upA deadline on every call, passed downstream
What happens on retry?Retry storms, double processingBackoff with jitter, retry budgets, idempotency
What if one input always fails?One bad job blocking a queueBounded retries, then a dead-letter queue
How would we know the output is wrong?Monitoring that sees errors but not qualityQuality checks on live outputs

These questions find the most problems in a serving or batch design. Amazon defines a dead-letter queue (DLQ) simply: a separate queue that stores the messages that can't be processed, so someone can investigate them later.

The last row is the easiest to miss. Anthropic's September 2025 postmortem is an example: users were reporting worse answers, and the evaluations Anthropic ran didn't capture it (1 source). The fix it announced was to run its quality evals continuously on true production systems (1 source).

questions in the editor holds the six questions from the table, each with the defense that answers it. Write findings(design): design is the set of defenses a design has, and you return the questions it can't answer, in table order.