Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Micro-service dynamic updating method supporting transaction consistency

A dynamic update and micro-service technology, applied in the direction of multi-program device, data exchange network, software maintenance/management, etc., can solve the problem of undermining the security of dynamic update, to ensure continuous availability, strong adaptability, and avoid blocking Effect

Active Publication Date: 2021-06-29
NANJING UNIV
View PDF11 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although these solutions guarantee the availability of the software during the update process, due to the uncertainty of the update timing, it may cause the runtime distributed transaction to call different versions of the target update service, thereby destroying the security of dynamic update, that is, consistency. sexual demands

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
  • Micro-service dynamic updating method supporting transaction consistency
  • Micro-service dynamic updating method supporting transaction consistency
  • Micro-service dynamic updating method supporting transaction consistency

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Below in conjunction with specific embodiment, further illustrate the present invention, should be understood that these embodiments are only used to illustrate the present invention and are not intended to limit the scope of the present invention, after having read the present invention, those skilled in the art will understand various equivalent forms of the present invention All modifications fall within the scope defined by the appended claims of the present application.

[0031] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0032] A microservice dynamic update method supporting transactional consistency, characterized in that it includes the following content:

[0033] (1) Manage service requests through traffic proxy

[0034] Insert a traffic proxy for the user request entry of the entire microservice system and each microservice. The traffic proxy intercepts and takes ov...

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 discloses a micro-service dynamic updating method supporting transaction consistency, which belongs to the technical field of software maintenance and comprises the following contents: insertion of a flow agent and a dynamic updating process supporting transaction consistency are conducted, wherein a mode of inserting the flow agent is adopted to take over a user request, intercept and extract distributed transaction information in the user request, add a corresponding distributed transaction identifier and manage the distributed transaction identifier; a dynamic updating process supporting transaction consistency describes how to go from a new version to revoke an old version, and the continuous availability of the system is ensured while the target service is dynamically updated. Compared with a common deployment scheme, in the aspect of micro-service dynamic updating, the method achieves better balance in the aspects of timeliness and interference while meeting the consistency requirement, can be applied to different micro-service systems, and has higher application values.

Description

technical field [0001] The invention relates to a microservice dynamic update method supporting transaction consistency, belonging to the technical field of software maintenance. Background technique [0002] As the scale of software systems expands, system maintenance and evolution become more and more complex. Traditional applications package all functionality into a single unit called a monolith. The monolithic application architecture is simple and easy to deploy, but it is not flexible enough to guarantee the rapid and continuous delivery of software applications, so the microservice architecture came into being. [0003] As a new technology for deploying applications and services in the cloud, microservice architecture has become the latest popular architecture. The microservice architecture divides complex software applications into several smaller services, each of which can be independently deployed, upgraded, extended, and replaced. The microservices in the whol...

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): H04L29/08H04L29/06H04L12/24G06F8/65G06F8/71G06F9/46
CPCH04L41/082H04L41/0893G06F8/65G06F8/71G06F9/465H04L67/51H04L67/56H04L67/133H04L67/63
Inventor 曹春马晓星王东宇
Owner NANJING UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products