Erasure Coding for Small Objects in In-Memory Key-Value Storage
Matt M. T. Yiu, Helen H. W. Chan, Patrick P. C. Lee The Chinese University of Hong Kong
SYSTOR 2017
1
in In-Memory Key-Value Storage Matt M. T. Yiu, Helen H. W. Chan, - - PowerPoint PPT Presentation
Erasure Coding for Small Objects in In-Memory Key-Value Storage Matt M. T. Yiu, Helen H. W. Chan, Patrick P. C. Lee The Chinese University of Hong Kong SYSTOR 2017 1 Introduction In-memory key-value (KV) stores are widely deployed for
1
accesses fast recovery under stragglers and failures
2
𝑜 𝑙
3
4
5
Node #1 Key Value Metadata Reference Node #2 Key Value Metadata Reference Node #i Key Value Metadata Reference
...
6
Node #1 Key Metadata Reference Node #2 Node #k
...
Value Key Metadata Reference Value Key Metadata Reference Value Node #(k+1) Key Metadata Reference Parity Node #n Key Metadata Reference Parity
...
Replication Erasure coding
7
8
9
10
11
12
when a data chunk is sealed
Main Memory Chunk ID O1 O2 O3 O4 O5 O6 Chunk ID O1 O2 O3 O4 O5 O6 Chunk ID O1 O2 O3 O4 O5 O6
... 8 bytes + 4 KB 8 bytes + 4 KB 8 bytes + 4 KB
13
14
SET / GET / UPDATE / DELETE
15
16
Normal Degraded Intermediate Coordinated Normal Server failed Migration completed Server restored Inconsistency resolved
17
18
19
20
21
22
23