Cohesive Systems logoCOHESIVE SYSTEMS

Search Cohesive Systems

Ready

Search Cohesive Systems

Find product pages, building blocks, technical articles, and graph definitions.

Modular Monolith

The modular monolith addresses the problem of maintaining strong internal boundaries and cohesive change units without paying the operational cost of distributed deployment.

Cohesive Formulation

A modular monolith is primarily a system-structure practice:

  • Modules define boundaries inside one deployment.
  • Relation models and flow views across modules are explicit.
  • Persistence and transactions may be shared, but semantic ownership must still be scoped.
  • Observer models may be local calls, handlers, process participants, or in-process message dispatch.

In the Model

The monolith is a realization choice. The modules are the important semantic and structural boundaries. A modular monolith can preserve bounded contexts, aggregate boundaries, interaction contracts, and ownership without forcing network boundaries.

Failure Modes

The pattern fails when shared process and shared database are mistaken for shared semantics. Without explicit module boundaries, the result is only a monolith, not a modular one.

Related concepts: boundaries, relations, flow views, process graphs, entity models, application hosts, persistence, coordination, microservices.