Skip to content
TopicTracker
From HackerNewsView original
TranslationTranslation

"Start with a Monolith" Was Good Advice. AI Is Changing That

The long-standing software engineering advice to "start with a monolith" is being challenged by AI tools, which can now rapidly scaffold and manage microservices architectures from the outset. AI-assisted development reduces the complexity and cost of building distributed systems, making it viable for startups to launch with a modular, service-oriented design instead of a monolithic one.

Background

- For decades, software engineering orthodoxy held that startups should "start with a monolith" — a single, unified codebase — and only split into microservices (many small, independent services) once they had proven product-market fit and could identify the correct service boundaries. The reasoning: premature microservices add enormous complexity, slow development, and often create the wrong abstractions. - The author argues that AI-assisted coding tools (like GitHub Copilot, Cursor, Claude, etc.) are now powerful enough to handle the overhead of a microservices architecture from day one. AI can generate boilerplate, manage inter-service communication, and refactor across service boundaries far faster than humans could. - This matters because it challenges a foundational assumption in software architecture — that monolithic design is the default starting point. If AI eliminates the cost of complexity, the traditional tradeoff (flexibility of microservices vs. simplicity of monoliths) shifts, potentially favoring a distributed architecture much earlier in a company's lifecycle.