~/talk

Modularizing the Monolith

Talkat NDC Oslo 2024 · 2024-06-10..06-14· [microservices, frontend-architecture]
slides:none on file

Monoliths become hard to change because boundaries are missing; the practical fix is to refactor into a vertical slice architecture so each user operation lives front-to-back, then group slices into modules that contain data and a public API. Independence is measurable by counting incoming/outgoing dependencies and spotting hot spots (one case shows 200+ usages between modules, and organizations can explode to thousands of microservices). Static analysis yields a dependency matrix and the DB migration follows a staged approach popularized by Stripe: migrate schema by dual-writing, switch readers, then drop old writes.

AI-written summary · about

  1. 0:00Modularizing the monolith
  2. 3:55Microservices vs monoliths
  3. 7:47Good vs bad monoliths
  4. 10:13Layered architectures fail
  5. 12:02Vertical slice architecture
  6. 15:36Independent modules
  7. 17:43Module boundaries in code
  8. 20:50Data ownership in modules
  9. 25:30Refactoring to vertical slices
  10. 34:30Database refactoring
  11. 41:59Measuring module independence
  12. 45:10Extracting modules
  13. 53:20Key takeaways
~/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.