官术网_书友最值得收藏!

Serverless microservices pattern categories

On top of the software design patterns and principles we just discussed are the microservices patterns. From my experience, there are many microservices patterns that I recommended that are relevant for serverless microservices, as shown in the following diagram:

I created this diagram to summarize and illustrate the serverless microservices patterns we will be discussing in this book:

  • Communication styles: How services communicate together and externally.
  • Decomposition pattern: Creating a service that is loosely coupled by business capability or bounded context.
  • Data management: Deals with local and shared data stores.
  • Queries and messaging: Looks at events and messages that are sent between microservices, and how services are queried efficiently.
  • Deployment: Where ideally we would like uniform and independent deployments, you also don't want developers to re-create a new pipeline for each bounded context or microservice.
  • Observability and discovery: Being able to understand whether a service is functioning correctly, monitor and log activity allow you to drill down if there are issues. You also want to know and monitor what is currently running for cost and maintenance reasons, for example.
  • Security: This is critical for compliance, data integrity, data availability, and potential financial damage. It's important to have different encryption, authentication, and authorization processes in place.

Next we will have a look at the communication styles and decomposition pattern first.

主站蜘蛛池模板: 渑池县| 巴东县| 昌平区| 册亨县| 东乌| 饶阳县| 刚察县| 民丰县| 武定县| 同仁县| 理塘县| 兴宁市| 合川市| 茂名市| 新蔡县| 中方县| 青神县| 凤山县| 化德县| 河东区| 嘉黎县| 横峰县| 大悟县| 论坛| 瓮安县| 肇州县| 改则县| 涿州市| 建阳市| 长武县| 潜山县| 冀州市| 泰宁县| 碌曲县| 徐汇区| 孟津县| 瓮安县| 南溪县| 陇西县| 抚宁县| 沂南县|