dynamic content allocation for cloud- assisted service of ...€¦ · dynamic content allocation...

77
Dynamic Content Allocation for Cloud- assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada, April/May 2014 György Dán Royal Institute of Technology (KTH) Niklas Carlsson Linköping University

Upload: others

Post on 11-Sep-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Dynamic Content Allocation for Cloud-

assisted Service of Periodic Workloads

@ IEEE INFOCOM 2014, Toronto, Canada, April/May 2014

György Dán

Royal Institute of Technology (KTH)

Niklas Carlsson

Linköping University

Page 2: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Internet Content Delivery

• Large amounts of data with varying popularity

• Multi-billion market ($8B to $20B, 2012-2015)

• Goal: Minimize content delivery costs

• Migration to cloud data centers

From: Dan and Carlsson, “Power-laws Revisited: A Large Scale

Measurement Study of Peer-to-Peer Content Popularity”, Proc. IPTPS 2010.

Page 3: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Internet Content Delivery

• Large amounts of data with varying popularity

• Multi-billion market ($8B to $20B, 2012-2015)

• Goal: Minimize content delivery costs

• Migration to cloud data centers

From: Dan and Carlsson, “Power-laws Revisited: A Large Scale

Measurement Study of Peer-to-Peer Content Popularity”, Proc. IPTPS 2010.

Page 4: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Internet Content Delivery

• Large amounts of data with varying popularity

• Multi-billion market ($8B to $20B, 2012-2015)

• Goal: Minimize content delivery costs

• Migration to cloud data centers

From: Dan and Carlsson, “Power-laws Revisited: A Large Scale

Measurement Study of Peer-to-Peer Content Popularity”, Proc. IPTPS 2010.

Page 5: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Internet Content Delivery

• Large amounts of data with varying popularity

• Multi-billion market ($8B to $20B, 2012-2015)

• Goal: Minimize content delivery costs

• Migration to cloud data centers

From: Dan and Carlsson, “Power-laws Revisited: A Large Scale

Measurement Study of Peer-to-Peer Content Popularity”, Proc. IPTPS 2010.

Page 6: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Periodic Workloads

• Characterization of Spotify traces

• In addition to diurnal traffic volumes …

• … we found that also the Zipf exponent vary with time-of-day

Page 7: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Content Delivery

• Cloud-based delivery

• Dedicated infrastructure

servers

cloud

Page 8: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Content Delivery

• Cloud-based delivery

• Flexible computation, storage, and bandwidth

• Pay per volume and access

• Dedicated infrastructure

• Limited storage

• Capped unmetered bandwidth

• Potentially closer to the user

servers

cloud

Page 9: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Content Delivery

• Cloud-based delivery

• Flexible computation, storage, and bandwidth

• Pay per volume and access

• Dedicated infrastructure

• Limited storage

• Capped unmetered bandwidth

• Potentially closer to the user

Page 10: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Content Delivery

• Cloud-based delivery

• Flexible computation, storage, and bandwidth

• Pay per volume and access

• Dedicated infrastructure

• Limited storage

• Capped unmetered bandwidth

• Potentially closer to the user

Page 11: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Content Delivery

• Cloud-based delivery

• Flexible computation, storage, and bandwidth

• Pay per volume and access

• Dedicated infrastructure

• Limited storage

• Capped unmetered bandwidth

• Potentially closer to the user

Page 12: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Content Delivery

• Cloud-based delivery

• Flexible computation, storage, and bandwidth

• Pay per volume and access

• Dedicated infrastructure

• Limited storage

• Capped unmetered bandwidth

• Potentially closer to the user

Cloud bandwidth elastic;

however, flexible comes

at premium …

Page 13: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

High-level problem

• Minimize content delivery costs

Bandwidth Cost

Cloud-based Elastic/flexible $$$

Dedicated servers Capped $

Page 14: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

High-level problem

• Minimize content delivery costs

Bandwidth Cost

Cloud-based Elastic/flexible $$$

Dedicated servers Capped $

How to get the best of two worlds?

Page 15: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

High-level problem

• Minimize content delivery costs

• How to get the best out of two worlds?

Bandwidth Cost

Cloud-based Elastic/flexible $$$

Dedicated servers Capped $

Page 16: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

High-level problem

• Minimize content delivery costs

• How to get the best out of two worlds?

• Improved workload models and prediction enables prefetching …

Bandwidth Cost

Cloud-based Elastic/flexible $$$

Dedicated servers Capped $

Page 17: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

High-level problem

• Minimize content delivery costs

• How to get the best out of two worlds?

• Improved workload models and predcition enables prefetching …

• Dynamic content allocation

• Utilize capped bandwidth (and storage) as much as possible

• Use elastic cloud-based services to serve “spillover”

Bandwidth Cost

Cloud-based Elastic/flexible $$$

Dedicated servers Capped $

Page 18: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Dynamic Content Allocation Problem

18

• Formulate as a finite horizon dynamic

decision process problem

• Show discrete time decision process

is good approximation

• Define exact solution as MILP

• Provide computationally feasible

approximations (and prove properties

about approximation ratios)

• Validate model and policies using

traces from Spotify

Page 19: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

Page 20: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

Total demand

Page 21: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

Demand of files in

capped BW storage

Page 22: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

Capped BW limit (U)

Page 23: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

Page 24: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

Served from capped

BW storage

Page 25: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation Served using elastic

cloud resources

Page 26: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

Traffic due to allocation

Page 27: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

Page 28: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

Page 29: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

Page 30: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

Page 31: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

Page 32: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

Page 33: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

Page 34: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

Page 35: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

Page 36: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

• Equivalent formulation

Utilization maximization

Page 37: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Traffic of files only in cloud

• Spillover traffic

• Traffic due to allocation

• Total expected cost

• Optimal policy

• Equivalent formulation

Utilization maximization

Page 38: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Equivalent formulation

Utilization maximization

Page 39: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Equivalent formulation

Utilization maximization

Two file example

Page 40: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Equivalent formulation

Utilization maximization

Two file example

Page 41: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Equivalent formulation

Utilization maximization

Two file example

Page 42: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Equivalent formulation

Utilization maximization

Two file example

Page 43: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Cost minimization formulation

• Equivalent formulation

Utilization maximization

Two file example

Page 44: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Equivalent formulation

Cost minimization formulation Utilization maximization

Page 45: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Discrete-time Decision Problem

• Equivalent formulation

Page 46: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Approximation

• Finite horizon decision

problem

Discrete-time Decision Problem

decrease exponentially

• Equivalent formulation

Page 47: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Approximation

• Finite horizon decision

problem

Discrete-time Decision Problem

decrease exponentially

• Equivalent formulation

Page 48: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Approximation

• Finite horizon decision

problem

Discrete-time Decision Problem

decrease exponentially

• Equivalent formulation

Page 49: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Approximation

• Finite horizon decision

problem

Discrete-time Decision Problem

decrease exponentially

Page 50: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Approximation

• Finite horizon decision

problem

Discrete-time Decision Problem

Theorem: Exact solution as a MILP

decrease exponentially

Page 51: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Consider next interval only

Policy: No Download Cost (NDC)

Page 52: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Proposition 1: Unbounded approximation ratio

• Proposition 2: Approximation bound

• Consider next interval only

Policy: No Download Cost (NDC)

Page 53: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Proposition 1: Unbounded approximation ratio

• Proposition 2: Approximation bound

• Consider next interval only

Policy: No Download Cost (NDC)

Page 54: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Proposition 1: Unbounded approximation ratio

• Proposition 2: Approximation bound

• Consider next interval only

Policy: No Download Cost (NDC)

Page 55: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Proposition 1: Unbounded approximation ratio

• Proposition 2: Approximation bound

• Consider next interval only

Policy: No Download Cost (NDC)

Page 56: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Consider k next intervals

Policy: k-Step Look Ahead (k-SLA)

Page 57: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Proposition 3: Unbounded approximation ratio

• Proposition 4: Approximation bound

• Consider k next intervals

Policy: k-Step Look Ahead (k-SLA)

Page 58: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Proposition 3: Unbounded approximation ratio

• Proposition 4: Approximation bound

• Consider k next intervals

Policy: k-Step Look Ahead (k-SLA)

Page 59: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Proposition 3: Unbounded approximation ratio

• Proposition 4: Approximation bound

• Consider k next intervals

Policy: k-Step Look Ahead (k-SLA)

Page 60: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

• Proposition 3: Unbounded approximation ratio

• Proposition 4: Approximation bound

• Consider k next intervals

Policy: k-Step Look Ahead (k-SLA)

Page 61: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

• Normalized traffic savings

• Workload: 3 groups of 1000 files; peaks N(0,2) offset by 8h for

each group; sinusoid with 24h period; min/max ratio

N(0.075,0.075), file sizes U(L/2,3L/2), bandwidth demand

Bounded Pareto (Bmin, Bmax, )

Based on Spotify

trace characterization

Page 62: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

Normalize against policy

that stores the most

popular files

• Normalized traffic savings

Page 63: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

• Normalized traffic savings

Page 64: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

• Normalized traffic savings

Good

Page 65: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

• Normalized traffic savings

• Modest gains when Zipf-like (1) rank popularity

• Significant gains when more uniform (10)

• NDC fails for larges sizes (6-SLA still works well)

Page 66: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

• Normalized traffic savings

• Modest gains when Zipf-like (1) rank popularity

• Significant gains when more uniform (10)

• NDC fails for larges sizes (6-SLA still works well)

Page 67: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

• Normalized traffic savings

• Modest gains when Zipf-like (1) rank popularity

• Significant gains when more uniform (10)

• NDC fails for larges sizes (6-SLA still works well)

Page 68: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

• Normalized traffic savings

• Modest gains when Zipf-like (1) rank popularity

• Significant gains when more uniform (10)

• NDC fails for larges sizes (6-SLA still works well)

Page 69: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based analysis (Synthetic)

• Normalized traffic savings

• Modest gains when Zipf-like (1) rank popularity

• Significant gains when more uniform (10)

• NDC fails for larges sizes (6-SLA still works well)

Page 70: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based Analysis

• Spotify traces (all requests for 1M random tracks; 1 week)

• Prediction policies: (i) “oracle”, (ii) 24h, (iii) interval average

Page 71: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based Analysis

• Spotify traces (all requests for 1M random tracks; 1 week)

• Prediction policies: (i) “oracle”, (ii) 24h, (iii) interval average

• NDC fails; 3-SLA works reasonably well

• Dynamic allocation with k-SLA outperform LRU by far

Page 72: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based Analysis

• Spotify traces (all requests for 1M random tracks; 1 week)

• Prediction policies: (i) “oracle”, (ii) 24h, (iii) interval average

• NDC fails; 3-SLA works reasonably well

• Dynamic allocation with k-SLA outperform LRU by far

Normalize against offline

“global knowledge” policy

that stores most popular files

Page 73: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based Analysis

• Spotify traces (all requests for 1M random tracks; 1 week)

• Prediction policies: (i) “oracle”, (ii) 24h, (iii) interval average

• NDC fails; 3-SLA works reasonably well

• Dynamic allocation with k-SLA outperform LRU by far

Good Bad

Page 74: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based Analysis

• Spotify traces (all requests for 1M random tracks; 1 week)

• Prediction policies: (i) “oracle”, (ii) 24h, (iii) interval average

• NDC fails; 3-SLA works reasonably well

• Dynamic allocation with k-SLA outperform LRU by far

Page 75: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Trace-based Analysis

• Spotify traces (all requests for 1M random tracks; 1 week)

• Prediction policies: (i) “oracle”, (ii) 24h, (iii) interval average

• NDC fails; 3-SLA works reasonably well

• Dynamic allocation with k-SLA outperform LRU by far

Page 76: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Dynamic Content Allocation Problem

76

• Finite horizon dynamic decision problem

• Discrete mean-value approximation

• Exact solution as MILP

• Computationally feasible approximations

(e.g., k-SLA) with performance bounds

• Validate model and policies using traces

from Spotify

Page 77: Dynamic Content Allocation for Cloud- assisted Service of ...€¦ · Dynamic Content Allocation for Cloud-assisted Service of Periodic Workloads @ IEEE INFOCOM 2014, Toronto, Canada,

Thank you!

Niklas Carlsson ([email protected]) www.ida.liu.se/~nikca/papers/infocom14.pdf

Dynamic Content Allocation for Cloud-

assisted Service of Periodic Workloads György Dan (KTH) and Niklas Carlsson (LiU)