Building That Glorious Monolith. And Carving It Too
summary
Argues for starting with a disciplined monolith that is feature-boxed by Domain-Driven Design, using per-feature schemas and separate DbContexts so each feature owns its data, mediated handlers and DTOs (via Mediator), and in-process domain events with outbound Azure Event Grid for integration. Gives a concrete pain point — a page dropping from ~1,200 SQL queries to ~5 after slimming DTOs — and shows carving a feature into a microservice is largely copy-paste of the feature, wiring network calls and moving integration events.
AI-written summary · about
chapters (15)
- 0:00🚀 Build Stuff Conference – Get Your Tickets!
- 1:30Introduction to Glenn Henriksen & Monoliths vs. Microservices
- 3:00Common Misconceptions about Microservices and Monoliths
- 5:00Problems with Monoliths: Tight Coupling & Complexity
- 8:00Using Smaller, Contained Boxes for Better Organization
- 12:00Introduction to Domain-Driven Design (DDD) Principles
- 15:00Designing Features in a Monolith Using DDD
- 18:00How to Keep Features Self-Contained and Manageable
- 23:00Using DTOS for Data Transfer and Maintaining Clean Boundaries
- 28:00How to Control Complexity in a Growing Monolith
- 33:00Scaling: When and Why to Consider Moving to Microservices
- 36:00Overcoming Challenges: Database Isolation and Schema Management
- 40:00Best Practices for Managing Changes and Refactoring in a Monolith
- 44:00How to Carve Features Out of Your Monolith into Microservices
- 49:00Final Thoughts: Starting with a Monolith and Transitioning to Microservices
related talks
01h 02mBuilding that glorious monolith. And carving it too.
36mDo Proper Monoliths before You Do Microservices!
02h 29mPractical advice for building glorious monoliths
42mDo proper monoliths before you do microservices!
45mUsing DDD To Decompose Your Monolith
45mBuilding Monoliths that Could Scale (Easily) to Microservices (If They Need)
46mFrom Monolithic Monster to Majestic Microservice App
52mBuilding monolith applications that could scale to microservices..
