Responding to a top-down microservices mandate: uncovering the real goals, gathering evidence (DORA, coupling, cost), proposing a modular-monolith-first plan with targeted extractions, and using an ADR and stakeholder framing to win support.
I'd start by asking what problem the mandate is meant to solve: slow delivery, outages, scaling, hiring, or a board-level "modernise" goal. Then I'd gather evidence: DORA metrics, change coupling from git history, incident causes, load data, team structure and cloud cost.
With four teams and no platform team, 15 services in six months would most likely produce a distributed monolith with higher cost and slower delivery. So I'd propose a phased plan tied to their goal: modularise the monolith with enforced boundaries and team ownership, extract one to three services where there's a measured driver, and build platform capability as we go.
I'd record it in an ADR with the alternatives and triggers for further splits, and present it in business terms: risk, cost, time to value.
The trade-off: I'm asking leadership to trade a bold headline for measurable outcomes.
"I wouldn't say no, and I wouldn't just say yes. A mandate like '15 microservices in six months' is usually a solution to a problem that hasn't been stated, so my first step is a conversation with the sponsor: what outcome do you want to see in six months? Usually it's one of: we ship too slowly, we have too many outages, we can't scale for a big customer, or we need a modern stack to hire. Each of those has a different best answer.
Then I gather data over two or three weeks. DORA metrics for the monolith. Change coupling from git history, to see which areas really change together. Incident causes over the last year. Load profile per feature. The team topology: four teams, no platform team, no one experienced in running many services on call. Cloud cost. For example, at [company] I faced [a similar mandate]. The data showed our lead time was [12 days], but [70%] of that was waiting for a shared, manual release process, not the code structure. I wrote an ADR comparing three options: 15 services now, a modular monolith with targeted extractions, and status quo. I estimated the 15-service option at [~$X] extra platform cost and [two] additional hires just for operations. I proposed instead: automate the pipeline in month one, modularise along four team-owned boundaries by month three, and extract the [reporting] service, which really did need independent scaling, by month five. I presented it as a plan that hits the CTO's actual goal faster. We agreed on it, lead time dropped to [2 days] in [four] months, and we extracted [two] services within the year where the data justified it.
The mistake I see is either refusing outright, which loses trust, or complying silently and building something the organisation can't run. My senior line is: argue about the goal, bring data to the solution, and if I'm overruled, I commit fully and write the risks and the checkpoints down."
| Stated goal | What usually helps more than 15 services |
|---|---|
| "Ship faster" | CI/CD automation, trunk-based development, modular ownership, feature flags |
| "Fewer outages" | Observability, SLOs, isolation of the noisiest component, better testing |
| "Scale for big customer" | Profile and scale the hot path; extract that one component if needed |
| "Modernise / hiring" | Upgrade to .NET 10, containers, cloud-native hosting; modular code |
| "Teams block each other" | Team-owned modules with enforced boundaries, separate pipelines later |
| Data | Source | What it tells you |
|---|---|---|
| DORA metrics | Azure DevOps / GitHub | Where delivery is actually slow |
| Change coupling | git log analysis (e.g. code-maat, CodeScene) | Natural module boundaries |
| Incident causes | Post-incident reviews | Whether isolation would help |
| Load per feature | Application Insights | Which parts need independent scaling |
| Team topology and skills | Org chart | Operational capacity |
| Cost | Azure Cost Management | Baseline for comparing options |
| Option | Delivery outcome (6 months) | Risk | Cost |
|---|---|---|---|
| 15 services now | Mostly platform work; features slow | High: distributed monolith | High |
| Modular monolith + 1-3 targeted extractions | Faster delivery from month 2 | Low-medium | Low-medium |
| Status quo | No change | Goal missed | Low |
Reframing a [15-service] mandate into pipeline automation, four team-owned modules and [two] targeted extractions cut lead time from [12] to [2] days within [four] months, avoided about [$X] a year of extra platform cost, and kept the option to split further with documented triggers.
Checks staff-level judgement: uncovering the real goal, using evidence, proposing a pragmatic alternative, and influencing senior stakeholders while being willing to commit.
Green flags
Red flags
Microservices trade in-process simplicity for independent deployability and scaling. The benefits come only if each service has a team that owns it end to end and a platform that makes running services cheap. With 4 teams, 15 services means each team owns ~4 services plus their pipelines, alerts, contracts and data, without a platform team.
Teams: 4 Services: 15 Platform team: 0
→ every team on call for ~4 services
→ every feature crossing 2-3 services needs coordinated releases
→ shared DB kept "temporarily" → distributed monolith
Analyse git history to find files that change together. If Orders/* and Billing/* change in the same commits 60% of the time, splitting them into separate services will force coordinated releases. Tools: code-maat, CodeScene, or a simple script over git log --name-only.
Stream-aligned teams own a flow of business value; a platform team provides self-service infrastructure to reduce their cognitive load. Without one, each stream-aligned team must build its own pipelines, observability and runtime knowledge. Cognitive load is the real limit on how many services a team can own.
Month 1-2: Delivery basics
- Automated CI/CD, trunk-based dev, feature flags
- Observability: OpenTelemetry, SLOs on top journeys
Month 2-4: Modularise
- 4 team-owned modules aligned to bounded contexts
- Schema per module, contracts, ArchUnitNET boundary tests
Month 4-6: Targeted extraction
- Extract 1-3 services with measured drivers (scaling, isolation, cadence)
- Outbox, contracts, resilience, platform templates (Container Apps / App Service)
Ongoing: Triggers in ADR for further extraction
Each phase has measurable outcomes (lead time, change failure rate, incidents, cost) that map to the sponsor's goal.
In regulated sectors (banking under APRA CPS 230 operational resilience, government under the PSPF and ISM), each new service adds to the inventory of systems that need risk assessment, monitoring and incident response. That is real cost leadership should see in the comparison.
Evidence beats opinion. A small script to estimate change coupling between top-level modules from git history, and the ADR skeleton for the decision.
// dotnet run --file ChangeCoupling.cs -- /path/to/repo (.NET 10 file-based app)
using System.Diagnostics;
var repo = args.Length > 0 ? args[0] : ".";
var psi = new ProcessStartInfo("git", "log --since=12.months --name-only --pretty=format:---")
{
WorkingDirectory = repo, RedirectStandardOutput = true
};
using var git = Process.Start(psi)!;
var output = await git.StandardOutput.ReadToEndAsync();
// Group files per commit, map each file to its top-level module (src/Modules/<Module>/...).
var commits = output.Split("---", StringSplitOptions.RemoveEmptyEntries)
.Select(c => c.Split('\n', StringSplitOptions.RemoveEmptyEntries)
.Select(ModuleOf).Where(m => m is not null).Cast<string>().ToHashSet())
.Where(s => s.Count > 0)
.ToList();
var pairs = commits
.SelectMany(s => s.SelectMany(a => s.Where(b => string.CompareOrdinal(a, b) < 0).Select(b => (a, b))))
.GroupBy(p => p)
.Select(g => new { Pair = g.Key, Count = g.Count() })
.OrderByDescending(x => x.Count)
.Take(10);
foreach (var p in pairs)
Console.WriteLine($"{p.Pair.a} <-> {p.Pair.b}: changed together in {p.Count} commits");
static string? ModuleOf(string path)
{
var parts = path.Split('/');
return parts.Length > 2 && parts[0] == "src" && parts[1] == "Modules" ? parts[2] : null;
}
# 0012. Approach to decomposing the monolith
Status: Proposed
## Context
Goal from CTO: cut lead time and reduce outages within 6 months. 4 teams, no platform team.
Lead time 12 days (70% waiting on release). Orders<->Billing change together in 61% of commits.
## Options
1. 15 microservices in 6 months 2. Modular monolith + 1-3 targeted extractions 3. Status quo
## Decision
Option 2. Extract Reporting (independent scaling) by month 5.
## Consequences / checkpoints
Revisit at month 4 if lead time > 5 days. Extract further when a module has its own team and a measured driver.
At staff level the job is less about picking the architecture and more about aligning the organisation on the outcome. The best proposals let the sponsor win: they get faster delivery and fewer outages sooner, and they keep the microservices option open with a clear path. I also look for the hidden constraint: sometimes the mandate is driven by a funding round, an acquirer's expectations or a vendor contract, and the plan has to address that too.
If I'm overruled, I disagree and commit, but I shape the execution to reduce risk: platform team first, extract along change-coupling boundaries, database per service only where ownership is clear, and checkpoints written into the ADR.
| Option | When it fits | Cost | When not to |
|---|---|---|---|
| Modular monolith + targeted extraction | Few teams, no platform, goal is speed/stability | Low-medium | Many teams already blocked by one deployable |
| Broad microservices migration | Many teams, platform team, independent cadence needed | High | Small org, no platform, unclear boundaries |
| Platform first, then services | Leadership committed to services long term | Medium up front | Short-term delivery is the main goal |
| Status quo + delivery fixes | Delivery problem is process, not structure | Low | Real scaling or isolation needs exist |
At the architecture level, over-engineering means paying now, in hosting, cognitive load and delivery speed, for scale or flexibility nobody has evidence for. The warning signs are concrete signals to investigate: far more deployables than teams, Kubernetes and a service mesh for 50 requests a second when App Service or Container Apps would do, a message broker between modules in one process, a generic plug-in framework with a single plug-in. I judge them against the team's size, experience and on-call capacity, because the same design can suit eight platform teams and sink one team of five.
I separate one-way doors (splitting data, event sourcing, choosing a region) from two-way doors (a library, a folder layout). One-way doors get analysis and an ADR; two-way doors get the simplest option. I keep options open with module boundaries rather than network boundaries.
The trade-off: under-building something genuinely irreversible is costly too, so I write down the trigger that would justify the bigger design.
I keep a modular monolith until a module has a measured reason to become its own deployable: it needs to scale independently, it has a different release cadence or owning team, it needs fault or security isolation, or it needs a different runtime. "Microservices are modern" isn't a reason.
The first candidate should have few inbound dependencies, a clean contract and its own schema already. Extraction is incremental: make the module talk only through its contract, stop cross-module joins and transactions, move its data, deploy it as a service, and switch traffic behind a feature flag with a rollback path.
The trade-off: every extracted module turns method calls into network calls, so you gain autonomy and isolation but pay with latency, partial failures and eventual consistency.
I use three tools that reinforce each other. Architecture Decision Records capture each significant decision in one short page: context, decision, alternatives, consequences and status. They live in the repo and are reviewed by pull request; when a decision changes, a new ADR supersedes the old one.
The C4 model gives diagrams at the right zoom level: System Context for stakeholders, Containers for engineers, Components where it helps. I keep them as code (Structurizr DSL or Mermaid) so they're versioned.
Fitness functions stop the docs from lying: architecture tests (ArchUnitNET), load tests and dependency checks that fail the build when the code drifts from the decisions.
The trade-off: documentation costs time, so I keep it small and automate the checks instead of writing long documents nobody reads.
How to tell it (STAR)
**S:** At [company] the CTO mandated [15] microservices in six months for a team of four squads with no platform team. **T:** I was asked to lead it, and I believed it would slow us down. **A:** I met the CTO to understand the goal: faster delivery and fewer outages before [a key customer] launch. I gathered DORA metrics, change coupling and incident data, showed that [70%] of lead time was release waiting, and wrote an ADR comparing three options with costs. I pre-wired the engineering managers, then proposed a phased plan with checkpoints. **R:** The CTO agreed; lead time fell from [12] to [2] days in [four] months, outages dropped, and we extracted [two] services within the year where the data justified it.
Last updated 23 Nov 2026.