arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1907.05443cs.DBcs.LG
收藏

学习键值存储设计

Learning Key-Value Store Design

Harvard University(哈佛大学)

Stratos Idreos, Niv Dayan, Wilson Qin, Mali Akmanalp, Sophie Hilgard, Andrew Ross, James Lennon, Varun Jain, Harshita Gupta, David Li, Zichen Zhu

摘要:

我们引入了设计连续体的概念,用于键值存储的数据布局。设计连续体将主要不同的数据结构设计统一在同一模型下。关键的洞察力和潜在的长期影响是,这种统一模型1)使我们迄今为止认为根本不同的数据结构被视为完全相同的整体设计空间的视图,以及2)允许看到具有现有设计不可行的性能属性的新数据结构设计。设计连续体构建背后的核心直觉是,所有数据结构都源于同一组基本设计原则,即,一小部分数据布局设计概念,我们可以从中综合现有文献中的任何设计以及新的设计。我们展示了如何构建,评估和扩展,设计连续体,我们还提出了统一主要数据结构设计的第一个连续体,即,B+树、B-Tree树、LSM树和LSH表。设计连续体的实际好处是它为数据结构的设计创建了一个快速的推理引擎。例如,我们可以几乎立即预测数据系统底层存储中的特定设计更改将如何影响性能,或者在给定工作负载特性和内存预算的情况下,(从给定的一组设计中)确定什么是最佳数据结构。反过来,这些属性使我们能够设想一种新的自设计键值存储,其具有显著改进的能力,通过在完全不同的数据结构设计之间转换以随意地假定不同的性能属性集合来适应工作负载和硬件变化。

英文摘要:

We introduce the concept of design continuums for the data layout of key-value stores. A design continuum unifies major distinct data structure designs under the same model. The critical insight and potential long-term impact is that such unifying models 1) render what we consider up to now as fundamentally different data structures to be seen as views of the very same overall design space, and 2) allow seeing new data structure designs with performance properties that are not feasible by existing designs. The core intuition behind the construction of design continuums is that all data structures arise from the very same set of fundamental design principles, i.e., a small set of data layout design concepts out of which we can synthesize any design that exists in the literature as well as new ones. We show how to construct, evaluate, and expand, design continuums and we also present the first continuum that unifies major data structure designs, i.e., B+tree, B-epsilon-tree, LSM-tree, and LSH-table. The practical benefit of a design continuum is that it creates a fast inference engine for the design of data structures. For example, we can predict near instantly how a specific design change in the underlying storage of a data system would affect performance, or reversely what would be the optimal data structure (from a given set of designs) given workload characteristics and a memory budget. In turn, these properties allow us to envision a new class of self-designing key-value stores with a substantially improved ability to adapt to workload and hardware changes by transitioning between drastically different data structure designs to assume a diverse set of performance properties at will.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑