The Runtime Theory
Software ArchitectureIn production

Microservices vs. Monolith

Recording in progress
#microservices#monolith#architecture

One codebase that deploys as a unit, or many small services that each deploy alone — a trade of coupling for distribution costs. This video compares them on the axes that actually decide: where the transaction boundary sits, how data gets shared, what happens when one part fails, and what a release actually requires.

Topics covered:

  • The deployment story: one artifact vs. many, and what changes about releases
  • The database boundary: why microservices forbid shared tables and what that costs
  • Failure isolation: a crash in one service vs. a crash anywhere
  • Network as a new failure mode: latency, retries, and partial failures
  • The monolith's escape hatches: modules and feature flags
  • When splitting pays: team autonomy and independent scaling
  • The migration cost curve and why most teams start too small to benefit
  • How to decide: transaction scope, team size, and release cadence

Related articles

More in Software Architecture

In production
software architecture

The Strangler Fig Pattern

How to replace a legacy system without a rewrite — routing by path, strangling features incrementally, and keeping both systems honest.

Details
In production
software architecture

Domain-Driven Design Basics

The core of DDD without the ceremony — ubiquitous language, bounded contexts, aggregates, and where the model boundary actually goes.

Details
In production
software architecture

Service Mesh Explained

What a service mesh actually does — sidecars, mTLS, traffic routing, and observability — and the network plumbing it takes off your plate.

Details
In production
software architecture

Feature Flags in Practice

How feature flags work end to end — evaluation at runtime, kill switches, and canary rollouts — plus the operational discipline they demand.

Details
In production
software architecture

The Saga Pattern Explained

How distributed transactions work without distributed locks — saga steps, compensating actions, and the orchestration vs. choreography split.

Details
In production
software architecture

CQRS Explained

Command query responsibility segregation — separate read and write models, why they diverge, and what you actually gain from the split.

Details
In production
software architecture

API Gateway Patterns

What an API gateway actually does — routing, auth, rate limiting, and aggregation — and which patterns matter for your traffic.

Details
In production
software architecture

Hexagonal Architecture, Visualized

Ports and adapters in one diagram — how hexagonal architecture keeps business logic independent of databases, HTTP, and everything external.

Details
In production
software architecture

Event-Driven Architecture Explained

How event-driven systems work — events, topics, and consumers — and what the broker actually guarantees in a distributed system.

Details

Depth, delivered weekly

One technical dispatch a week — articles and episode notes before they go public.

One technical dispatch per week. No noise.