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

Multi-version program coexistence method and apparatus for big memory service

A multi-version and version technology, applied in the Internet field, can solve the problems of reducing service availability, fault propagation, extension, etc., and achieve the effect of improving service availability

Active Publication Date: 2016-06-08
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In particular, for large-memory services, when server (memory) resources are limited, availability cannot be provided by deploying more copies; fault recovery time will also be extended due to memory dump after exception, service restart initialization, etc.
Usually, network service programs will improve availability by configuring client request retry, but when the retried request is still processed by the version with the same problem, it will cause fault propagation, which will reduce the number of replicas available in the system and reduce service availability

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
  • Multi-version program coexistence method and apparatus for big memory service
  • Multi-version program coexistence method and apparatus for big memory service
  • Multi-version program coexistence method and apparatus for big memory service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Embodiments of the present invention are described in detail below, examples of which are shown in the drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary only for explaining the present invention and should not be construed as limiting the present invention. On the contrary, the embodiments of the present invention include all changes, modifications and equivalents coming within the spirit and scope of the appended claims.

[0024] figure 1 The flow chart of an embodiment of the method for the coexistence of multi-version programs serving the large memory of the present invention, as shown in figure 1 As shown, the coexistence method of the above-mentioned multi-version program for the large memory service may include:

[0025] Step 101, the server deploying the first copy receives the first...

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 multi-version program coexistence method and apparatus for a big memory service. The method comprises the steps of receiving a first request sent by a client through a server deploying a first copy, wherein the first request carries a mark of the first request processed by a program of a first version; forwarding the first request to the program of the first version for processing, and determining that the program of the first version is abnormal; sending a notice to the client, so that the client sends a second request to a server deploying a second copy, wherein the second request carries a mark of the second request processed by a program of a second version; and forwarding the second request to the program of the second version for processing by the server deploying the second copy, wherein the first version is an updated version of the second version. According to the method and apparatus, for the big memory service needing multiple versions for release or experiment, the service availability can be effectively improved without increasing the machine cost.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for coexistence of multi-version programs for large-memory services. Background technique [0002] On large-memory services that require high availability, the stability of multi-version programs will be affected by various factors such as hardware and software abnormalities, upgrades and changes. Hardware abnormalities, including stand-alone network card or disk failures, network switch failures, etc.; software abnormalities, including newly added code uncaught exceptions, or illegal access to memory, etc. The impact of upgrade changes, including planned downtime due to service restarts, etc. In particular, for large-memory services, when server (memory) resources are limited, availability cannot be provided by deploying more copies; fault recovery time will also be extended due to memory dump after exception, service restart initialization and other li...

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): G06F9/445
CPCG06F9/44536
Inventor 陈佳捷常磊蒋锦鹏
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
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