Advanced Search
    You Litong, Wang Zhenjie, Huang Linpeng. A Log-Structured Key-Value Store Based on Non-Volatile Memory[J]. Journal of Computer Research and Development, 2018, 55(9): 2038-2049. DOI: 10.7544/issn1000-1239.2018.20180258
    Citation: You Litong, Wang Zhenjie, Huang Linpeng. A Log-Structured Key-Value Store Based on Non-Volatile Memory[J]. Journal of Computer Research and Development, 2018, 55(9): 2038-2049. DOI: 10.7544/issn1000-1239.2018.20180258

    A Log-Structured Key-Value Store Based on Non-Volatile Memory

    • Non-volatile memory (NVM) technologies are promising that would change the future of storage. NVM possesses many attractive capabilities such as byte addressability, low access latency, and persistence. It provides a great opportunity for the integration of DRAM and NVM in a unified main storage space. NVM could access data through the memory bus and CPU related instructions, which makes it possible to design a fast and persistent storage system in non-volatile memory. Existing key-value stores proposed for block devices implement NVM as block devices, which conceal the performance that NVM provides. A few existing key-value stores for NVM fail to provide consistency when hardware supports (e.g., cache flush) on power failures are unavailable. In this paper, we present a non-volatile memory key-value storage system, named TinyKV, which utilizes the log structure as its core framework. We propose a static concurrent, cache-friendly Hash table implementation using the characteristics of the key-value workloads. TinyKV separates the maintenance for data log of each worker thread in order to guarantee high concurrency. In addition, we implement the log structure technology for memory management and design a multi-tier memory allocator to ensure consistency. To reduce write latency, we reduce writes to NVM and cache flushing instructions by using cache flushing instructions. Our experiments demonstrate that TinyKV outperforms traditional key-value stores in both throughput and scalability.
    • loading

    Catalog

      Turn off MathJax
      Article Contents

      /

      DownLoad:  Full-Size Img  PowerPoint
      Return
      Return