Anti-Patterns
Nearly every cloud-native failure is coupling sneaking back in: the recurring anti-patterns that reintroduce it, the five heuristics that catch them in review, and the whole book compressed to five lines.
Here is the most useful framing in the book, and the one to remember for code review: nearly every cloud-native failure is coupling sneaking back in. You did the work to separate things into services with contracts and events. Entropy and deadlines pull them back together. This closing chapter names the specific ways that happens and gives you heuristics to catch them.
How cloud-native API systems go wrong
Each of these is a callback to an earlier chapter, and each one reintroduces exactly the coupling the architecture worked to remove:
- Distributed monolith: services that must be deployed together. You paid all the cost of distribution and kept all the coupling.
- Shared database: two services reading and writing one table. The table is now an un-versioned, un-owned contract between them.
- Chatty call chains:
ordercallsinventorycallspricingcalls…, deep synchronous hops that couple availability and latency end to end. - No contract / leaky internal models: exposing database rows as the public API, so every internal change is a breaking change.
- Smart pipes, dumb endpoints: business logic creeping into the gateway or an ESB, so the routing layer becomes the new monolith and no single team can change a flow safely.
- Missing observability: debugging distributed systems by guesswork.
- Retry storms: retries with no backoff or bound, turning a blip into an outage.
If you keep one diagram for review, keep this pairing.
The heuristics that keep you out of them
Five tests to apply in design and code review (paste them into a PR template):
- If two services must deploy together, they are one service: merge them or fix the contract.
- One writer per dataset. Everyone else reads through the API or subscribes to its events. No shared tables.
- Push aggregation to a gateway or BFF, and forbid synchronous call chains deeper than one hop.
- No contract in the registry, no merge, and every retry has a timeout and a bound.
- If you can’t trace it, you can’t run it. Observability is a launch requirement, not a follow-up.
The whole book, in five lines
If you remember nothing else:
- Cloud-native is a set of properties; the platform exists to make them the default.
- Match each interaction to its style (REST, gRPC, GraphQL, or async), and compose at the edge.
- Own your data; share it as contracts and facts, never as shared tables.
- Make the contract a governed artifact: a registry to enforce it, metadata to find it, observability to watch it.
- Watch for coupling sneaking back in: every anti-pattern in this chapter is a face of that one failure.
Further reading
The books behind these sections, from service boundaries and distributed data to API design, coupling and stability patterns, are collected in the Bibliography with links to each publisher, alongside the relevant IETF RFCs and drafts.
That closes the thirteen core sections. The appendices that follow go deeper on the questions that always come up (protocols, versioning, WebSockets, sagas, errors, DDD, coupling, shutdown, routing, decomposition, caching, and failure modes) and can be read on demand.