The Hive: Coding a Modular Monolith Ready for Microservices
summary
Shows how to refactor a legacy spaghetti monolith into a modular monolith that can later be split into microservices using the Hive pattern: combine multiple hexagonal architectures with vertical slicing to define clean module boundaries. Uses live coding to evolve a concrete Java/architecture codebase step-by-step from monolith spaghetti to a Hive-based modular monolith, then demonstrates extracting a module into a separate microservice.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 2:56Hexagonal architecture limits
- 6:04Modular monolith overload
- 8:09Avoid premature microservices
- 9:11Nuclear reactor module
- 13:20Module dependency management
- 16:31In-process module communication
- 20:22Power unit alignment
- 23:10API ports for modules
- 25:58In-process adapter bridging
- 29:06Hive modularization results
- 32:39Metrics analysis module
- 33:41Module to microservice steps
- 36:28HTTP client replacing adapter
- 38:59Nuclear reactor microservice
- 41:29Data migration service config
- 42:51Delorean demo
- 44:41Summary
related talks
57mModularizing the Monolith
59mMajestic Modular Monoliths
01h 01mModular Monolith Instead of Microservices: How, When and Why
51mModularization: Foundation of Microservices and Monoliths
45mMonolith to Microservices: Modularizing Fineract 1.x
25mHexagonal Architecture in Monoliths and Microservices
46mFrom Chaos to Cohesion: Building Modular Monoliths in the Real World
01h 03mFrom Monolith to Microservices: Story and Practice
