Learn-Microservices-with-Spring-Boot.pdf

时间:2021-04-24 08:17:17
【文件属性】:

文件名称:Learn-Microservices-with-Spring-Boot.pdf

文件大小:5.07MB

文件格式:PDF

更新时间:2021-04-24 08:17:17

微服务

Microservices are getting very popular these days. It’s not a surprise; this software architecture style has a lot of advantages, like flexibility and ease of scale. Mapping them into small teams in an organization also gives you a lot of efficiency in development. However, going on the adventure of microservices knowing only the benefits is a wrong call: you need to know what you are facing and be prepared for that in advance. You can get a lot of knowledge from many books and articles on the Internet but, when you get hands-on code, the story changes. This book covers some of the most important concepts of microservices in a practical way, but not without explaining the concepts. First, we define a use case: an application to build. Then we start with a small monolith, based on some sound reasoning. Once we have the minimal application in place, we evaluate if it’s worthy to move to microservices, and what would be a good way to do so. How should we communicate these different pieces? Then we can describe and introduce the event-driven architecture pattern to reach loose coupling by informing other parts of the system about what happened in your part of the process, instead of explicitly calling others to action. Once you have the microservices in place, you see in practice how the surrounding tools work: service discovery, routing, etc. We don’t cover all of them at once but include them one by one, explaining the benefits of each for the application. Also, we analyze what would be a good way to test the distributed system, end-to-end.


网友评论