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

Modelled around business capabilities

A well-designed microservice should be modeled around the business capabilities that are meant to be implemented. Designing software has a component of abstraction and we are used to getting requirements and implementing them, but we must consider how everyone, including us, will understand the solution, now and in the future.

When we need to update, or even modify our microservices, we need to abstract back to the original concept that defined it. In that process, we could realize that something was not as we originally understood, or that our design could not evolve. We may even discover that we have to break the boundaries of our business domain and we don't implement the original capability anymore, or that actually it is implemented across a set of different non-related microservices. We could end up coupling our microservices together, and that is something that we want to avoid.

The domain experts of these business capabilities have a clear understanding of how they operate and how those capabilities are combined and used. Working with them could make our microservices understandable for everyone, including our future selves, and will move our services to become not just an abstraction, but a mapping of the original business capability.

Work as closely as you can with your domain experts, it will always benefit you.

We will deep dive more into this topic in the Domain-Driven Design section of this chapter.

主站蜘蛛池模板: 蓬莱市| 辽阳市| 筠连县| 永平县| 凌云县| 大余县| 邢台市| 基隆市| 鄢陵县| 朔州市| 方城县| 武山县| 琼海市| 乌审旗| 南部县| 贵溪市| 比如县| 盘山县| 平昌县| 化隆| 闽侯县| 玉溪市| 尚义县| 区。| 扎鲁特旗| 鹤岗市| 安仁县| 景谷| 武邑县| 新昌县| 罗山县| 威海市| 富锦市| 乌拉特后旗| 威信县| 武山县| 天气| 土默特右旗| 准格尔旗| 灵寿县| 大渡口区|