High-consistency micro-service architecture and data updating method thereof
A data update and micro-service technology, applied in structured data retrieval, special data processing applications, database design/maintenance, etc., can solve the problems of slow response of business services, high development costs, data errors, etc., to reduce communication time, Avoid rolling back incomplete effects
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Publication Date
- 2020-03-27
Smart Images

Figure 1 
Figure 2
Abstract
Description
technical field
[0001] The invention relates to the technical field of data exchange networks, in particular to a highly consistent microservice architecture and a data update method thereof. Background technique
[0002] When large-scale software is developed using the traditional monolithic architecture application, with the continuous increase of new requirements, software update and maintenance become more and more complicated and uncontrollable, and it is impossible to realize the rapid update and iteration mode of Internet development. On this basis, the microservice software architecture came into being.
[0003] Microservice is an architectural style that generally refers to a small business processing module in a large software application. The microservice software architecture refers to the splitting of different businesses into different microservices during software design, and the communication and interaction data between each microservice is carried out usin...
Examples
Embodiment Construction
[0026] The present invention will be described in further detail below in conjunction with the examples, but the protection scope of the present invention is not limited thereto.
[0027] The invention relates to a method for updating data of a highly consistent microservice architecture, and the method includes the following steps.
[0028] Step 1: Receive any data modification business; trigger any business module S i ,in, i from 1 to n an integer of .
[0029] Step 2: S i Take out the existing data for calculation, modify the data, and send the calculation result and the next business module S j Notify the data service module, where, j from 1 to n an integer of , and i≠j .
[0030] In the present invention, after each modification of the business module, the cache will be updated and the latest data of this business will be saved, so the existing data refers to the data taken out from the cache.
[0031] In the present invention, each business module is independ...