Working method of high-reliability distributed log system

A working method and distributed technology, which is applied in the field of distributed systems, can solve the problems of reducing availability, storing data in distributed search engines, and not meeting strong consistency, so as to achieve high availability and reduce the probability of data loss

Inactive Publication Date: 2018-06-01
中科边缘智慧信息科技(苏州)有限公司
View PDF4 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, the mainstream log systems are all distributed systems. For distributed log systems, it is extremely difficult to meet the three requirements of strong consistency, availability, and partition fault tolerance while processing high-concurrency transactions under large-scale clusters. At present, Most distributed log systems can only satisfy two of them at most, or prefer two of them
The main difficulties are: (1) In a distributed system, satisfying strong consistency will inevitably increase the response delay of the client, which will reduce the availability
(2) In a distributed system, if you want to have higher availability, you must not satisfy strong consistency, but only final consistency
(3) If you want to meet strong consistency and availability at the same time, the best way is to use a single node, but this will cause a single point problem, and the partition fault tolerance cannot be satisfied
Another example is the ELK (distributed search engine, collection tool, display tool) log system, which cannot be persistent in terms of data storage. The distributed search engine cannot really store data as a file system, and there is a risk of data loss.

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
  • Working method of high-reliability distributed log system
  • Working method of high-reliability distributed log system
  • Working method of high-reliability distributed log system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0037] combine figure 1 , figure 2 , the present invention refers to a working method of a highly reliable distributed log system, including:

[0038] A distributed file system is provided, and the distributed file system has several storage nodes, multiple writers, and multiple readers.

[0039] Multiple writers are used to simultaneously append records to a log file, generating a write request on the log file.

[0040] receiving the write request of the aforementioned log file, and assigning a sequence number to the log file.

[0041] Multiple copies are generated for the aforementioned log file assigned a sequence number, each copy is randomly written into a storag...

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 working method of a high-reliability distributed log system. The method comprises the steps of providing a distributed file system, wherein the distributed file system has several storage nodes, multiple writers and multiple readers; adopting the writers to add records to a log file simultaneously to generate a write-in request of the log file; receiving the writ-in request of the log file, and allocating a serial number to the log file; generating multiple copies for the log file allocated with the serial number, randomly writing each copy into a storage node of the distributed file system, and transmitting the copies to all the readers corresponding to the log through the distributed file system. By means of the working method of the high-reliability distributedlog system, coexistence of the availability and consistency can be achieved, high availability is achieved, that is, the service is always on line, the off line state is not allowed to appear, the write-in response is quick, a certain degree of data reading exists, and generally, recently write-in log data is read; meanwhile, the working method has durability, and the data loss probability is lowered.

Description

technical field [0001] The invention relates to the field of distributed systems, and belongs to a working method of a highly reliable distributed log system. Background technique [0002] With the deepening of the application of Internet technology, more and more log data are generated by various application systems, and the application of log data is becoming more and more important. All information system platforms generate a large number of logs every day, usually streaming data, including user access records, database operation records, etc. When the amount of data reaches a certain order of magnitude, traditional single-node systems cannot complete retrieval and analysis tasks. They must be processed using a distributed logging system. At present, the mainstream log systems are all distributed systems. For distributed log systems, it is extremely difficult to meet the three requirements of strong consistency, availability, and partition fault tolerance while processin...

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): G06F17/30G06F11/14
CPCG06F11/1435G06F11/1471G06F16/137G06F16/1815G06F16/182
Inventor 李新明刘斌
Owner 中科边缘智慧信息科技(苏州)有限公司
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