- Cloud Native Development Patterns and Best Practices
- John Gilbert
- 239字
- 2021-06-30 18:43:03
Component patterns
Another strategy for decomposing our components with proper boundaries is based on applying the component patterns. Chapter 3, Foundation Patterns, will cover the patterns that provide the mechanisms used by all components, whereas Chapter 4, Boundary Patterns, and Chapter 5, Control Patterns both contain patterns that pertain to specific flavors of components. The boundary patterns, such as Backend For Frontend and External Service Gateway, interact with external entities at the edge of the system, while the control patterns, such as Event Orchestration, deal with mediating, choreographing, and orchestrating the interactions between components.
Continuing our bounded context example, the Customer Self-Service and Catalog contexts focus on interacting with different user groups. As such, they would each follow the Backend For Frontend pattern. Let's say that SalesForce and ZenDesk fulfill the Sales Contexts and Support Contexts, respectively. This would indicate that each should have an External Service Gateway component that acts as an anti-corruption layer to adapt and integrate those systems. All inter-component communication and collaboration is achieved using events. When there are relatively few events and the business processes are straightforward, it is reasonable for the components to apply the Event Collaboration pattern and know about the event types of the other components specifically. However, as these processes become more complicated it is good to add in components in the middle that act as mediators, following the Event Orchestration pattern, to maintain loose coupling between the participating components.
- 數(shù)據(jù)展現(xiàn)的藝術(shù)
- 大數(shù)據(jù)戰(zhàn)爭:人工智能時代不能不說的事
- Linux Mint System Administrator’s Beginner's Guide
- 計算機控制技術(shù)
- 大數(shù)據(jù)時代的數(shù)據(jù)挖掘
- 城市道路交通主動控制技術(shù)
- 精通特征工程
- Enterprise PowerShell Scripting Bootcamp
- 空間機械臂建模、規(guī)劃與控制
- IBM? SmartCloud? Essentials
- Excel 2007終極技巧金典
- 大數(shù)據(jù):引爆新的價值點
- Natural Language Processing and Computational Linguistics
- 計算機組裝與維修實訓(xùn)
- Hands-On Agile Software Development with JIRA