# Monolith vs Microservices vs Modular Monolith

DevFeed: [Monolith vs Microservices vs Modular Monolith](<https://devfeed.tech/articles/monolith-vs-microservices-vs-modular-monolith-102601.md>)

Original publisher: [Read original article](<https://blog.levelupcoding.com/p/monolith-vs-microservices-vs-modular>)

Author: Nikki Siapno

Published: 2026-10-27T14:22:01Z

Content type: article

Language: en

Sources: [Level Up Coding System Design Newsletter](<https://devfeed.tech/sources/level-up-coding-system-design-newsletter.md>)

Topics: [modular-monolith](<https://devfeed.tech/topics/modular-monolith.md>), [Microservices](<https://devfeed.tech/topics/microservices.md>), [Ktor](<https://devfeed.tech/topics/ktor.md>), [decoupling](<https://devfeed.tech/topics/decoupling.md>), [Transactions](<https://devfeed.tech/topics/transactions.md>)

Tags: [microservices](<https://devfeed.tech/tags/microservices.md>), [modular-monolith](<https://devfeed.tech/tags/modular-monolith.md>), [monolith](<https://devfeed.tech/tags/monolith.md>)

## AI overview

Architecture choice depends on which parts of a system truly need to evolve independently. A monolith deploys as one unit, but can still have well-structured internal modules; a modular monolith enforces module ownership and interfaces while retaining in-process calls, one deployment, and local database transactions. Microservices move selected boundaries across the network, enabling independent deployment, scaling, ownership, technology choices, and fault isolation, at the cost of network failures, distributed tracing, operational overhead, and harder data consistency. Workflows that cross service databases may require sagas, retries, idempotency, eventual consistency, and compensating actions. Splitting services that still change or deploy together can create a distributed monolith, retaining coordination costs while adding distributed-system complexity. The article recommends choosing boundaries based on actual needs and evolving selectively: strengthen code boundaries first, and extract services where independent runtime behavior is valuable.

## Source excerpt

Microservices promise independence. But what do you give up to get it?