Skip to content
Preptima
hardDesignScenarioSeniorStaffLead

How do you decide between a modular monolith and microservices?

4 min readUpdated 2026-08-15

Answer

Short answer

The choice turns on team topology and independent deployability, whether domain boundaries are stable, data ownership and distributed-transaction cost, and real operational maturity.

Was this answer helpful?

Likely follow-ups

  • What signals in a running system would tell you a specific module is now worth extracting?
  • How would you preserve a business invariant that used to be a single database transaction once it spans two services?
  • How do you stop a modular monolith's internal boundaries from eroding over eighteen months?
  • You have inherited forty services maintained by three teams. What do you do?

Related questions

Masterclass guide

Further reading