Method, terminal device and storage medium for data disaster recovery playback of computing node

A computing node and data disaster recovery technology, applied in the field of data processing, can solve the problems of low playback efficiency and unsatisfactory recovery timeliness, and achieve the effect of solving the timeliness problem

Active Publication Date: 2022-07-05
XIAMEN YAXON NETWORKS CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this method ensures the high availability of computing node data, when writing records to disk files, because they are written to a disk file uniformly, there will inevitably be I / O performance problems of concurrent writing. In addition, when In an abnormal situation, when it is necessary to restore the data of the computing node, it is necessary to perform "full playback", that is, to load all the records in the entire disk file one by one. When the computing node runs for a long time and the calculated data is large , the history records of the entire disk file are very large, and most of the records may be useless outdated records. Performing "full playback" not only does a lot of useless work, but also the efficiency of playback is extremely low
Although all data can be recovered, the recovery time is often not satisfactory

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
  • Method, terminal device and storage medium for data disaster recovery playback of computing node
  • Method, terminal device and storage medium for data disaster recovery playback of computing node
  • Method, terminal device and storage medium for data disaster recovery playback of computing node

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] see Figure 1-Figure 4 As shown in the figure, the present invention provides a method for data disaster recovery and playback of computing nodes. By operating the disk in parallel, the queue information of the data is persisted to the corresponding WAL log file in the disk directory of the WAL log file set in the process of setting the disk directory (the WAL log file is divided according to size, and the file ID), and then cache a separate slave queue in the memory of the computing node to record the file ID of the WAL log file corresponding to each piece of data to be processed and the offset address of the stored disk file. Since the main queue caches the real data body, and the slave queue caches the file ID of the WAL log file and the offset address of the stored disk file, it does not store the real data body, which can greatly reduce the occupation of the slave queue. Memory. After the data message is processed, remove the real data body from the main queue, r...

Embodiment 2

[0043] The present invention also provides a terminal device for disaster recovery and playback of computing node data, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the computer program When implementing the process in the above method embodiment of the embodiment of the present invention, for example Figure 1-Figure 4 The method process of the process shown.

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 method for data disaster tolerance playback of computing nodes, including the following processes: a process of setting a disk directory, a process of setting the frequency of checkpoint file backup, a process of data entering a computing node, a process of data being processed by the computing node, and a process of computing The process of data playback when the node is abnormal. A terminal device for disaster recovery and playback of computing node data, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, and the processor implements a computing node when the processor executes the computer program The steps of the method for data disaster recovery playback. A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, implements steps of a method for data disaster recovery playback of a computing node. It not only realizes the high-performance data disaster recovery of computing nodes, but also solves the problem of timeliness in data recovery and playback.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method, terminal device and storage medium for data disaster recovery and playback of computing nodes. Background technique [0002] With the advent of the era of massive data, data computing power and data disaster tolerance have become indispensable indicators in software system architecture. As for the computing power of data, the horizontal expansion of computing nodes can be achieved by means of distributed load balancing at the system architecture level, so as to achieve an infinite improvement of computing power. However, how to ensure the disaster recovery and playback of data on each computing node has also become the focus of the industry. [0003] Most of the data disaster recovery on traditional computing nodes is to use WAL (write-ahead-log) for the data cached in the queue, that is, to record a log to a disk file before inserting the data into the queue. ...

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): G06F16/18G06F16/13G06F11/14
CPCG06F11/1448G06F16/13G06F16/1815
Inventor 游锋锋陈福林曾夺杨俊辉
Owner XIAMEN YAXON NETWORKS 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