- 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.
- 網絡教育學習指導
- Spring Boot 2.0 Projects
- 通信簡史:從信鴿到6G+
- Practical Web Design
- 數字通信同步技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- Mastering TypeScript 3
- Metasploit Penetration Testing Cookbook
- 雷達饋線技術
- 數字調制解調技術的MATLAB與FPGA實現:Altera/Verilog版(第2版)
- 城域網與廣域網(第2版)
- OMNeT++與網絡仿真
- Working with Legacy Systems
- 從實踐中學習手機抓包與數據分析
- 物聯網工程概論
- 深入理解Nginx:模塊開發與架構解析