Microservices do not automatically give a system better architecture. They give it more network boundaries. Whether those boundaries are useful depends on what they separate.
Start with a business capability, not a package structure.
The quickest way to create an expensive distributed monolith is to split services around technical layers: one service owns validation, another owns persistence, another owns workflow decisions. Now a simple business action crosses the network multiple times, and nobody owns the full outcome.
I prefer starting with a question: What business outcome should this part of the system own from request to completion? The answer may suggest a service. Sometimes it suggests a module in one deployable application, which is often the better starting point.
Make data ownership explicit.
Service boundaries become difficult when several components believe they are authoritative for the same data. A useful boundary identifies who can change a record, who can only read a projection and what happens when another system is temporarily unavailable.
Shared databases can make a new architecture look simpler initially. Over time, they may create hidden coupling: a schema change becomes a coordinated release across unrelated teams. Before introducing an event or an API, map the actual ownership of the underlying decision.
Consistency is a product requirement.
Not every business operation can tolerate eventual consistency. A change to a customer preference may be different from a financial transaction or an access-control decision. The architecture must reflect that difference, rather than applying a single messaging pattern across every workflow.
If a process spans boundaries, describe the compensation, timeout and retry behaviour while the business flow is still being designed. Those details should not appear only when an incident forces the team to learn them.
Evaluate the cost of a boundary.
- Can the capability be tested meaningfully on its own?
- Does a team have clear responsibility for it?
- Can the integration fail without breaking unrelated business functions?
- Is deployment independence worth the additional monitoring, contracts and operational work?
- Would a modular monolith solve the current problem with less risk?
These questions are less glamorous than drawing twenty service boxes, but they are closer to what good architecture has to answer.
The decision I would document.
For each important boundary, I would record its business responsibility, data ownership, consistency requirements, alternatives considered, failure modes and operating cost. An architecture decision record is useful precisely because it preserves the reasoning when the surrounding team and context change.
The goal isn't to maximize services. It is to minimize unnecessary coupling while keeping ownership clear.