Method for writing data in a distributed storage system
A distributed storage and data technology, applied in the input/output process of data processing, file system, file system type, etc., can solve problems such as random writing, and achieve the effect of reducing randomness and reducing the number of data writes
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0083] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0084] figure 1 It is a data flow of a distributed storage system based on the raft protocol in the prior art. Whenever new data is to be written, figure 1 Both the master process and the slave process in the log file write data in their respective log files and data files. The core idea of the present invention is that, depending on the size of the data to be written, data is written to a log file in a non-transitory storage medium or data is written to a data file in a non-transitory storage medium, thereby avoiding The secondary write (that is, writing to both the log file and the data file) eliminates the write amplification problem. The present invention is particularly suitable for a distributed storage system that uses a disk as a non-...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


