Skip to main content
QUICK REVIEW

[Paper Review] PrismDB: Read-aware Log-structured Merge Trees for Heterogeneous Storage.

Ashwini Raina, Asaf Cidon|arXiv (Cornell University)|Aug 5, 2020
Advanced Data Storage TechnologiesComputer Science14 references4 citations
TL;DR

PrismDB is a read-aware log-structured merge tree key-value store that dynamically tiers data across heterogeneous storage tiers—such as 3D XPoint and QLC NAND—by pinning hot objects to faster storage. It achieves 2.3× higher average throughput and over 10× lower tail latency than RocksDB on comparable hardware, while reducing cost by 50%.

ABSTRACT

In recent years, emerging hardware storage technologies have focused on divergent goals: better performance or lower cost-per-bit of storage. Correspondingly, data systems that employ these new technologies are optimized either to be fast (but expensive) or cheap (but slow). We take a different approach: by combining multiple tiers of fast and low-cost storage technologies within the same system, we can achieve a Pareto-efficient balance between performance and cost-per-bit. This paper presents the design and implementation of PrismDB, a novel log-structured merge tree based key-value store that exploits a full spectrum of heterogeneous storage technologies (from 3D XPoint to QLC NAND). We introduce the notion of read-awareness to log-structured merge trees, which allows hot objects to be pinned to faster storage, achieving better tiering and hot-cold separation of objects. Compared to the standard use of RocksDB on flash in datacenters today, PrismDB's average throughput on heterogeneous storage is 2.3$ imes$ faster and its tail latency is more than an order of magnitude better, using hardware than is half the cost.

Motivation & Objective

  • To address the growing divergence in storage hardware goals: high performance vs. low cost-per-bit.
  • To design a key-value store that efficiently combines fast and low-cost storage technologies in a single system.
  • To improve data tiering and hot-cold separation in log-structured merge trees by introducing read-awareness.
  • To achieve better performance and cost-efficiency than existing systems like RocksDB in datacenter deployments.

Proposed method

  • Introduces read-awareness in LSM trees to identify and pin frequently accessed (hot) objects to faster storage tiers.
  • Employs dynamic tiering based on access patterns, using real-time read frequency to guide data placement.
  • Supports a full spectrum of storage technologies, from high-performance 3D XPoint to low-cost QLC NAND, within a single storage layer.
  • Uses a hybrid storage architecture that automatically balances performance and cost by leveraging access locality.
  • Designs a novel LSM tree variant that tracks read access frequency and triggers tiering decisions based on hot object detection.
  • Optimizes write amplification and read latency by minimizing cross-tier data movement through intelligent hot object retention.

Experimental results

Research questions

  • RQ1How can a key-value store efficiently exploit heterogeneous storage technologies spanning from fast to low-cost storage?
  • RQ2What mechanisms enable effective hot-cold data separation in log-structured merge trees without sacrificing write performance?
  • RQ3Can read-awareness in LSM trees significantly improve performance and reduce tail latency compared to traditional tiering strategies?
  • RQ4To what extent can performance be improved while reducing hardware cost in a storage system using mixed-tier storage?
  • RQ5How does read-aware tiering compare to conventional LSM tree designs in real-world workloads?

Key findings

  • PrismDB achieves 2.3× higher average throughput than RocksDB when deployed on heterogeneous storage with half the cost per bit.
  • Tail latency in PrismDB is more than 10× lower than RocksDB under the same hardware conditions.
  • The system reduces cost by 50% compared to RocksDB while maintaining superior performance by leveraging QLC NAND and 3D XPoint together.
  • Read-awareness enables effective hot object pinning, improving cache efficiency and reducing cross-tier data movement.
  • The combination of fast and low-cost storage in PrismDB results in a Pareto-efficient trade-off between performance and cost.
  • PrismDB outperforms RocksDB in both throughput and latency across diverse access patterns, demonstrating strong scalability and efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.