In-Process Event Bus in a Monolith: Domain Events Done Right
Design an in-process event bus for a modular monolith: domain events, in-transaction vs after-commit handlers, outbox durability, boundaries and testing.
14 min read
Tag
Design an in-process event bus for a modular monolith: domain events, in-transaction vs after-commit handlers, outbox durability, boundaries and testing.
14 min read
How to scope, version, deprecate and support shared libraries across microservices so each service upgrades on its own schedule while drift stays bounded.
14 min read
Build a modular monolith in Node.js with TypeScript: small index.ts public APIs, tooling-enforced boundaries, data ownership, events, and a composition root.
13 min read
Learn how to split a monolith database by mapping joins first, assigning table ownership, and migrating one reversible stage at a time with safe rollbacks.
15 min read
Define modules, write allow-list dependency rules, and fail CI on violations using ArchUnit tests on the JVM and boundary lint rules in TypeScript.
13 min read
A step-by-step playbook to merge microservices into a modular monolith: when to do it, how to consolidate code and data safely, and what it costs.
13 min read
Learn how Spring Modulith infers modules, fails builds on boundary violations, and decouples modules with transactional application events in a Java monolith.
13 min read
Compare in-process workers, a database-backed job queue and a message broker for monolith background jobs, with retries, idempotency, scheduling and scaling signals.
20 min read
Learn how to extract your first service from a monolith by choosing a clean seam, untangling data, cutting over safely, and budgeting for platform work.
13 min read
Learn how to discover bounded contexts, enforce module boundaries in code, schema and CI, map context relationships, and decide when to extract a service.
13 min read
Learn how API gateways and BFFs split edge responsibilities, when to use one or both, and how aggregation, latency, ownership and GraphQL change the design.
13 min read
Learn what a majestic monolith is, how to enforce module boundaries in one deployable, scale it, and recognize the signals that justify extracting a service.
12 min read