Hoppa till innehåll

the Failure Review

Det här innehållet är inte tillgängligt på ditt språk än.

Module 4 of 5 in the chapter What I Would Architect, chapter 24 of the Integration Architect course. Each module stands on its own. Previous: The Course Is the Checklist · Next: Checkpoint 3: Steve Trucking, the Whole Integration Design

The question this module answers: How do you review an integration design for the day something fails, before that day comes?

Most design reviews look at a landscape where every arrow works. That’s reviewing the sunny day. But every arrow stops one day, and the design that matters is the one that’s running when it does.

So the review that’s most integration’s own is this one: take an arrow away, and see what happens next.

You won’t walk every arrow in one review, and you don’t need to. Pick the ones where a failure hurts most:

  • The busiest arrow, because its backlog grows fastest.
  • The arrow a person waits on, because a failure there is a spinning wheel in front of a customer.
  • The arrow with no undo, a payment, a message sent, a truck dispatched (chapter 15).
  • The arrow a partner owns the other end of, because you can’t fix their side and may not be able to reach them.
  • The arrow that crosses into another org or to an agent, because the failure has two owners.
  • Any arrow that shares something: an identity, an allocation, a queue. A failure there spreads.

Three or four arrows, chosen this way, will find most of what a failure review can find.

Put the landscape on the screen, every box in its place. Mark the arrow red, with an X. Then zoom in on it alone: the two systems and the call between them. Chapter 14 drew it for Steve Trucking, with Redrock’s webhook not answering on an ordinary afternoon (chapter 14).

The landscape view matters. It’s where you see what else that arrow touches: which other arrows wait on it, which share its identity, which spend from the same allocation. The zoomed-in view is where you ask the questions.

Now walk forward in time. Chapter 1 gave you the clock: a minute, an hour, a day, a weekend (chapter 1). At each step, one question.

  1. The first call fails. Does anyone wait on it? What does the caller do with the timeout, and is a resend safe (chapter 14)?
  2. An hour. Where do the failed messages wait? Who has been told, and how did they find out: an alert, or a phone call from the business?
  3. A day. Does tomorrow’s run carry today’s gap, or start fresh and leave it behind? Does anyone downstream make a decision from data that’s now a day old?
  4. A weekend. Who can you reach on a Saturday, on both sides? Can you stop the arrow yourself? Chapter 13’s Saturday lockout is the story behind this question (chapter 13, chapter 14).
  5. Past the window. Platform events and change events are kept for 72 hours (chapter 11). After that, the oldest are gone, with no error. At what point does a gap on this arrow become data loss, and what’s the plan then (chapter 1)?

If the design has an answer at every step, the arrow is designed for its bad day. If it runs out of answers at “an hour,” that’s a finding.

Walk the clock One arrow taken away, then five steps forward in time, numbered from top to bottom. One, the first call fails: does anyone wait, and is a resend safe? Two, an hour: where do the messages wait, and who has been told? Three, a day: does tomorrow's run carry today's gap? Four, a weekend, in amber: who can you reach, and can you stop it yourself? Five, past 72 hours, in coral: the oldest events are gone; is it data loss now? Underneath: ask at every step, at both ends; where the answers run out, that's the finding. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.59.0", "built": "2026-11-21", "id": "DGM-INT-WA-41", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "flow/sequence 0.1.0", "theme": "stevetecharc 1.4.0"} The first call fails Does anyone wait? Is a resend safe? An hour Where do the messages wait? Who has been told? A day Does tomorrow's run carry today's gap? A weekend Who can you reach? Can you stop it yourself? Past 72 hours The oldest events are gone. Is it data loss now? 1 2 3 4 5 Ask at every step, at both ends. Where the answers run out, that's the finding. HOW TO READ IT 1 the order a step what comes next © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Walk forward in time. Where the answers run out, that’s the finding.

Then turn the arrow around. Every arrow has two ends, and each end has its own job when it fails. As I put it in class: whoever is the client takes responsibility for the connection. The client records the failures, logs the problems with security and credentials, handles the errors that come back from the remote system, and decides who to notify. The server has its own errors coming in: malformed data, its own timeouts, an extraordinary number of attempts that it needs to notice and log.

So for every arrow you take away, ask the questions on both sides. If your side calls a partner, your side owns the retry. If the partner calls you, ask what they’ll see when you time out, and whether their resend is safe on your side. Chapter 14’s reciprocal is the same habit (chapter 14).

The arrow comes back. The review isn’t over, because recovery has its own ways to go wrong.

  • How do you know what got through? Every message sent and never confirmed has to be found, not guessed at. That’s the return receipt (chapter 14).
  • Which recovery, at which size? Replay one, catch up, or resync. It depends on the size of the gap, and it should be written down before the outage, not decided during it (chapter 14).
  • Does the catch-up fit? Here’s the one reviews miss. When a day’s backlog drains, it spends the same shared allocations as every other arrow: API calls, event deliveries. A design running at 90% of an allocation on a normal day has no room to recover. That’s one more reason for module 3’s headroom rule: the 30% you leave free is also your recovery room.
  • Is the order right? A backlog that drains out of order can overwrite a newer change with an older one. The newest change has to win.

Two kinds of arrow need one more question each.

An arrow to another org. The other org can fail on its own, be restored, or move. What’s the recovery point, and does a restore change the record IDs your side is holding (chapter 21)?

An arrow to an agent. A delegated task can fail, be rejected, be cancelled, or never come back before your deadline. Walk each ending, and make sure the fallback chain ends with a person who sees the whole story (chapter 23).

Every gap the walk finds goes on the review card from module 3, like any other finding: the area is failure and recovery, the question is the step where the answer ran out, and the finding is stated as a fact. “No one on Redrock’s side can be reached on a weekend” is a finding. “Support could be better” isn’t. Then a severity and an owner.

Hands-On: Take an Arrow Away From Checkpoint 2

Section titled “Hands-On: Take an Arrow Away From Checkpoint 2”

Open the design from Checkpoint 2. Pick one arrow using the list above, and say why you picked it. Then:

  1. Mark it red on the landscape, and list what else it touches.
  2. Walk the clock: a minute, an hour, a day, a weekend, past 72 hours. Write one answer at each step, or write that there isn’t one.
  3. Turn it around: what does the other end see, and is its resend safe?
  4. Bring it back: which recovery size, how you’ll know what got through, and whether the catch-up fits the allocation.
  5. Write every gap on a review card, with a severity and an owner.

If you finish with an empty card, pick a harder arrow.

Beyond the exam. The exam asks about error handling for each integration option, and about escalation and recovery when an integration fails. The failure review is where you prove the design has those answers, arrow by arrow, before production asks the questions for you.

  • Which arrows to take away in each review, and why those.
  • The answer at every step of the clock, for each one, at both ends.
  • The point where a gap becomes data loss, and the plan before it.
  • How each arrow recovers, at which size, and whether the catch-up fits the allocations.
  • Who can be reached, and who can stop the arrow, on a weekend.
  • Every gap on the card, with a severity and an owner.