讀書筆記:關於適當的微服務架構的看法(Perspective on Architectural Fitness of Microservices)
微服務現在很火,但是怎樣才能建設合適自己的微服務架構呢,這篇文章進行了很好的實踐也給了實用的建議。
Key Takeaways
Microservices are not a panacea; they have their place in modern architecture, but just not any place.
Understanding the business domain is vital for assessing whether a microservices-based architecture is an adequate choice.
The Single Responsibility Principle is key to delineating the functional boundary of microservices.
Like any other architectural style, Microservices are governed by a set of tenets. It is important to understand how any deviation from these affects a given technology solution.
Microservices must be considered within the broader contexts of distributed architecture and distributed computing.
文章主要內容:
In this article we examine the potential architectural fitness of microservices in the context of Master Data Management (MDM), and the challenges a microservices-based architecture may face when solving problem domains that require compute-intensive tasks, such as the calculation of expected losses on a portfolio of unsecured consumer credit.
We will begin by introducing a meta-model for business architecture, and use its elements and their relationships to define both business and problem domains. We will then introduce the Domain-Driven Design approach as a means to apprehend complex business domains, and assist with the creation of technology solutions.
Microservices, a new architectural paradigm, will then be presented, their anatomy described, and their benefits and drawbacks briefly articulated. The possible fitness of microservices to implement an MDM Data Hub will then be presented for consideration.
Finally, we will explore the limited conditions where microservices-based architectures may or may not be suitable for computation intensive applications involving large volumes of data.
一些有意思的圖:
Business Architecture Meta-Model:
Domain-Driven Design and Microservices – Conceptual View:
文章很長,具體大家可以看原文:
https://www.infoq.com/articles/Microservices-Architectural-Fitness
最後更新:2017-08-23 09:32:16