~/talk

Implement the monolith - the one well modularized

Talkat Devoxx Ukraine 2021 · 2021-11-19..11-20· [software-architecture]
links:none on file
slides:none on file

Case study of turning a legacy service into a modularized monolith shows concrete steps: define a module API as the only exported class, write unit tests for the API, add a Jenkins build step that runs ArchUnit rules, and scan modules gradually. Enabling the main rule initially surfaces about 3,000 violations so teams fix the smallest module first (50–60 violations), move or elevate classes, use mob programming for decisions, and patch gaps like Groovy test detection.

AI-written summary · about

  1. 0:00Intro
  2. 1:28Start with monolith first
  3. 3:20A kind of agenda
  4. 4:21The monolith or a microservice
  5. 5:32The perfect microservice
  6. 7:06There's this small feature... GDPR
  7. 9:11And one more: T&C
  8. 12:46Two modules and... the rest
  9. 13:31DB Relations
  10. 15:33The future: replace Identity module
  11. 16:31We know where we're going
  12. 17:41Broken boundaries
  13. 18:24Is there a tool to help us
  14. 20:44ArchUnit
  15. 21:49Example: Field injection
  16. 26:03Example: Coding rules
  17. 26:50Example: layered architecture
  18. 28:28Example: Slices
  19. 29:31More examples
  20. 30:34Access module using its API
  21. 31:18Rule #1: Access Module via API
  22. 32:14Rule #1: Implementation
  23. 33:55Rule #1: Should be included in scan
  24. 34:32Rule #1: Rule check
  25. 36:39Rule #1: Actual dependency check
  26. 37:17Module has API
  27. 37:39Rule #2: Implementation
  28. 38:26Module API is unit tested
  29. 39:14Module internal architecture
  30. 39:59New build step
  31. 40:19Start with a simple one
  32. 41:32Approach
  33. 42:23The next one
  34. 43:45Mob programming
  35. 44:48Other simple modules
  36. 45:38Create a new module
  37. 46:00Largest modules comes last
  38. 46:33Cohesion
  39. 47:39Next steps
  40. 48:36DEVOX UKRAINE
~/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.