Say it's sprint planning and the checkout team is blocked again. Their change is done, but it ships in the same release as catalog, and catalog isn't ready. Someone opens the dependency board: three features waiting on one shared deploy. A week later the word "microservices" shows up in a planning doc. Nobody has picked a technology yet. What they're really asking for is a way to stop waiting on each other.
That's a fair thing to want. A growing monolith gets heavy: one pipeline for every team, one database where every shortcut and hotfix piles up, a release window everyone has to agree on. This post is about what happens after you say yes to services: the bill that arrives, line by line, and how to tell if you're ready to pay it. If you're still deciding whether to split at all, When to Split a Monolith covers that question first.
Where the complexity goes
Splitting a system rarely makes complexity disappear. It moves it out of the code and into the space between services. A function call becomes a network call that can time out. A database transaction becomes a saga. A stack trace from one process becomes a trace across five services, three queues and two dashboards. Each repo looks cleaner, and the system as a whole gets bigger.
Martin Fowler laid out the trade clearly in 2015. Microservices give you strong module boundaries, independent deployment and freedom to mix technologies. They cost you distribution ("remote calls are slow and are always at risk of failure"), eventual consistency and operational complexity (Microservice Trade-Offs). Earlier that year he called that extra cost the microservice premium, and his advice was blunt: don't even consider microservices unless the system is too complex to manage as a monolith (MicroservicePremium).
So the useful question isn't "are microservices good?" It's "which of these costs are we already paying, and which ones are we ready to take on every week?" Here's the bill.
Operations: every service is a small product
Each service needs its own build, deploy pipeline, config, secrets, health check, alerts, logs, dashboard, rollback plan and owner. One service is easy to look after. Ten need discipline. Fifty need a platform team, or every engineer ends up spending part of their week remembering which service fails in which way.
Fowler's point here is about skills before tools. With many small services redeploying often, continuous delivery goes from nice to have to essential, and you need a mature operations team plus developers and ops actually working together. Without that, he warns, your microservice applications "will be traumatized." Strong wording, and anyone who has been paged at 2 a.m. by a service they've never opened will understand it.
Data: consistency stops being free
In a monolith, consistency is pleasantly boring. One transaction updates the order and the invoice together, and the code can trust that. Once each service owns its data, that guarantee goes away. Fowler's version: each service manages its own data, so you can't wrap an update in one transaction, and developers have to notice when data is out of sync and handle it.
In practice that means an order can exist a moment before its invoice shows up, or a payment can succeed while the notification service is down. All of it is solvable with an outbox, idempotent consumers, sagas and a reconciliation job. None of it is free, and some of it reaches the product: support and users need words for states like "payment received, order confirming." Who Owns the Data? goes through those patterns one by one.
Observability: the answer isn't in one log anymore
A user says checkout is slow. In a monolith you open one log and one profiler. With services, the slow part could be anywhere along the gateway, auth, orders, inventory, payments, the broker and the email worker. Finding it without guessing takes trace IDs that cross every hop, structured logs, a few good metrics and a team that knows how to read them under pressure.
That has to be designed in early, because it's part of how services talk to each other. A service that drops the trace header breaks the story for everything downstream. Observability as a Design Choice covers what to build in from the first service.
Testing: the bugs live at the seams
Unit tests still help, but the painful failures happen between services: a renamed field in an API response, an event missing a property the consumer relied on, a timeout that only shows up when a downstream service is slow. Spinning up every service for an end-to-end run gets slow and flaky fast. Pact's docs describe that approach as "expensive and brittle integration tests."
The usual answer is contract testing. Fowler describes it as a separate set of tests that check your test doubles still behave like the real service, so your own tests stay fast and you still find out when the other side changes (ContractTest). Pact turns that around into consumer-driven contracts: each consumer writes down the parts of the API it actually uses, and the provider's build checks it still honors them. It's real work to set up and keep current, and it belongs on the bill.
Coordination: the thing you were trying to escape
Here's the awkward one. Coordination is what microservices are supposed to reduce, and it's the cost that most often gets worse. Teams can only deploy on their own when contracts are stable and ownership is clear. If shipping a feature still means three teams releasing in a certain order, you haven't left the monolith's waiting room. You've rebuilt it with network calls in between.
Shared code is a harder-to-spot version of the same problem. A library that every service depends on now has dozens of copies at different versions, and a fix to it means a deploy to every service that uses it.
A team that went back
Segment's engineering team wrote one of the most honest public accounts of this bill. In 2018 Alexandra Noonan described how they ran each data destination as its own service with its own queue, and ended up with more than 140 services (Goodbye Microservices). Shared libraries drifted to different versions across repos. Some services handled a few events a day while others took thousands per second, so tuning autoscaling was, in their words, "more art than science." Tests made live HTTP calls to partner APIs and failed often. By the end, three full-time engineers spent most of their time just keeping the system running.
They merged the destinations into one service in one repo, with one version per dependency, and replaced live test calls with recorded traffic. A shared-library change no longer meant deploying 140-plus services. They were also upfront about what they gave up: fault isolation got harder, since one bad destination can now crash the whole service. The way I read it: the costs they were paying stopped matching the benefits they were getting, so they changed course.
| Line on the bill | What you pay every week | Sign you're ready |
|---|---|---|
| Operations | Pipelines, alerts, dashboards and on-call per service | Spinning up a new service with logs and alerts is a routine, scripted task |
| Data | Outbox, sagas, reconciliation, in-between states in the UI | The team can explain what users see while services catch up |
| Observability | Trace propagation, structured logs, shared dashboards | You can follow one request across every service without asking another team |
| Testing | Contract tests, test doubles, a staging story | A breaking API change fails a build before it reaches another team |
| Coordination | Versioned contracts, clear owners, shared library upgrades | Most features ship by changing one service |
When the bill is worth it
Services start to make sense when the pain is real and shows up every week. Teams keep getting blocked by shared deploys. One domain needs to scale or fail on its own because it's much busier or riskier than the rest. And the organization already handles pipelines, monitoring, incident response and API contracts well enough that adding a service is routine.
Until then, a modular monolith is a strong choice in its own right. You get clear module boundaries and owners, one deploy, real transactions, and seams you can extract later when one of them clearly needs to stand alone.
Pull out the right service and the deploys get smaller, the owner is obvious, and one dashboard tells one team how their thing is doing. Pull one out too early and every feature needs a choreography diagram, local setup breaks weekly, and every bug turns into an investigation across services nobody fully owns. The diagram can look the same in both cases. The difference is whether the team had a reason and the practice to pay the bill.
Try this week
- Write down the one problem you expect services to solve. If it's "teams wait on each other," check whether module boundaries inside the monolith would fix it first.
- Time how long it takes to get a brand-new service to production with logs, alerts and a dashboard. That number is your operations bill per service.
- Pick your busiest request path and try to follow one request end to end. Note every place the trail goes cold.
- Count how many of last month's features needed more than one team to release. That's your coordination cost today.
- If you already run services, find the shared library with the most versions in use and plan one upgrade across all of them.
Good architecture is one your team can run, explain and improve on an ordinary Tuesday afternoon. If you're ready to pay for services every week, they can give teams real room to move. If not, a well-kept modular monolith for another year is a perfectly good answer.