Recap
The Story So Far
Before We Begin
Section titled “Before We Begin”Most software and platform architecture content focuses on the solution: the patterns, technologies, and diagrams that describe where we ended up.
What often gets less attention is how we arrived there. What problem were we actually solving? What alternatives did we consider? What tradeoffs were we willing to make? And what would have led us to a different decision?
That’s what ZibiWorks is about.
ZibiWorks follows a fictional company through an ongoing modernization journey. It’s not a reference architecture or an attempt to demonstrate the one correct way to decompose a monolith, adopt cloud services, introduce events, build a resilient platform, or evolve toward SaaS.
Instead, we’re making the decision-making process visible. Every decision is shaped by the company’s business priorities, technical constraints, existing investments, and the consequences of decisions we’ve already made.
You aren’t expected to agree with every choice. In fact, if you occasionally find yourself thinking, “I understand why they did that, but I might have gone another way,” then the series is doing its job.
The goal isn’t to teach a formula. It’s to explore a mindset.
What follows is a quick look back at the journey so far, the challenges we’ve encountered, the decisions we’ve made, and how one led to the next. If something catches your interest, each section includes links to the installments where we explored the alternatives and tradeoffs in more detail.
How We Got Here
Section titled “How We Got Here”ZibiWorks makes robotic companion animals called Zibis. Business is good, but the platform behind it is struggling to keep up.
Over the years, incremental changes have left us with a tightly coupled monolith, a heavily shared database, and partner integrations that make even simple changes risky. Nobody set out to build it that way; it grew organically, one reasonable decision at a time.
We know modernization is necessary, but replacing the entire platform introduces risks of its own. Rather than starting with a technology or a target architecture, we started with a more fundamental question:
What does the business need to accomplish, and what’s preventing it from getting there?
We’ve made a fair number of architectural decisions since then, but we haven’t deployed a single microservice yet.
That’s intentional.
Read: Start Here
Also in this Section: 01. What’s Driving Change?
Part I: Understanding the Problem
Section titled “Part I: Understanding the Problem”The first job was resisting the urge to fix everything. Plenty of the platform is imperfect, but not every imperfection is hurting the business. So we started by separating the problems creating real friction from the ones that were merely annoying.
Then came a question that sounds simpler than it is: move to the cloud first, or modernize first? We decided to move to the cloud, address only what was necessary for that move, and tackle application modernization separately.
That left the bigger choice: rewrite or evolve. A clean rewrite is always tempting. But Fulfillment, the capability under the most pressure, had to improve before peak season, and a full rewrite would have tied that deadline to the readiness of an entirely new platform.
So we chose incremental evolution: improve the system while it continued running the business, rather than betting everything on one perfect future architecture.
Read: 03. Rewrite vs. Evolve
Also in this Part: 01. What’s Driving Change?
and 02. Move It or Fix It First?
Part II: Finding Better Boundaries
Section titled “Part II: Finding Better Boundaries”We’d decided to evolve rather than rewrite. Great. But where do you start pulling apart a monolith without breaking everything around it?
Fulfillment was the obvious candidate. The tricky part was figuring out where Fulfillment actually began and ended.
It turns out that technical layers don’t tell you much about business responsibilities. And sometimes even the business doesn’t agree on what things mean. For example, at ZibiWorks, the word “available” meant three different things to three different teams.
Once we understood the boundary, we still needed somewhere to begin. That’s where the first seam came in: we identified a controlled point where new Fulfillment behavior could gradually replace the old without forcing the rest of the monolith to change at the same time.
We also examined the shipping integration to understand how closely it was intertwined with Fulfillment. It turned out that shipping integration wasn’t really Fulfillment’s responsibility after all. It belonged in a separate utility domain, making it an important boundary decision in its own right.
Read: 05. The First Seam
Also in this Part: 04. Boundaries and Meaning
and 06. Domain or Utility?
Part III: Pulling the System Apart Safely (in progress)
Section titled “Part III: Pulling the System Apart Safely (in progress)”Drawing the boundary solved one problem and handed us the next. The monolith still depends on data Fulfillment is about to own. Moving the code is only part of the challenge. Untangling years of assumptions built around a shared database is another matter entirely.
We decided that after cutover, Fulfillment would become the authority for its data. But the monolith would still need to operate without requiring significant changes to its existing business logic.
We chose to retain a compatible, read-only representation of Fulfillment data in the monolith during normal operations. That would keep existing screens, jobs, and integrations working while preserving a path to controlled fallback.
Fallback introduced its own decisions. Which legacy capabilities could safely resume, and under what conditions? We recognized that fallback might restore only part of the new service’s functionality, but whatever we restored would need to preserve data integrity.
That brought us to another question: how could we keep the legacy representation current, and how would we know we could trust it?
We compared change data capture, API polling, domain events, and a hybrid approach. We chose domain events for transitions that couldn’t wait, backed by reconciliation against Fulfillment’s API.
One distinction kept coming up:
Keeping the legacy view current is not the same as proving it’s correct.
The compatibility bridge still needs to keep the business running without quietly becoming a permanent second owner of Fulfillment’s data.
Read: 08. Choosing the Compatibility Strategy
Also in this Part: 07. Who Owns the Data?
Where We Are Now
Section titled “Where We Are Now”So here’s where things stand. We’ve settled on a modernization direction, chosen our first business boundary, and made foundational decisions about data ownership and compatibility.
The next challenge is putting those decisions into practice. We need to build a transition that can be operated, validated, and recovered safely, without introducing more disruption than the modernization is intended to eliminate.
And while we’ve made some important decisions, there’s plenty left to explore.
The goal isn’t to eliminate the monolith for its own sake. It’s to move responsibilities to better boundaries, one carefully considered decision at a time, while keeping the business running.
Where to Go Next
Section titled “Where to Go Next”Join the Discussion
Architecture is about tradeoffs, and reasonable architects can arrive at different conclusions.
Would you have made the same decision? What would you have done differently?
Discuss this retrospective on LinkedIn