- Cloud-Native Applications in Java
- Ajay Mahajan Munish Kumar Gupta Shyam Sundar
- 162字
- 2021-06-24 19:07:20
Service granularity
Here are the types of services:
- Atomic or system services: These are the services that do a unit level of work and are enough to service the request by either referring to a database or a downstream source.
- Composite or process services: These services depend on the coordination between two or more atomic services. Typically, composite microservices are discouraged unless the business case already involves using existing atomic services. An example is a credit card payment from a savings account that calls two services, one to debit the savings account, and an other to credit the card account. Composite microservices also introduce inherent complexity such as state management and transactions that are difficult in a distributed scenario.
- Experience services: These services are tied to the customer journey and are deployed at the edge of the infrastructure. These services handle requests from the mobile and web applications. These services are exposed through a reverse proxy using tools such as API gateways.
推薦閱讀
- 數(shù)字地圖無損信息隱藏技術(shù)研究
- Multisim 10電路仿真技術(shù)應(yīng)用
- 通信網(wǎng)絡(luò)智能管道架構(gòu)與技術(shù)實現(xiàn)
- 開關(guān)電源維修從入門到精通(第3版)
- 應(yīng)急通信指揮
- 通信專業(yè)綜合能力與實務(wù):終端與業(yè)務(wù)
- 光纖通信(第4版)
- 索尼新型彩色電視機速修圖解
- 陣列信號處理及MATLAB實現(xiàn)(第2版)
- 新型航空遙感數(shù)據(jù)產(chǎn)品生產(chǎn)技術(shù)
- 空間信號協(xié)同處理理論與技術(shù)
- 移動通信天線技術(shù)與工程應(yīng)用
- 移動增值業(yè)務(wù)網(wǎng)絡(luò)及其運營
- 數(shù)字通信原理(第3版)
- 物聯(lián)產(chǎn)品電磁兼容分析與設(shè)計