Summary

In this chapter, we created our News microservice and connected it to the database. We have looked at an extremely useful pattern for migration from monolithic to microservices.

If the problem revolves around scaling an application, the shared data pattern is a good option on a temporary basis. The problem may also involve the storage layer; we'll see how to solve this in the next chapter.

 

Get Microservice Patterns and Best Practices 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.