- Microservices with Clojure
- Anuj Kumar
- 242字
- 2021-06-30 19:24:37
Isolating services by persistence
In the existing monolithic application of Helping Hands, the consumers and providers database tables are accessed by all the core components of the system, as shown in the following diagram. These tables are prime candidates for being wrapped around a service and isolated in a separate database that is accessible only to the corresponding service directly. All other services must talk to the Service Consumer service and the Service Provider service for any details instead of directly accessing the consumers and providers databases.

Since there is a separate service created to handle the requests for consumers and providers, there is no need to have a service corresponding to the Registration Component. The Service Consumer service and Service Provider service can now handle all the requests to register, modify, or delete consumers and providers, respectively. Similarly, the service and order services can now handle all the requests related to services and orders, respectively, by isolating the corresponding databases. The order service can now talk to Service Consumer, Service Provider, and Service to get the required details for the order.
- 自動駕駛網(wǎng)絡(luò):自智時代的網(wǎng)絡(luò)架構(gòu)
- Web安全防護指南:基礎(chǔ)篇
- 光網(wǎng)絡(luò)評估及案例分析
- 網(wǎng)管員典藏書架:網(wǎng)絡(luò)管理與運維實戰(zhàn)寶典
- 邁向自智網(wǎng)絡(luò)時代:IP自動駕駛網(wǎng)絡(luò)
- 基于性能的保障理論與方法
- 計算機網(wǎng)絡(luò)技術(shù)及應(yīng)用
- 4G小基站系統(tǒng)原理、組網(wǎng)及應(yīng)用
- TCP/IP基礎(chǔ)(第2版)
- LwIP應(yīng)用開發(fā)實戰(zhàn)指南:基于STM32
- 移動互聯(lián)網(wǎng)新思維
- Enterprise ApplicationDevelopment with Ext JSand Spring
- 5G智慧交通
- Telerik WPF Controls Tutorial
- 網(wǎng)絡(luò)設(shè)備配置與調(diào)試項目實訓(xùn)