Architecture-level over-engineering: warning signs, one-way vs two-way door decisions, last responsible moment, keeping options open, and how to argue against premature scale.
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.
"For me, over-engineering at the architecture level is when the design solves problems we don't have and can't show we'll have. The cost isn't just code: it's hosting, it's the time every developer spends understanding the moving parts, and it's slower delivery for years. The warning signs I look for are structural. More deployable services than teams. A Kubernetes cluster, a service mesh and a message broker for an app that peaks at fifty requests a second. Events going through Azure Service Bus between two modules that run in the same process. A 'generic workflow engine' built in-house when there is one workflow.
For example, at [company] I joined a team of [five] who had [nine] services, each with its own repo, pipeline and Azure SQL database, for a [B2B portal] with about [200] daily users. A single feature usually touched four services and four pull requests. I didn't argue from opinion. I collected the numbers: average lead time of [9] days, [40%] of incidents caused by contract mismatches between services, and hosting of [$6k] a month. I wrote an ADR proposing to fold them into a modular monolith with the same module boundaries, did a two-week spike merging two services to prove it, and we consolidated over [three] months. Lead time dropped to [2] days and hosting to about [$1.5k].
The mistake I see is treating every decision as if it were irreversible, or the opposite, making a one-way decision like splitting the database casually. I classify decisions: two-way doors get the simplest option, one-way doors get analysis and a written trigger for when we'd revisit. My senior line is: design for the change you can see coming, and leave seams for the change you can't, but don't build the change itself."
| Sign | Why it's a smell | Simpler alternative |
|---|---|---|
| More deployables than teams | Coordination cost without autonomy benefit | One deployable per team, modules inside |
| Kubernetes + service mesh for low traffic | Large operational surface | App Service / Container Apps |
| Message broker between in-process modules | Adds eventual consistency for nothing | In-process calls through a module's public API |
| Event sourcing everywhere | Hard versioning, projections, tooling | State-based persistence, audit table where needed |
| Separate read database "for scale" at low load | Synchronisation and staleness | Indexed views, projections in the same DB |
| In-house framework with one consumer | Maintenance with no reuse | Plain code; extract after the third use |
| Multi-region active-active for a 99.5% SLO | Doubles cost and complexity | Zone redundancy in Australia East, backups to Southeast |
| Decision | Door | Approach |
|---|---|---|
| Logging library, folder layout, mapping approach | Two-way | Pick simplest, change later |
| Monolith vs modular monolith | Mostly two-way if boundaries are clean | Start modular |
| Database per service, event sourcing, cloud provider, region | One-way | Spike, ADR, explicit triggers |
| Public API contract | One-way once clients exist | Version from day one |
Consolidating [nine] services into a modular monolith for a [200]-user B2B portal cut lead time from [9] to [2] days, reduced contract-related incidents by about [80%], and saved roughly [$4.5k] a month in hosting, with module boundaries enforced by architecture tests so the option to split again stayed open.
Checks whether the candidate can recognise accidental architectural complexity, reason about reversibility, and influence decisions with evidence rather than opinion.
Green flags
Red flags
Fred Brooks separated essential complexity (inherent in the problem: insurance rules, tax calculations) from accidental complexity (introduced by our solution: network hops, serialisation, deployment pipelines). Architecture-level over-engineering is accidental complexity added ahead of need.
Total complexity = essential (domain) + accidental (our choices)
▲
over-engineering inflates this part
The Phase 7 question on detecting over-engineering covers code-level signs; here the focus is deployment, data and integration choices, which are much more expensive to undo.
Lean software development suggests deferring a decision until the point where not deciding would remove an important option. Before that, keep options open:
Today Trigger reached (evidence)
┌────────────────────────────┐ ┌──────────────────────────┐
│ Modular monolith │ │ Extract Payments service │
│ Payments module │ ─────► │ own DB, own pipeline │
│ - public contract only │ │ same contract over HTTP │
│ - own schema (payments.) │ │ or messages │
└────────────────────────────┘ └──────────────────────────┘
Because the module owns its schema and exposes a contract, extracting it later is mostly mechanical. That's the cheap insurance; building the service up front is the expensive one.
Each extra service adds, roughly:
Multiply by the number of services and you get the "distributed systems tax".
Opinions lose to data. Useful evidence:
| Evidence | Source |
|---|---|
| Real and forecast load | Application Insights, Azure Monitor, business forecasts |
| Team size and on-call capacity | Org chart, rosters |
| Delivery speed | DORA metrics from Azure DevOps or GitHub |
| Incident causes | Post-incident reviews |
| Cost | Azure Cost Management per resource group |
Present options as a decision table and propose a trigger: "we'll extract Search when it exceeds 1,000 req/s or needs a separate release cadence". That addresses the fear that the simpler design ignores the future.
Not all upfront design is over-engineering. Regulatory audit requirements may justify an append-only event log from day one. A public API needs versioning before the first client. Multi-tenancy isolation can be hard to retrofit. The test is evidence and reversibility, not size.
Keeping the option to split cheap: a module that exposes only a contract and owns its schema, so an in-process call can later become an HTTP or message call without touching callers.
// Modules/Payments/Payments.Contracts/IPaymentsModule.cs
namespace Payments.Contracts;
public sealed record TakePayment(Guid OrderId, decimal Amount, string Currency);
public sealed record PaymentResult(Guid PaymentId, bool Succeeded, string? FailureReason);
// The only thing other modules may reference.
public interface IPaymentsModule
{
Task<PaymentResult> TakePaymentAsync(TakePayment command, CancellationToken ct);
}
// Modules/Payments/Payments.Infrastructure/PaymentsDbContext.cs
namespace Payments.Infrastructure;
using Microsoft.EntityFrameworkCore;
internal sealed class PaymentsDbContext(DbContextOptions<PaymentsDbContext> options) : DbContext(options)
{
internal DbSet<Payment> Payments => Set<Payment>();
protected override void OnModelCreating(ModelBuilder b)
{
// Own schema in the shared database: extracting to its own DB later is a data move, not a redesign.
b.HasDefaultSchema("payments");
b.Entity<Payment>().HasKey(p => p.Id);
}
}
internal sealed class Payment
{
public Guid Id { get; init; }
public Guid OrderId { get; init; }
public decimal Amount { get; init; }
}
// Today: in-process. Later: swap for an HttpClient-based implementation with the same interface.
builder.Services.AddScoped<IPaymentsModule, PaymentsModule>();
// builder.Services.AddHttpClient<IPaymentsModule, PaymentsHttpClient>(c => c.BaseAddress = new("https://payments.internal"));
Over-engineering and under-engineering are both failures to match design to evidence. My rule of thumb: keep logical boundaries strong (modules, contracts, owned schemas) and physical boundaries few (deployables, databases, brokers) until a measured driver says otherwise. That gives most of the modifiability of microservices at a fraction of the operating cost.
When someone pushes for the bigger design, I don't say no; I ask what evidence would make it right, and write that trigger into the ADR. That turns a disagreement into a shared plan, and if the trigger fires, nobody has to relitigate.
| Choice | When it fits | Cost | When not to |
|---|---|---|---|
| Defer with seams (modules, contracts) | Uncertain future scale or team growth | Low | Constraint is already known and irreversible |
| Build the bigger design now | Regulatory need, public contract, proven load | High up front | Speculative growth, small team |
| Simplify an existing over-built system | Delivery slow, incidents from integration | Migration effort | System genuinely needs independent scale or cadence |
Over-engineering is complexity that today's requirements do not justify. I detect it through symptoms with numbers behind them: a one-field change touching many files, interfaces with one implementation, configuration options nobody sets, patterns like CQRS or event sourcing without the problems they solve, and microservices that always deploy together. I reverse it incrementally rather than with a rewrite: inline single-use abstractions, merge layers that only pass data through, consolidate services that share a release cycle, and delete unused options, each step behind tests. I also address why it happened, because otherwise it grows back.
A modular monolith is one deployable split into modules aligned to business capabilities — Orders, Billing, Catalogue — each with hard boundaries.
DbContext, no cross-module joins or foreign keys.internal.internal types, architecture tests, even per-schema database permissions.You get microservice-style boundaries with monolith-style operations: one pipeline, in-process calls, easy refactoring. The trade-off: one runtime, one release and one scaling unit, and it only works if the boundaries are enforced — otherwise it decays into a big ball of mud.
Essential complexity comes from the domain itself: business rules, edge cases and regulations that any correct solution would have to model. Accidental complexity comes from our solution choices: network hops, mapping layers, generic frameworks, duplicated pipelines.
To tell them apart I look for:
The architectural goal is to model essential complexity explicitly (rich domain, clear boundaries) and remove accidental complexity, because the accidental kind is what drives maintenance cost and slows scaling the team.
How to tell it (STAR)
**S:** At [company] I joined a team of [five] running [nine] microservices for a portal with about [200] daily users. **T:** Delivery was slow and incidents were frequent, and I was asked to find out why. **A:** I gathered data rather than opinions: DORA metrics, incident causes and per-service cost. I showed that [40%] of incidents came from contract mismatches and that no service needed independent scaling. I wrote an ADR for a modular monolith, ran a two-week spike merging two services, and led the consolidation while keeping module boundaries enforced by architecture tests. **R:** Lead time fell from [9] to [2] days, contract incidents dropped about [80%], and hosting fell to roughly [$1.5k] a month.
Last updated 23 Nov 2026.