~/talk

Life Beyond Microservices: Modular Monoliths in Laravel

TalkinItalianat laravelday 2024 · on Thursday, 2024-11-07· [php, frontend-architecture]
slides:none on file

Argues that for many Laravel projects a modular monolith outperforms microservices by avoiding network latency, version drift and orchestration overhead. Recommends concrete practices: use Laravel Service Providers as module entry points, prefix database table names per module, develop modules as local Composer packages with autodiscovery inside a monorepo to keep commits and versions consistent, and shows measured latency differences (~10 ns in‑process vs 20–200 ms over HTTP) while reporting that modules and event-driven interactions work reliably in practice.

AI-written summary · about

  1. 0:00Beyond microservices
  2. 1:07Legacy monolith problems
  3. 2:31Microservices as solution
  4. 3:30Hidden microservice complexity
  5. 10:45Microservices not panacea
  6. 11:07Modular monoliths in Laravel
  7. 14:02Service providers for modules
  8. 16:14Database suffixes in modules
  9. 17:40Composer autodiscovery
  10. 20:31Monorepo for modules
  11. 24:52From spaghetti to services
  12. 25:37When microservices fit
  13. 31:10Module dependencies
  14. 32:33Logic separation
  15. 34:01Microservices human factor
  16. 35:50Scaling monoliths
  17. 36:30Q&A
~/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.