Server hot backup system and method

A server and hot backup technology, applied in the direction of response error generation, redundant data error detection in computing, etc., can solve the problems of system unserviceable, disk writing failure, low security, etc., and achieve simplified processing logic, Avoid delay and ensure atomic effect

Active Publication Date: 2014-01-22
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF4 Cites 24 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the disadvantage of this solution is: since the data needs to be persisted in the disk, there is a risk of failure to write...

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
  • Server hot backup system and method
  • Server hot backup system and method
  • Server hot backup system and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Below in conjunction with accompanying drawing and specific embodiment the present invention will be described in further detail again

[0020] figure 1 It is a schematic diagram of the composition of the server hot backup system of the present invention. see figure 1 , the server hot backup system includes: an election server and more than two candidate servers with the same processing logic.

[0021] The election server is used to determine a master server and a standby server from the candidate servers;

[0022] When the candidate server is determined to be the standby server, it is used to learn and acquire the full amount of dynamic data in the main server memory, store the learned dynamic data in the local memory, and execute the received write request broadcast by the main server;

[0023] When the candidate server is determined to be the primary server, it is used to store the dynamic data in the local memory, accept and process the user request, and broadcas...

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 server hot backup system and method. The server hot backup system comprises a selecting server and more than two candidate servers with the same processing logic. The selecting server determines a main server and backup servers from the candidate servers; under the condition that the candidate servers are determined to be the backup servers, the candidate servers are used for acquiring all dynamic data in the memory of the main server by studying, the dynamic data acquired by studying are stored in a local memory, and a received writing request of the broadcasting of the main server is executed; under the condition that the candidate servers are determined as the main server, the dynamic data are stored in the local memory, a user request is received and processed, and the writing request which is successfully executed by local logic is broadcasted to the backup servers which successfully acquiring the dynamic data by studying. The server hot backup system and method are used, the processing logic of hot backup can be simplified, and the pressure to the performance of the servers can be lowered.

Description

technical field [0001] The present application relates to the technical field of computer data processing, in particular to a server hot backup system and method. Background technique [0002] Hot backup means that among two or more servers in a data processing system, one server is in an active state (active), and the other servers are in a backup state (standby). Users can only access the server in the active state; and all user update operations must be synchronized to other servers in the backup state to ensure that after the server in the active state goes down, any server in the backup state can switch to the active state to provide services ;Usually, one master and one backup are sufficient, and one master and multiple backups can also be used to further improve service availability. [0003] The current hot backup solution is to implement the hot backup logic in the stateful server. The stateful server refers to the need to store data in disks (referred to as landi...

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): G06F11/14
Inventor 朱会灿伍海君邓大付杨绍鹏李锐邹永强赵大勇陈晓东王磊阙太富刘畅张书鑫张银锋董乘宇
Owner TENCENT TECH (SHENZHEN) CO LTD
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