Back to JetBrains

Modular Monoliths: Goldilocks Architecture? | Steve Smith (Ardalis) & Eric Fleming | .NET Day 2026

JetBrainsOctober 15, 202641m
In a Nutshell

Modular monoliths deliver "Goldilocks" architecture by enforcing domain boundaries and encapsulation within a single deployable unit, avoiding both spaghetti code and microservices complexity. Each module owns its UI, business logic, data store, and contracts, enabling independent team ownership while maintaining logical separation through internal visibility and separate contract projects. The approach lets teams extract individual modules as microservices later if needed, without the upfront cost of distributed systems.

AI-Generated Notes

These notes were generated by AI and may contain inaccuracies.

Steve Smith and Eric Fleming discuss modular monoliths, also referred to as "Goldilocks" architecture. The Goldilocks metaphor comes from the children's story about a girl who finds the middle option that is "just right" - neither too hot nor too cold, representing an ideal balance between extremes. The presentation focuses on engineering modular monoliths as a middle-ground architectural approach.

Additional learning resources are available at modularmonolith.com, containing articles, videos, and other materials. The first law of software engineering states that everything is a trade-off. Software engineering involves trade-offs with no single correct architecture for all scenarios.

A monolith is a unit deployed as a single process. The term derives from Greek "monos," meaning alone or one. A monolithic application publishes only one thing without managing multiple independent processes. Even with monolithic architectures, there may be at least two processes when considering a separate database alongside the application code.

Monolithic architectures are often viewed negatively, but the monolith itself is not the problem. The real issue is allowing the codebase to become a tangled mess known as the "big ball of mud." Many teams build continuously without careful design, resulting in this problematic structure.

Sign in to read the full notes

Get access to AI-generated notes, topic timestamps, and more.