- Hands-On Microservices with Kotlin
- Juan Antonio Medina Iglesias
- 237字
- 2021-06-30 19:10:40
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.
We will deep dive more into this topic in the Domain-Driven Design section of this chapter.
- 觸·心:DT時(shí)代的大數(shù)據(jù)精準(zhǔn)營(yíng)銷(xiāo)
- Java高并發(fā)核心編程(卷2):多線程、鎖、JMM、JUC、高并發(fā)設(shè)計(jì)模式
- 劍指Offer(專(zhuān)項(xiàng)突破版):數(shù)據(jù)結(jié)構(gòu)與算法名企面試題精講
- Responsive Web Design with HTML5 and CSS3
- Magento 2 Development Cookbook
- SEO智慧
- Spring Boot Cookbook
- Python編程:從入門(mén)到實(shí)踐
- 運(yùn)用后端技術(shù)處理業(yè)務(wù)邏輯(藍(lán)橋杯軟件大賽培訓(xùn)教材-Java方向)
- Java程序員面試筆試寶典(第2版)
- Hands-On GUI Programming with C++ and Qt5
- 監(jiān)控的藝術(shù):云原生時(shí)代的監(jiān)控框架
- 深入淺出Python數(shù)據(jù)分析
- 面向?qū)ο蟪绦蛟O(shè)計(jì)及C++(第3版)
- HTML5與CSS3權(quán)威指南