A container-based method for implementing multi-version coexistence of services

An implementation method and service version technology, applied in the field of distributed services, can solve problems such as long release time, lack of service, machine growth, etc., and achieve the effect of reducing release or stop time and improving work efficiency

Active Publication Date: 2018-09-18
FOCUS TECH
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] Compared with centralized service deployment, distributed service distribution is more complex and difficult
One is because in the distributed service deployment, the centralized application is divided into multiple applications, and each application is deployed on multiple machines, and the release volume increases exponentially, resulting in a double increase in the number of machines that need to be operated when the service is upgraded or upgraded. ; The second is that the release of traditional services needs to restart the service, resulting in a long release time, which may take several minutes to several hours, which further increases the difficulty of distributed service releases; the third is due to the lack of clear marking of services, It is impossible to distinguish between old and new services. When the new service is incompatible with the old service, it is necessary to prevent the old client from accessing the new service

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 container-based method for implementing multi-version coexistence of services
  • A container-based method for implementing multi-version coexistence of services
  • A container-based method for implementing multi-version coexistence of services

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the technical scheme, technical purpose and technical effect of the present invention clearer, the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0040] figure 1 It is an implementation structure diagram of a container-based service multi-version implementation method in the embodiment of the present invention, specifically including a server 101, a registration center 102, a client 103, a service node 1 and a service node 2, and the service node 1 includes a container 1 -1 and container 1-2, service node 2 includes container 2-1 and container 2-2; the server is connected to the registration center, and after the new service is started, the server sends the registration information of the service to the registration center; registration The center is connected to the client to transmit the published service information to the client for storage; the ...

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

A container-based method for implementing multi-version coexistence of services. By configuring multiple service nodes on the server side, configuring multiple containers in each service node, and loading different service sets in each container, not only can multiple versions of services coexist, It also makes it possible to clearly distinguish between different service types and different versions of the same service type in a service coexistence environment; using containers to distinguish new and old version services, when adding new services or stopping old services, the client can automatically filter the desired service according to its own version. The called service version, and obtain the service call result from the corresponding container, reducing the manual control call when the client and the calling service version are inconsistent; the coexistence of multiple versions of the service makes the service application no longer need to be restarted during the upgrade process Load new services, simplify the tedious process of service upgrades, and realize hot deployment of services in a distributed environment.

Description

technical field [0001] The invention belongs to the field of distributed services, and in particular relates to a container-based method for realizing multi-version coexistence of services. Background technique [0002] Internet companies, due to factors such as rapid business development and rapid demand changes, require software applications that can quickly realize business and respond to changes in customer needs, so distributed services have been widely used. The use of distributed services has brought the following three major benefits: (1) Independent high-load modules: separate high-load modules into a service and deploy them on independent machines, so that high-load modules can exclusively share hardware resources and avoid high-load modules. The load module affects the normal use of other modules. For example: a product module may be a module with a large number of visits, which can be published as a service, and other modules call its services to access its func...

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): H04L12/24H04L29/08
CPCH04L41/0859H04L67/10
Inventor 王一帆丁国洋何学勇
Owner FOCUS 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