Chapter 4

Migrating and Implementing Microservices

By this point you know what microservices are and how they work. If you’re still reading, I have accomplished my first goal: piquing your interest enough that you are considering implementing microservices yourself! Now it’s time to get down to brass tacks: namely, the very critical topic of how to approach the transition to microservices.

The Need for Transition

You’ll recall that a monolithic application is very large (in terms of lines of code [LoC]) and complex (in terms of functions interdependencies, data, etc.), serving hundreds of thousands of users across geographical regions and requiring several developers and IT engineers. A monolithic app may look something like Figure 4.1.

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.