Method and device and system for supporting ultimate consistency of micro-service architecture transaction

A consistent, micro-service technology, applied in the field of micro-services, can solve problems such as inability to guarantee data consistency, high complexity of business logic, and inability to roll back data, and achieve fast receipt processing, avoid processing errors, and timely receipt processing. Effect

Active Publication Date: 2017-05-31
YONYOU NETWORK TECH
View PDF11 Cites 37 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Specifically, in the way of service invocation, when a service request is initiated from application A, it may be necessary to call the services of multiple applications such as application B and application C. In order to ensure transaction consistency, if application C fails to be invoked, application B The data cannot be rolled back and an error occurs. At this time, the business logic of the application A can call the direction service of the application B here. However, it will bring two problems: on the one hand, the complexity of the business logic is high, and errors are prone to occur. ; On the other hand, if the A application, B application or C application is down, the data may not be rolled back, and ultimately the data consistency cannot be guaranteed

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device and system for supporting ultimate consistency of micro-service architecture transaction
  • Method and device and system for supporting ultimate consistency of micro-service architecture transaction
  • Method and device and system for supporting ultimate consistency of micro-service architecture transaction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083] In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

[0084] In the following description, many specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, therefore, the protection scope of the present invention is not limited to the specific details disclosed below. EXAMPLE LIMITATIONS.

[0085] like Figure 1a As shown, a schematic flowchart of a method for supporting microservice architecture transaction eventual consistency at the sending end according to an embodiment of the present in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method and a device and a system for supporting the ultimate consistency of a micro-service architecture transaction. The method for supporting the ultimate consistency of the micro-service architecture transaction used for a transmitting end comprises the steps that a service call is initiated, the logs are recorded, when the logs are written with actions, uninitiated service calls or logs with not returned results when the specified time is exceeded are checked regularly, and call requests are sent; the returned receipt information is received, the log records are queried, the call treatments are judged whether or not they have been completed according to the log status, if the calls are being treated, the returned results are called, and corresponding transaction interfaces are called according to the returned results, service calls are continually initiated, then through the method for supporting the ultimate consistency of the micro-service architecture transaction used for the message queueing services and the payments of a receiving end, asynchronous data calls for services are achieved through the logs and the message queueing, and the ultimate consistency of inter-service data is finally achieved.

Description

technical field [0001] The present invention relates to the field of microservices, in particular, to a method, device and system for supporting eventual consistency of microservice architecture transactions. Background technique [0002] At present, in the environment of Internet development, a unified large application system can no longer meet the growing demand for scalability. In order to improve the running speed of the system and support flexible dynamic expansion, the business system will generally be split into multiple microservices, that is, each service only provides relatively independent partial functions, and implements system functions by deploying new services. Expansion, and at the same time, when the pressure on the system is too high, it can more accurately expand the services that need to be added, and avoid other services from occupying unnecessary system resources. [0003] The invocation process of a business service may pass through multiple applica...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30
CPCG06F16/2365G06F16/24578G06F16/25
Inventor 姜军刘昆鹏
Owner YONYOU NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products