LESS: Logging Exploiting SnapShot

Hanseung Sung, Minhwa Jin, Mincheol Shin, Hongchan Roh, Won Gi Choi, Sanghyun ParkBigComp 2019

Abstract

The in-memory key-value store provides a persistence method to ensure data durability. The currently provided methods are either to create a snapshot file of a current dataset or to write the log of the performed command in the log file. However, the snapshot method has a risk of data loss and append only logging method cause a system failure due to an increase in log file size. To prevent excessive AOF file size growth, the in-memory key-value store provides a reconstruction method, but also a performance degradation and excessive memory usage occur. In this paper, we propose a new persistence method for effective memory usage and throughput. The new approach is called Logging Exploiting SnapShot (LESS). LESS is a method that combines the advantages of a snapshot using low memory usage and the benefits of an append only logging method that guarantees data persistence. We implemented LESS on Redis and conducted experiments. A benchmark test demonstrated that the proposed approach reduces the maximum memory usage by 57% and it is 2.7 times faster than the original approach. Overall, the experimental results showed that LESS is effective for Redis.
BibTeX
@inproceedings{sung2019less,
  author = {Hanseung Sung and Minhwa Jin and Mincheol Shin and Hongchan Roh and Won Gi Choi and Sanghyun Park},
  title = {{LESS: Logging Exploiting SnapShot}},
  booktitle = {BigComp},
  year = {2019},
  url = {https://openreview.net/forum?id=SmWfSUtMIr},
}

Loading related content...

Figure