Unlock instant, AI-driven research and patent intelligence for your innovation.

A dynamic update method for microservices that supports transactional consistency

A dynamic update and micro-service technology, applied in the direction of multi-program device, version control, electrical components, etc., can solve the problem of undermining the security of dynamic update, and achieve the effect of ensuring continuous availability, avoiding blocking, and reducing interference

Active Publication Date: 2022-04-22
NANJING UNIV
View PDF11 Cites 0 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
  • A dynamic update method for microservices that supports transactional consistency
  • A dynamic update method for microservices that supports transactional consistency
  • A dynamic update method for microservices that supports transactional 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 microservice dynamic update method supporting transaction consistency, which belongs to the technical field of software maintenance, and includes the following content: the insertion of a traffic agent and the dynamic update process supporting transaction consistency; The user requests to take over, intercept and extract the distributed transaction information, add the corresponding distributed transaction identifier, and manage it; the dynamic update process that supports transaction consistency describes how to go online from the new version to revoke the old version, and target The service is dynamically updated while ensuring the continuous availability of the system. In terms of microservice dynamic update, compared with common deployment schemes, this method achieves a better balance in timeliness and interference while meeting the consistency requirements, and can be applied to different microservice systems. High application value.

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 Patents(China)
IPC IPC(8): H04L67/51H04L67/133H04L41/082H04L41/0893H04L67/63H04L67/56G06F8/65G06F8/71G06F9/46
CPCH04L41/082H04L41/0893G06F8/65G06F8/71G06F9/465H04L67/51H04L67/56H04L67/133H04L67/63
Inventor 曹春马晓星王东宇
Owner NANJING UNIV