Free — no signup required

What Is Reasoning by Analogy?

2 min read

Pattern Matching from Existing Solutions

Reasoning by analogy means solving a problem by finding a similar, already-solved problem and copying its solution. This is the default mode of human cognition. Our brains are pattern-matching machines—we survived as a species by recognizing that "this berry looks like the one that made me sick" without needing to re-derive the biochemistry of toxins each time.

In engineering, analogy sounds like this:

  • "Netflix uses microservices, so we should too."
  • "Google runs everything on Kubernetes, so that's the right choice."
  • "The industry standard is to use Terraform for infrastructure, so let's adopt it."
  • "Stack Overflow says to use Redis for caching, so let's add a Redis layer."

Each of these statements maps your problem onto someone else's solution. The implicit logic is: "Their situation is similar enough to ours that their solution will work for us."

Why Analogy Is Useful

Analogy is not a flaw—it is an essential engineering tool. Here is why:

Speed. Deriving every decision from scratch would be paralyzingly slow. If you need a CI/CD (Continuous Integration/Continuous Delivery) pipeline and your team uses GitHub, adopting GitHub Actions is a reasonable analogical choice. You don't need to benchmark every CI system from first principles.

Risk reduction. Battle-tested patterns carry embedded lessons from other teams' failures. When you adopt a well-known pattern like the 12-Factor App methodology, you inherit years of operational wisdom about configuration management, logging, and statelessness.

Communication. Shared patterns create shared vocabulary. When you say "we use a sidecar pattern for logging," every experienced engineer immediately understands the architecture without a whiteboard session.

Where Analogy Breaks Down

Analogy fails when the transfer conditions don't hold—when your situation differs from the reference case in ways that matter. The danger is that analogies hide their assumptions. When someone says "Google does X," the unstated assumptions include:

  • Google has thousands of SREs
  • Google has custom-built internal tooling for everything
  • Google operates at a scale where certain problems (like global consistency) are unavoidable
  • Google has a specific engineering culture that supports certain practices

If your company has 15 engineers, no dedicated ops team, and serves a single geographic region, almost none of those assumptions transfer.

Key Point: Analogy is reasoning by similarity. Its quality depends entirely on how similar the reference case actually is to your situation. The failure mode is not "analogy is wrong"—it's "the similarity was assumed, not verified."

This is one of 18 chapters

Every chapter is free — Kubernetes, Terraform, SRE, distributed systems, and more — with fast daily review built in.

Sign up free