vipr distributed storage system - snia · pdf filevipr storage engine . active-active...

28
1 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved. ViPR Distributed Storage System Shashwat Srivastav, Sr Director Engg. Kamal Srinivasan, Principal Prod Manager

Upload: truongduong

Post on 06-Mar-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

1 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

ViPR Distributed Storage System Shashwat Srivastav, Sr Director Engg. Kamal Srinivasan, Principal Prod Manager

Page 2: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

2 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Agenda

• ViPR Overview

• ViPR Architecture for scalability

• Geo distributed storage

• Demo

• Q&A

Page 3: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

3 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

ViPR Overview

Page 4: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

4 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Storage Systems Today

•Impede development of applications •Requires movement of data from one to another (e.g. File to HDFS)

Storage silos

•Can’t economically scale for cloud •Lack of elasticity

Enterprise scale

•Choice of API and HW •Consistency semantics

Not ready for modern apps

Page 5: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

5 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Deliver Storage On Commodity Platforms with ViPR

Commodity Platforms

ViPR Services FILE

STORAGE HDFS

STORAGE OBJECT

STORAGE

Page 6: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

6 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Scalable Architecture

Page 7: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

7 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Commodity Platforms

ViPR Architecture

ViPR Storage Engine Active-Active read/write support with strong consistency

No single point of failure Performance and efficiency for small and large objects

BLOCK STORAGE

HDFS STORAGE

OBJECT STORAGE

Storage Arrays

VNX Isilon XIO 3rd Party

VMAX

Page 8: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

8 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Common Geo Functionality

ViPR Storage Engine

GET https://account/bucket/object

Page 9: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

9 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Chunks

• ViPR stores all types of data and index in “chunks”

• Chunks are: – Logical containers of contiguous space (128MB) – Written in an append-only pattern

• All data protection operations are done on chunks

#EMCVIPR

Page 10: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

10 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Chunk Write

Node 1 Node 2 Node 3 Node 4 Node 5

Chunk 1 Chunk 1 Chunk 1

Access Layer

Page 11: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

11 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Chunk Write

Node 1 Node 2 Node 3 Node 4 Node 5

Chunk 1 Chunk 1

Chunk 2

Chunk 1

Chunk 2 Chunk 2

Access Layer

Page 12: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

12 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Index

Node 1 Node 2 Node 3 Node 4 Node 5

Chunk 1 Chunk 1

Chunk 2

Chunk 1

Chunk 2 Chunk 2

Access Layer

Content Name Chunk Location

Image1.jpg Chunk 2 (offset:100)

Page 13: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

13 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Index Design

Chunk 1 Chunk 1 Chunk 1

Chunk 2 Chunk 2 Chunk 2

Partition 1 Partition 2

Content Name Chunk Location

Image1.jpg Chunk 2

Partition Node

Partition 1 Node 2

Partition 2 Node 3

Partition 3 Node 5

… …

Node 1 Node 2 Node 3 Node 4 Node 5

Partition 3

Page 14: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

14 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Index Design

Chunk 1 Chunk 1 Chunk 1

Chunk 2 Chunk 2 Chunk 2

Partition 1 Partition 2

Partition Node

Partition 1 Node 2

Partition 2 Node 3

Partition 3 Node 5

… …

Node 1 Node 2 Node 3 Node 4 Node 5

Partition 3 Partition 2

Node 4

Page 15: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

15 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Transaction

Node 1 Node 2 Node 3 Node 4 Node 5

Chunk 1 Chunk 1

Chunk 2

Chunk 1

Chunk 2 Chunk 2

Access Layer

Content Name Chunk Location

Image1.jpg Chunk 2 (offset:100)

Partition 3

Page 16: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

16 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Chunk Info

Node 1 Node 2 Node 3 Node 4 Node 5

Chunk 1 Chunk 1

Chunk 2

Chunk 1

Chunk 2 Chunk 2

Content Name Chunk Location

Image1.jpg Chunk 2

Chunk Id Location

Chunk 1 Node 1; Node 2; Node 3

Chunk 2 Node 3; Node 4; Node 5

Chunk 3 Chunk 3 Chunk 3

Chunk Id Location

Chunk 3 Node 2; Node 3; Node 4

Page 17: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

17 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

High Scalability Technique

Content Data (stored in chunks)

Chunk Management (stored in chunks)

Chunk Management (stored in special replicated store)

Page 18: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

18 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Optimized Geo Protection

Page 19: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

19 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Key Points • The scheme can tolerate one site disaster along

with up to 2 node failures in all the rest of the sites.

• The node failures are repaired using fragments from local site without WAN traffic.

• Achieves ~1.8 copies across 4 sites without having to reconstruct data across the WAN

#EMCVIPR

Page 20: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

20 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Chunk Backup

A

B

A B

C D

C D

Site-1 Site-2

Site-3

#EMCVIPR

Page 21: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

21 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Backup Compaction

A

A

D

D

E

Site-1 Site-2

Site-3

#EMCVIPR

B

B

C

C

Page 22: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

22 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Chunk Recovery

A

D

D

E

A

A

Site-1 Site-2

Site-3

#EMCVIPR

Page 23: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

23 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Local Protection

A

E

A E

E E

A A

Site-1 Site-2

Site-3

#EMCVIPR

Page 24: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

24 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Storage Overhead

1.33

2.67

2.00 1.77

1.67 1.60 1.55 1.52

0.00

0.50

1.00

1.50

2.00

2.50

3.00

1 2 3 4 5 6 7 8

Overhead

# of Data Centers

Optimized data access, protection and efficiency

Page 25: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

25 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Location Agnostic Access With Strong Consistency

Page 26: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

26 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

Industry Solutions

Geo location partitioned namespace

Eventual consistency across geo locations

Sync write all transaction across geo locations

Page 27: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency

27 © Copyright 2014 EMC Corporation. All rights reserved. © Copyright 2014 EMC Corporation. All rights reserved.

ViPR Solution

• Each bucket, object, directory, and file is represented as an entity in the index

Scalable Geo protection

• Sense traffic pattern individually for each entity.

Traffic heuristics

• Different techniques to avoid WAN round trip

Strong consistency

Page 28: ViPR Distributed Storage System - SNIA · PDF fileViPR Storage Engine . Active-Active read/write support with strong consistency . No single point of failure . Performance and efficiency