What are the primary characteristics of a microservices architecture compared to a monolithic one?
Last updated
A microservices architecture is a set of small, independently deployable services each owning a business capability and its data, communicating over the network, whereas a monolith is one deployable unit sharing a single codebase and database.
Independent deployability: Each service ships on its own cadence; a monolith redeploys as a whole.
Bounded around business capability: Organized by domain (from Domain-Driven Design), not by technical layer.
Decentralized data: Database-per-service vs. the monolith's single shared schema; leads to eventual consistency.
Independent scaling: Scale only the busy services rather than the whole application.
Technology heterogeneity: Each service can pick its own language and datastore; a monolith is one stack.
Fault isolation: One service failing can be contained; in a monolith a bad module can crash the whole process.
Cost: Network communication, distributed transactions, and operational overhead the monolith avoids.
- https://github.com/jakubsvobodacz/Awesome-Engineering-Manager
- https://aws.amazon.com/video/watch/520e6bc3923/
- https://docs.aws.amazon.com/whitepapers/latest/microservices-on-aws/simple-microservices-architecture-on-aws.html
- https://learn.microsoft.com/en-us/azure/service-fabric/service-fabric-overview-microservices
- https://aws.amazon.com/blogs/enterprise-strategy/part-1-microservices-technical-business-or-organizational-architecture-yes/
- https://docs.aws.amazon.com/whitepapers/latest/develop-deploy-dotnet-apps-on-aws/building-monoliths-or-microservices.html
- https://cloud.google.com/learn/what-is-microservices-architecture
- https://aws.amazon.com/compare/the-difference-between-monolithic-and-microservices-architecture/