Architecture Is About Trade-offs, Not Fashion
Good architectural decisions are boring to defend and easy to revisit. Fashionable ones are neither.
Good architectural decisions are boring to defend and easy to revisit. Fashionable ones are neither.
Every few years the industry agrees on a default answer. Microservices. Serverless. Event sourcing. Monorepos. The defaults are rarely wrong in themselves; the damage comes from adopting them as identity rather than as a decision with costs.
I tend to start with a modular monolith because it preserves optionality while avoiding distributed-system complexity. That is a trade-off, not a doctrine. If a team is genuinely constrained by independent deployment or wildly different scaling profiles, splitting is the right call — and I have made it.
That last point is the one most often skipped, and it is the most valuable. An architecture with explicit reversal conditions can be revisited without it feeling like an admission of failure.
Every team has a finite amount of complexity it can carry while remaining productive. Distributed transactions, a service mesh, three data stores, and an event bus can all be justified individually. Together they may consume the entire budget, leaving nothing for the complexity of the actual business domain — which is the only complexity customers pay for.
Spend your complexity budget on the problem, not on the infrastructure around the problem.
The most important property of an architecture is usually not performance. It is how many people have to agree before a change can ship. Well-drawn module boundaries let teams move without permission. Badly drawn ones turn every feature into a negotiation.
That is why architecture is a leadership concern and not only a technical one. The structure of the software eventually becomes the structure of the working day.
Written by Jesús Ibáñez, Engineering Leader.
The model is a component. Treat it like one, and AI features become ordinary engineering again.
Read the articleEngineering managers are rarely short of things to do. The question is which of those things actually belong to them.
Read the article