↓Skip to main content
  1. Posts/

The Code Citadel - Introduction

Why this story exists #

Over the years, I’ve had countless conversations with friends and colleagues about the journey from monolithic architectures to microservices. These discussions often circled around the same questions: Why did we leave the simplicity of the monolith? What did we gain? What did we lose? Was it worth it?

I noticed a pattern in these conversations. We’d start with technical terms - “service mesh,” “eventual consistency,” “circuit breakers” - but the real understanding came when we used metaphors. “It’s like moving from a castle to a city,” someone would say. “You trade safety for scale.” Another would add, “But now you need roads, and roads can flood.”

These metaphors stuck with me. They made complex distributed systems concepts feel tangible, even obvious. So I decided to write this story - not as a technical manual, but as a narrative that follows the transformation of a travel service from a single Master Clerk in a Keep to a distributed system serving an entire kingdom.

This is the story of the Royal Travel Service, and through it, the story of every team that has made this journey.


The articles #

  1. The Fall of the Keep - The rise and inevitable decline of the Monolithic Castle

  2. Roads of Mud and Stone - The treacherous network and the fallacies of distributed computing

  3. The Merchant’s Ledger - The fragmentation of truth and distributed transactions

  4. The Great Fire - Engineering for catastrophe with resilience patterns

  5. The City Watch - Observability, tracing, and governance in the distributed city


Who this is for #

This series is for anyone who has:

  • Wondered why their monolith is called “legacy” when it works perfectly fine
  • Debugged a distributed transaction failure at 2 AM
  • Tried to explain microservices to a non-technical stakeholder
  • Asked “Was this migration worth it?”
  • Built a system that grew beyond what one team could manage

It’s also for anyone who is about to make this journey and wants to understand what they’re getting into - not just the technical patterns, but the trade-offs, the pain points, and the reasons why teams make these choices despite the complexity.


A note on the Metaphor #

Medieval cities weren’t perfect. They were dirty, dangerous, and disease-ridden. But they scaled in ways castles never could. They enabled trade, specialization, and growth. The same is true of microservices.

This series doesn’t advocate for or against microservices. It simply tells the story of transformation, with all its benefits and costs. The goal is understanding, not prescription.

Some teams should stay in the Keep. Others must build the City. The key is knowing which you are, and why.


Begin the journey with The Fall of the Keep, where we meet Master Clerk Edmund and witness the crisis that forces the move from Castle to City.

2026