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

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.

主站蜘蛛池模板: 常宁市| 正阳县| 新兴县| 寿宁县| 利川市| 无为县| 满洲里市| 博客| 阿拉善右旗| 黄石市| 襄樊市| 文化| 治县。| 通河县| 闽清县| 合川市| 托里县| 鸡泽县| 深水埗区| 湖州市| 三明市| 洞头县| 萨迦县| 贵溪市| 中阳县| 克东县| 通辽市| 麟游县| 墨竹工卡县| 绥化市| 双流县| 纳雍县| 新宁县| 东乌珠穆沁旗| 屏东县| 贵南县| 甘德县| 奉节县| 浙江省| 墨江| 庆城县|