VAT: Asymptotic Cost Analysis for Multi-Level Key-Value Stores
Graduate Students Conference
Nikos Batsaras 25 October 2019
Computer Science Department, University of Crete
VAT: Asymptotic Cost Analysis for Multi-Level Key-Value Stores - - PowerPoint PPT Presentation
VAT: Asymptotic Cost Analysis for Multi-Level Key-Value Stores Graduate Students Conference Nikos Batsaras 25 October 2019 Computer Science Department, University of Crete Key-Value (KV) Store Application data Client KV store :
Graduate Students Conference
Nikos Batsaras 25 October 2019
Computer Science Department, University of Crete
Key-Value (KV) Store
networks, data analytics.
storage systems.
Application data
(k,v) Client Server KV store kv kv kv kv · · ·
Main memory
kv kv kv kv · · ·
Persistent device
nikbats@ics.forth.gr 1 of 8
Persistent Multi-Level KV Stores
Definitions:
Main memory Persistent device
Compaction S0
KV · · · KV · · · SST
L0 S1 = f · S0
KV · · · KV SST
L1
KV · · · KV · · · SST
Sℓ = f · Sℓ−1
KV · · · KV SST
Lℓ
KV · · · KV SST KV · · · KV · · · SST
nikbats@ics.forth.gr 2 of 8
Persistent Multi-Level KV Stores
Definitions:
Design choices:
Main memory Persistent device
Compaction S0
KV · · · KV · · · SST
L0 S1 = f · S0
KV · · · KV SST
L1
KV · · · KV · · · SST
Sℓ = f · Sℓ−1
KV · · · KV SST
Lℓ
KV · · · KV SST KV · · · KV · · · SST
nikbats@ics.forth.gr 2 of 8
Problem Statement & Challenge
different metrics.
the design space.
Designer Analysis
I/O Amplification Growth factor Compaction SST size Optimal KV store
nikbats@ics.forth.gr 3 of 8
Landscape
I/O Amplification Storage Evolution HDD SSD/NVMe NVM
nikbats@ics.forth.gr 4 of 8
Landscape
I/O Amplification Storage Evolution HDD SSD/NVMe NVM
Amplification with technology trend
RocksDB Dostoevsky Monkey PebblesDB SifrDB Atlas WiscKey HashKV Kreon ?
nikbats@ics.forth.gr 4 of 8
Landscape
I/O Amplification Storage Evolution HDD SSD/NVMe NVM VAT
Amplification with technology trend
RocksDB Dostoevsky Monkey PebblesDB SifrDB Atlas WiscKey HashKV Kreon ?
nikbats@ics.forth.gr 4 of 8
Experimental Results
2 4 8 64
Growth factor (f)
10 20 30 40 50 60
Cost RocksDB approximation
RocksDB SST-VAT VAT 2 4 8 64
Growth factor (f)
0.0 0.5 1.0 1.5 2.0
Cost Kreon approximation
VAT Kreon 2 4 8 64
Growth factor (f)
0.0 0.5 1.0 1.5 2.0
Cost BlobDB approximation
VAT BlobDB 2 4 8 64
Growth factor (f)
2 4 6 8 10
Cost PebblesDB approximation
VAT PebblesDB nikbats@ics.forth.gr 5 of 8
Single Tier for Future Fast Storage Devices
persistent memory module. CoRR, abs/1903.05714, 2019.
Main memory NVM device
Compaction S0
KV · · · KV · · · SST
L0 Dataset
KV · · · KV SST
L1
KV · · · KV · · · SST
nikbats@ics.forth.gr 6 of 8
Conclusions
In this presentation, we talked about the VAT analysis which:
nikbats@ics.forth.gr 7 of 8
Questions ?
Institute of Computer Science, FORTH – Heraklion, Greece Computer Science Department, University of Crete – Heraklion, Greece
nikbats@ics.forth.gr 8 of 8