Skip to content
← All posts
  • June 22, 2026
  • 10 min read
  • #system-design-interview

The Architecture Diagram Lied

Priya found the incident channel already at 200 messages when she opened Slack. Checkout was timing out. Not failing, timing out, which is worse, because failing is…

Fourteen “independent” services went down together. None of them were down.

Priya found the incident channel already at 200 messages when she opened Slack. Checkout was timing out. Not failing, timing out, which is worse, because failing is fast and timing out means something somewhere is still trying.

The first message in the thread was reassuring, in the way that only a wrong diagnosis can be reassuring: “Payment service is slow, should self-resolve.” Payment wasn’t down. Its dashboard was green. Its pods were healthy. Its database had headroom. By every metric anyone was watching, payment was fine. It had just gotten slow, median latency up from a normal 180ms to something north of two seconds.

Nobody thought that mattered much. Slow isn’t down. Their architecture diagram had fourteen boxes, each with its own database, its own deploy pipeline, its own on-call rotation. Independent services, independently scaled. That was the whole point of breaking the monolith apart three years ago.

Six minutes later, inventory was timing out too. Then loyalty. Then notifications. By minute seven, a third of all checkout requests were failing at the gateway, not because a third of the system was broken, but because the system had quietly become one thing that failed all at once.

The instinct that wasted six minutes

Priya’s first move was the standard one: find the broken service, restart it, watch the graphs recover. That instinct is trained into every engineer who’s worked an incident, and it’s right most of the time, because most outages have a service that’s actually broken.

This one didn’t. Every service that paged was healthy in isolation. CPU fine. Memory fine. Error rate from their own logic: fine. What wasn’t fine was how long each one was waiting on something else before it could finish a request, and nobody had a dashboard for that.

The actual failure was structural, and it had been sitting in production a long time before this particular Tuesday surfaced it. Payment, order, inventory, and loyalty were four services on the architecture diagram. At runtime, during checkout, they were one service, because the request path from “customer clicks pay” to “order confirmed” was a straight synchronous chain through all four, and none of them could answer without an answer from the next one down.

There’s a gap between a deployment diagram and a dependency graph. The deployment diagram says: four services, four databases, four pipelines, fully decoupled. The dependency graph, the one that only becomes visible at 2am, says: one request, four blocking hops, one shared fate.

What a synchronous chain actually costs you

Here’s the part most teams never run the numbers on, because the math is almost too obvious once it’s in front of you.

If a request has to succeed through N services called synchronously (A calls B calls C calls D, and any failure anywhere fails the whole request), the chain’s effective availability isn’t the availability of any one service. It’s the product of all of them. Multiply, don’t average.

Say every service in the chain is solid: 99.9% available on its own, which works out to roughly 8.76 hours of downtime a year. That’s a number most teams would sign off on without blinking. Chain five of those services together synchronously and the math looks like this:

Services in sync chain Per-service availability Effective chain availability Implied downtime/year 1 99.9% 99.900% 8.76 hours 5 99.9% 99.501% 43.7 hours 14 99.9% 98.609% 121.8 hours

Fourteen services, each individually fine by any normal SLA, compound into a system that’s down for over five days a year. Not because any one piece is unreliable, but because reliability multiplies downward the moment dependencies chain synchronously. Nobody approved “5 days of downtime” as a target. Everybody approved 99.9% per service, and the chaining did the rest, quietly, in a place no single team’s dashboard would show it.

I should flag the simplification here: this ignores retries, circuit breakers, and the fact that real failures aren’t independent. A regional network blip takes out everything at once, not one random service at a time. But the simplification is sort of the point. Even in the best case, where failures are independent and every team is hitting its own SLA, synchronous chaining still drags the system’s effective reliability below any individual piece. Real-world correlated failures only make it worse.

Retries don’t save you here. Often they make it worse. Standard AWS SDK retry behavior defaults to a maximum of three attempts with exponential backoff and jitter, and that default exists precisely because naive retries amplify load on an already struggling dependency instead of relieving it. If your downstream timeout is longer than the time it takes the caller to retry, every retry adds a new in-flight request on top of the one still waiting. Concurrency multiplies instead of recovering. A chain that’s already structurally fragile gets a load spike stacked on top, right when it can least afford one.

The diagram that didn’t show the chain

You don’t have to imagine this one. It happened to AWS, in their own infrastructure, in October 2025, and they published an unusually detailed account of it.

On October 19 to 20, 2025, a race condition in DynamoDB’s internal DNS automation in us-east-1 deleted the DNS records for the regional DynamoDB endpoint, making it briefly unreachable. DynamoDB itself isn’t the interesting part of this story. DNS bugs happen. What’s interesting is everything DynamoDB turned out to be load-bearing for, none of which looked coupled to it on any architecture diagram.

EC2’s instance-launch system, the DropletWorkflow Manager, depends on DynamoDB for the state checks it runs against every physical host. When DynamoDB went dark, those checks failed, leases timed out, and new EC2 instances stopped launching across the region. Network Load Balancers depend on newly launched EC2 instances having their network state fully propagated before they’ll pass health checks, so as EC2 degraded, NLB health checks started failing too, marking healthy targets unhealthy and triggering more connection errors. Lambda, ECS, EKS, Fargate, and dozens of other services depend on EC2 and DynamoDB underneath their own abstractions, so the outage propagated through them as well.

None of these are “the same service.” Separate teams, separate deploy pipelines, separate scaling policies. Every property you’d point to as evidence of a decoupled system. And they still went down together, because the dependency graph at runtime didn’t match the ownership boundaries on the diagram. DynamoDB recovered by around 2:25 AM PDT, but EC2 stayed degraded for roughly another eleven hours, because re-establishing leases across the entire fleet after a synchronous dependency comes back is its own slow, serial process. Recovery doesn’t snap back just because the root cause got fixed.

I want to be careful about what this incident does and doesn’t prove. It doesn’t mean synchronous calls are always wrong, and it doesn’t mean AWS’s engineers made some obvious, avoidable mistake. They didn’t. This is genuinely hard at that scale, and they published an unusually candid account of it. What it shows is that “independent services on a diagram” and “independently failing services in production” are different claims, and the gap between them is exactly the synchronous dependency chain nobody drew.

Three places this shows up that aren’t AWS-scale

You don’t need DynamoDB’s scale to hit this. It shows up in smaller systems in a few recognizable shapes.

The shared database. Two services each get their own schema, sometimes even their own connection pool, but both write to tables in the same Postgres instance. A long-running transaction in service A takes row-level locks that block reads in service B. The deploy diagram shows two services. The actual coupling is “whatever happens in this database affects both of us,” and you can’t deploy a schema migration for one without coordinating with the other. That’s not two services. That’s one database with two front doors.

The deep synchronous fan-out. A single user-facing request, “show me this order,” quietly calls out to five or six other services to assemble the response: inventory for stock status, pricing for current price, loyalty for points balance, recommendations for “you might also like,” shipping for a delivery estimate. Each call seems reasonable on its own. Together, the response time is the sum of however many of those calls aren’t parallelized, and the failure mode is the product of all their individual reliabilities, per the math above. The page that “just shows order details” ends up only as reliable as its least reliable dependency, five times over.

The synchronous call hidden inside an async pipeline. This one’s sneaky because the architecture looks asynchronous on paper. Services talk over a message queue, which is supposed to insulate them from each other’s downtime. But if the consumer’s message handler itself makes a blocking REST call to another service before it can acknowledge the message, the queue isn’t actually decoupling anything. A slow downstream dependency stalls message processing, consumer lag builds, and the “asynchronous” system behaves exactly like a synchronous one under load, just with extra latency and a backlog to dig out of afterward.

In all three cases, the diagram says decoupled. The runtime behavior says otherwise. The diagram is wrong in the one dimension that matters at 2am.

What it was actually hiding

The deeper mistake isn’t drawing services that turn out to be coupled. That happens to almost everyone, because coupling is often invisible until something is under load. The deeper mistake is treating “we split it into separate services” as proof of decoupling instead of a hypothesis that still needs checking.

Decoupling isn’t a property of how you draw your boxes. It’s a property of what happens when one box is slow, wrong, or gone. Can the others keep working without it? Can you deploy one without coordinating the rest? Can one box’s bad day stay that box’s problem, or does it become everyone’s problem within six minutes? If the honest answer is no, you haven’t built microservices. You’ve built a distributed monolith, and you’ve paid the operational tax of distribution without collecting the benefit you were buying it for: more network calls, more partial-failure modes, more moving pieces to monitor, none of it bought back with actual independence.

A decision guide, not a verdict

There’s no universal rule here. “Always async” is as wrong as “sync is fine.” What matters is which variable you’re optimizing for in a given call.

Use a synchronous call when the caller genuinely cannot proceed without the answer, the dependency’s availability is at least as strong as the one you’d accept for the caller itself, and the call sits low enough in the chain that it isn’t itself calling three more things synchronously. Payment authorization at checkout is a legitimate synchronous call. You really can’t confirm an order you haven’t been paid for. The fix isn’t removing the synchronous call, it’s making sure it’s the only one in that chain, with a tight timeout budget and a circuit breaker around it.

Use an asynchronous call (queue, event, eventual consistency) when the caller can do something useful before getting the final answer: show “order placed, confirming payment,” send a confirmation email after the fact, update a recommendation index on a delay. Most of what gets built synchronously out of habit actually fits here once you ask whether the user needs this number in the next 200 milliseconds or just needs it eventually.

Re-examine a shared database when two services can’t deploy independently without coordinating schema changes, or one’s write load measurably affects the other’s read latency. That’s the real test, not “do they have separate tables.” Separate tables in the same instance still share the same failure domain, the same connection limits, and often the same maintenance windows. Version-locked, whatever the diagram claims.

Budget timeouts end to end, not per hop. If a request flows through four services and each one defaults to a 30-second timeout, the worst case is two minutes of a spinner before anything fails, and that’s before retries multiply it further. Set a total request budget at the entry point and have each hop pass along whatever’s left, failing fast once the budget’s gone instead of every layer independently waiting out its own full timeout.

The fastest way to find out whether two “independent” services actually are independent: take one down on purpose, in staging, under realistic load, and watch what happens to the other one. If it degrades gracefully, you’ve built what the diagram claims. If it falls over too, you’ve found the coupling before some random Tuesday finds it for you.