23
An Economical and SLO- Guaranteed Cloud Storage Service across Multiple Cloud Service Providers Guoxin Liu and Haiying Shen Presenter: Haiying Shen Associate professor Department of Electrical and Computer Engineering, Clemson University, Clemson, USA 1

An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

An Economical and SLO-Guaranteed Cloud Storage

Service across Multiple Cloud Service ProvidersGuoxin Liu and Haiying Shen

Presenter: Haiying Shen

Associate professor

Department of Electrical and Computer Engineering, Clemson University, Clemson, USA

1

Page 2: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Outline

Introduction Related work Problem Statement Economical and SLO-guaranteed Service Evaluation Conclusion

2

Page 3: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Cloud Service Providers (CSPs)

3

Page 4: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Geo-Distributed Storage over CSPs Use different CSPs ◦ Objective: minimize payment cost

Non-trivial

Storage

VMs

Storage

VMs

Storage

VMs

Google US East Microsoft Azure US EastAmazon Asia Tokyo

Get

Page 5: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Geo-Distributed Storage over CSPs Cloud service broker◦ Collects resource usage requirements from customers◦ Generates data allocation over multiple clouds Data storage and Get request allocation

Reduce cost by leveraging different pricing policies◦ Different cloud providers, different datacenters of a cloud

provider◦ Tiered pricing◦ Location of the destination datacenter ◦ Pay-as-you-go price > reservation price

Problem:◦ Input: customer data and request rates◦ Output: data storage & request allocation and resource

reservation

Page 6: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Outline

Introduction Related work Problem Statement Economical and SLO-guaranteed Service Evaluation Conclusion

6

Page 7: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Storage services over multiple clouds Data availability, data retrieval latency

Cloud/datacenter storage payment cost minimization◦ Adaptively assign data with different sizes to different

storage services to minimize the cost for storage Pricing models on clouds◦ Dynamic pricing models Adaptive leasing or auctions Model concave game

Cloud service SLO guarantee◦ Guarantee service latency SLO and achieve high

throughput Caching and scheduling

Related Work

7

Page 8: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

ES3: Economical and SLO-guaranteed cloud Storage Service◦ Geographically distributed cloud storage service for

multiple customers over multiple clouds with SLO guarantee and cost minimization

SLO Guaranteed with Cost Minimization

8

Storage

VMs

Storage

VMs

Storage

VMs

Google US East Microsoft Azure US EastAmazon Asia Tokyo

Get

Page 9: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Outline

Introduction Related work Problem Statement Economical and SLO-guaranteed Service Evaluation Conclusion

9

Page 10: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Payment minimization objective◦ Get/Put: Minimize cost under both pay-as-you-go and

reservation◦ Storage/Transfer: Minimize pay-as-you-go under

tiered pricing model

Constraints◦ Ensure Get/Put SLO for each tenant ◦ Ensure data availability (maintain replicas over

datacenters)◦ Avoid data congestion of a single datacenter

NP-Hard

Data Allocation and Resource Reservation

10

Page 11: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Outline

Introduction Related work Problem Statement Economical and SLO-guaranteed Service Evaluation Conclusion

11

Page 12: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Cost minimization with SLO guarantee under pay-as-you-go model & reservation benefit maximization◦ Coordinated data allocation and reservation

Cost minimization under reservation ◦ GA-based data allocation adjustment

Dynamic Get rate variation◦ Dynamic request redirection

Economical and SLO-guaranteed Cloud Storage Service

12

Page 13: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

A={A1,A2,….An} as a list of the number of Gets in different tk in T sorted in an increasing order

Rule 1: Among several datacenter candidates to allocate a data item, we need to choose the datacenter that leads to the largest A1 increment after being allocated with the data item

The optimal reservation is the Ai in A that generates the largest reservation benefit

Coordinated Data Allocation and Resource Reservation

13

dp1

d1

d2d1

d2

t1 t2dp2

d3

d4d3

d4

t1 t2

Unbalanced data allocation

Reservation

A1=100

A2=200

Page 14: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Dominant cost◦ Cost >> sum of all other costs

Intensive data◦ Storage/Get/Put intensive (storage/Get/Put cost

domination)◦ Existence of high domination ratio Storage intensive: Old webpages/photos/videos Put intensive: Replicas for data availability Get intensive: New popular news/photos/videos

Data Allocation and Reservation

14

Page 15: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

SLO guarantee◦ Latency and capacity aware cloud service selection

Cost efficiency◦ Get/Put intensive data Minimum unit price & follow Rule 1

◦ Storage intensive data Minimum unit price and maximum aggregation size

Data Allocation and Reservation

15

Optimal data allocationdp1

d1

d2

d1

d2

t1 t2dp2

d3

d4

d3

d4

t1 t2

GA=>>

dp1

d1

d2d1

d2

t1 t2dp2

d3

d4d3

d4

t1 t2

Unbalanced data allocation

Reservation

A1=100

A2=200

A1=100A1=A2=150

Page 16: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Genetic algorithm (GA): mimics the process of natural selection◦ Gene: Data allocation of a data item◦ Crossover: Between global-optimal and sub-optimals◦ Mutation: Approach to global optimal

GA-based Data Allocation

16

<d1,{dp1,…,dpβ}> <d2,{dp1’,…,dpβ’}> … <dk,{dp1’’,…,dpβ’’}>

<d1,{dp1,…,dpβ}> <d2,{dp1’,…,dpβ’}> … <dk,{dp1’’,…,dpβ’’}>

Global optimal

Storage optimal

<d1,{dp1,…,dpβ}> <d2,{dp1’,…,dpβ’}> … <dk,{dp1’’,…,dpβ’’}>Get optimal

<d1,{dp1,…,dpβ}> <d2,{dp1’,…,dpβ’}> … <dk,{dp1’’,…,dpβ’’}>Put optimal

<d1,{dp1’,…,dpβ’}>

Crossover Crossover Crossover

Mutation<d1,{dp1’,…,dpβ’}>

Page 17: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Observation: Get rate variation Solution◦ Data availability: Multiple replicas◦ Saturation datacenter

Saturation: Usage over reservation Starvation: Usage under reservation

Dynamic Request Redirection

17

StorageAWS US East Azure US East

Storage

Get(di) Request Reservation Request Expectation

StarvationSaturationAgent

Starvation datacenter

Page 18: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Outline

Introduction Related work Problem Statement Economical and SLO-guaranteed Service Evaluation Conclusion

18

Page 19: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Evaluation of ES3

19

Simulated CSPs: 25 regions◦ Amazon S3, Microsoft Azure, and Google cloud storage

Simulated customers◦ 52 Cloud customers

Real deployment◦ One customer: Amazon EC2 US East & West regions

Comparison◦ COPS [9]: shortest latency◦ SPANStore [10]: latency guaranteed and unit cost

minimization◦ Cheapest: Unit cost minimization◦ Random: Random CSP region selection

[9] W. Lloyd, M. J. Freedman, M. Kaminsky, and D. G. Andersen. Dont Settle for Eventual: Scalable Causal Consistency for Wide-Area Storage with COPS. In Proc. of SOSP, 2011.[10] Z. Wu, M. Butkiewicz, D. Perkins, E. Katz-Bassett, and H. V. Madhyastha. SPANStore: Cost-Eective Geo-Replicated Storage Spanning Multiple Cloud Services. In Proc. of SOSP, 2013.

Page 20: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Evaluation (cont.)

20

Effect of ES3

◦ Due to capacity and latency awareness ES3 supplies get-SLO and put-SLO guaranteed service

◦ Due to the comprehensive pricing policy awareness ES3 generates the minimum payment cost to CSPs

Page 21: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Outline

Introduction Related work Problem Statement Economical and SLO-guaranteed Service Evaluation Conclusion

21

Page 22: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Conclusion

22

Multi-cloud Economical and SLO-guaranteed cloud Storage Service (ES3) Coordinated data allocation and reservation GA-based data allocation adjustment Dynamic request redirection◦ Effectiveness: Minimize payment cost and achieve the SLO of each

tenant◦ Future wok: Dynamically create and delete data replicas in

datacenters to fully utilize the Put reservation

Page 23: An Economical and SLO- Guaranteed Cloud Storage Service ...cs.virginia.edu/~hs6ms/publishedPaper/Conference... · Geo-Distributed Storage over CSPs Cloud service broker Collects resource

Thank you!Questions & Comments?

Haiying Shen, Associated Professor

[email protected]

Pervasive Communication Laboratory

Clemson University