~/talk

Distribu-ready with the Modular Monolith

Talkat NDC London 2024 · 2024-01-29..02-02· [microservices, frontend-architecture]
slides:none on file

Argues a modular monolith is distribu-ready by designing modules as isolated class libraries with public contracts, a single web API executable that wires modules via extension methods and DI, and enforced rules via compile-time privacy, architecture tests and code review. Demonstrates patterns: Kit Kat pattern (breakable fingers = modules), satellite pattern (pluck modules into independent executables), mediator vs RabbitMQ message broker, and tradeoffs between thin messages and fat messages. Shows a .NET minimal-API implementation that can be incrementally split and deployed.

AI-written summary · about

  1. 0:00Introduction
  2. 1:49Complexity in software architecture
  3. 3:59Monolith vs microservices trade-offs
  4. 8:42Dangers of distributed monolith
  5. 13:47Modular monolith as better path
  6. 15:14What is modular monolith
  7. 19:12Decomposing with cohesion and coupling
  8. 22:05Code-first vs database-first decomposition
  9. 25:40Pragmatism over dogmatism
  10. 27:07Making monolith distribute-ready
  11. 30:01Module independence and communication
  12. 37:11Intermodule communication patterns
  13. 41:03Event-driven architecture in monoliths
  14. 46:41Complexity trade-offs and next steps
  15. 47:42Enforcing architecture
  16. 54:10Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.