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

Container-based service multi-version coexistence implementation method

An implementation method and service version technology, applied in the field of distributed services, can solve the problems of long release time, lack of services, complex and difficult distribution of distributed services, and achieve the effect of reducing release or stop time and improving work efficiency.

Active Publication Date: 2017-05-31
FOCUS TECH
View PDF4 Cites 31 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
  • Container-based service multi-version coexistence implementation method
  • Container-based service multi-version coexistence implementation method
  • Container-based service multi-version coexistence implementation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] 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.

[0041] 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

The invention provides a container-based service multi-version coexistence implementation method. The method comprises the following steps: configuring a plurality of service nodes in a server, configuring a plurality of containers in each service node and loading different service sets in each container, thereby not only realizing the multi-version coexistence of the service, but also clearly distinguishing different service types and different versions of the same service type in a service coexistence environment; services of old and new versions are distinguished by the containers, after new services are added or old services are stopped, a client can automatically screen a to-be-called service version according to its own version and obtains a service call result from the corresponding container, thereby reducing the manual controlled call when the client is inconsistent with the called service version; and due to the coexistence of multiple versions of services, the new services do not need to be restarted and loaded in an upgrading process of a service application, thereby simplifying the cumbersome process of service upgrade and realizing 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
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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products