Chapter 2

Switching to Microservices

Chapter 1, “An Introduction to Microservices,” compared and contrasted microservices with monolithic architectures. Now that you understand the distinction between the two, you are probably trying to answer the question, are microservices right for my team? If you are already dealing with the growing pains of monolithic architecture or are planning to build a monolithic system, then it is worthwhile to look at microservices. Otherwise, there is no reason to switch to this architecture, as it is not suitable for small-to-medium service architectures given the work involved. Each microservice comes with a burden of extra work at a scale that is unnecessary with monolithic architectures: API sets, process monitoring, ...

Get Microservices and Containers, First edition 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.