Appendix A. Monoliths vs. microservices
This appendix evaluates monoliths vs. microservices. The author’s personal experience is that it seems many sources describe the advantages of microservice over monolith architecture but do not discuss the tradeoffs, so we will discuss them here. We use the terms “service” and “microservice” interchangeably.
Microservice architecture is about building a software system as a collection of loosely-coupled and independently developed, deployed, and scaled services. Monoliths are designed, developed, and deployed as a single unit.
A.1 Advantages of monoliths
Table A.1 discusses the advantages of monoliths over services.
Monolith |
Service |
---|---|
Faster ... |
Get Acing the System Design Interview now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.