assisted Content Delivery Systems Niklas Carlsson Linkping - - PowerPoint PPT Presentation

assisted content delivery systems
SMART_READER_LITE
LIVE PREVIEW

assisted Content Delivery Systems Niklas Carlsson Linkping - - PowerPoint PPT Presentation

Tradeoffs in Cloud and Peer- assisted Content Delivery Systems Niklas Carlsson Linkping University Gyrgy Dan KTH Royal Institute of Technology Derek Eager University of Saskatchewan Anirban Mahanti NICTA September 5, 2012 Motivation


slide-1
SLIDE 1

September 5, 2012

Tradeoffs in Cloud and Peer- assisted Content Delivery Systems

Niklas Carlsson Linköping University György Dan KTH Royal Institute of Technology Derek Eager University of Saskatchewan Anirban Mahanti NICTA

slide-2
SLIDE 2

Motivation

 Content provider wanting to minimize its delivery cost

Catalogue of many contents

Different popularity

Average service guarantees

2

slide-3
SLIDE 3

Motivation

Cost-efficient solution must scale with regards to both:

Request rate

Number of availible contents

slide-4
SLIDE 4

Motivation

Cost-efficient solution must scale with regards to both:

Request rate

Number of availible contents

slide-5
SLIDE 5

Motivation

Cost-efficient solution must scale with regards to both:

Request rate

Number of availible contents

Chunk-based typically efficient

slide-6
SLIDE 6

Motivation

Cost-efficient solution must scale with regards to both:

Request rate

Number of availible contents

Not as efficient in

  • ffloading server
slide-7
SLIDE 7

Motivation

Cost-efficient solution must scale with regards to both:

Request rate

Number of availible contents

slide-8
SLIDE 8

Cost model

 Client can download from either

 Origin servers (all contents)  Cloud storage/servers (subset of contents)  Other clients (peers)

servers cloud peers

slide-9
SLIDE 9

Cost model

 Client can download from either

 Origin servers (all contents)  Cloud storage/servers (subset of contents)  Other clients (peers)

servers cloud peers

slide-10
SLIDE 10

Cost model

 Client can download from either

 Origin servers (all contents)  Cloud storage/servers (subset of contents)  Other clients (peers)

servers cloud peers

slide-11
SLIDE 11

Cost model

 Client can download from either

 Origin servers (all contents)  Cloud storage/servers (subset of contents)  Other clients (peers)

servers cloud peers

slide-12
SLIDE 12

Cost model

 Client can download from either

 Origin servers (all contents)  Cloud storage/servers (some contents)  Other clients (peers)

servers cloud peers

slide-13
SLIDE 13

Cost model

 Client can download from either

 Origin servers (all contents)  Cloud storage/servers (subset of contents)  Other clients (peers)

servers cloud peers

slide-14
SLIDE 14

Cost model

servers cloud peers Server b/w Cloud b/w

 Simple cost model

Three (3) basic cost components Cloud storage

slide-15
SLIDE 15

Cost model

servers cloud peers Server b/w Cloud b/w Cloud storage

slide-16
SLIDE 16

Cost model

servers cloud peers Server b/w Cloud b/w Cloud storage

| |

/

M C B c B

M i c i M N i s i

  

 

slide-17
SLIDE 17

Cost model

servers cloud peers

| |

/

M C B c B

M i c i M N i s i

  

 

Server b/w Cloud b/w Cloud storage

slide-18
SLIDE 18

Cost model

servers cloud peers

| |

/

M C B c B

M i c i M N i s i

  

 

Server b/w Cloud b/w Cloud storage

slide-19
SLIDE 19

Cost model

servers cloud peers

| |

/

M C B c B

M i c i M N i s i

  

 

Server b/w Cloud b/w Cloud storage

slide-20
SLIDE 20

Cost model

servers cloud peers

| |

/

M C B c B

M i c i M N i s i

  

 

Server b/w Cloud b/w Cloud storage

slide-21
SLIDE 21

 Extensions

Full version (in paper)

Remote access extension

servers cloud peers

  

   

  

N i i M i P j ij ij c j i N i s i

P C f q B c B

i

| | ) 1 (

,

slide-22
SLIDE 22

 Extensions

Full version (in paper)

Remote access extension

servers cloud peers

  

   

  

N i i M i P j ij ij c j i N i s i

P C f q B c B

i

| | ) 1 (

,

Different remote access cost Locations of each content

slide-23
SLIDE 23

Cost model

servers cloud peers

| |

/

M C B c B

M i c i M N i s i

  

 

Server b/w Cloud b/w Cloud storage

slide-24
SLIDE 24

Cost model

servers cloud peers

| |

/

M C B c B

M i c i M N i s i

  

 

Server b/w Cloud b/w Cloud storage

Minimize

slide-25
SLIDE 25

Bandwidth model

servers cloud In-swarm

 Consider single file

peer seeding

slide-26
SLIDE 26

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

 Consider single file

peer seeding

slide-27
SLIDE 27

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding

slide-28
SLIDE 28

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Total required external bandwidth requirement

slide-29
SLIDE 29

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Total required external bandwidth requirement Server Cloud Seeding

slide-30
SLIDE 30

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Server Cloud Seeding

slide-31
SLIDE 31

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Server Cloud Seeding

slide-32
SLIDE 32

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Server Cloud Seeding

slide-33
SLIDE 33

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Server Cloud Seeding

slide-34
SLIDE 34

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Server Cloud Seeding

slide-35
SLIDE 35

Bandwidth model

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Total required external bandwidth requirement Server Cloud Seeding

slide-36
SLIDE 36

External bandwidth requirement

servers cloud In-swarm peer seeding

) (

i i

B   

Total required external bandwidth requirement

slide-37
SLIDE 37

External bandwidth requirement

servers cloud In-swarm peer seeding

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

slide-38
SLIDE 38

External bandwidth requirement

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

slide-39
SLIDE 39

External bandwidth requirement

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

slide-40
SLIDE 40

External bandwidth requirement

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

 Assume (for simplicity)

Poisson arrivals, piece fractions, and independent pieces on each peer

slide-41
SLIDE 41

External bandwidth requirement

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

 Assume (for simplicity)

Poisson arrivals, piece fractions, and independent pieces on each peer Departure rate

slide-42
SLIDE 42

External bandwidth requirement

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

 Assume (for simplicity)

Poisson arrivals, piece fractions, and independent pieces on each peer Leave k peers behind

slide-43
SLIDE 43

External bandwidth requirement

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

 Assume (for simplicity)

Poisson arrivals, piece fractions, and independent pieces on each peer Peer k missing 1/(k+1) Peer k-1 missing 2/(k+1) … Peer 1 missing k/(k+1)

slide-44
SLIDE 44

External bandwidth requirement

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

 Assume (for simplicity)

Poisson arrivals, piece fractions, and independent pieces on each peer Departure rate Leave k peers behind Peer k missing 1/(k+1) Peer k-1 missing 2/(k+1) … Peer 1 missing k/(k+1)

slide-45
SLIDE 45

External bandwidth requirement

 

 

k k U L k i

L k k e k U L B ) 1 ( ! ! ) / ( ) (

/ 

  

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

 Assume (for simplicity)

Poisson arrivals, piece fractions, and independent pieces on each peer

slide-46
SLIDE 46

External bandwidth requirement

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

Approximation fairly accurate

Very small benefit prioritizing young peers (with few pieces)

Self sustainability

slide-47
SLIDE 47

External bandwidth requirement

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

Approximation fairly accurate

Very small benefit prioritizing young peers (with few pieces)

Self sustainability

slide-48
SLIDE 48

External bandwidth requirement

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

Approximation fairly accurate

Very small benefit prioritizing young peers (with few pieces)

Self sustainability

slide-49
SLIDE 49

Self sustainability

Consider missing piece policy

Server upload only one piece at a time whenever there is at least one piece missing among peer set

Approximation fairly accurate

Very small benefit prioritizing young peers (with few pieces)

Self sustainability

slide-50
SLIDE 50

Peer upload bandwidth

In-swarm (requested file) Peer seeding

 Service guarantee T  Help out, but only during download/service

Inflation (other file)

slide-51
SLIDE 51

Peer upload bandwidth

In-swarm (requested file)

  

  

  

N i i N i p i N i i

L UT B L ) (  

Peer seeding

 Service guarantee T  Help out, but only during download/service

Inflation (other file)

slide-52
SLIDE 52

Peer upload bandwidth

In-swarm (requested file)

  

  

  

N i i N i p i N i i

L UT B L ) (  

Peer seeding Inflation (other file)

slide-53
SLIDE 53

Peer upload bandwidth

In-swarm (requested file)

  

  

  

N i i N i p i N i i

L UT B L ) (  

Peer seeding Inflation (other file) Spare upload bandwidth

slide-54
SLIDE 54

Peer upload bandwidth

In-swarm (requested file)

  

  

  

N i i N i p i N i i

L UT B L ) (  

Peer seeding Inflation (other file) Peer seeding Inflation contributions

slide-55
SLIDE 55

Peer upload bandwidth

In-swarm (requested file)

  

  

  

N i i N i p i N i i

L UT B L ) (  

Peer seeding Inflation (other file) Spare upload bandwidth Peer seeding Inflation contributions

slide-56
SLIDE 56

Peer upload bandwidth

In-swarm (requested file)

  

  

  

N i i N i p i N i i

L UT B L ) (  

Peer seeding Inflation (other file)

slide-57
SLIDE 57

External bandwidth requirement

servers cloud In-swarm peer seeding

slide-58
SLIDE 58

External bandwidth requirement

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding

slide-59
SLIDE 59

External bandwidth requirement

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Inflation Seeding

slide-60
SLIDE 60

External bandwidth requirement

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding Inflation Seeding

slide-61
SLIDE 61

External bandwidth requirement

servers cloud In-swarm

p i P j c ij s i i i

B B B B

i

   

) (  

peer seeding

slide-62
SLIDE 62

No seeding or bundling (UT=L)

 Example allocation for

  • ptimal policy (when no

seeding or bundling)

 Intermediately popular

files pushed to the cloud

slide-63
SLIDE 63

No seeding or bundling (UT=L)

 Policy comparison (which files to push to cloud)

Optimal (intermediate) vs. baseline policies

 Big differences when either

High/low load

High popularity skew

 Catalogue size has little impact (not shown)

slide-64
SLIDE 64

No seeding or bundling (UT=L)

 Policy comparison (which files to push to cloud)

Optimal (intermediate) vs. baseline policies

 Big differences when either

High/low load

High popularity skew

 Catalogue size has little impact (not shown)

slide-65
SLIDE 65

No seeding or bundling (UT=L)

 Policy comparison (which files to push to cloud)

Optimal (intermediate) vs. baseline policies

 Big differences when either

High/low load

High popularity skew

 Catalogue size has little impact (not shown)

slide-66
SLIDE 66

No seeding or bundling (UT=L)

 Policy comparison (which files to push to cloud)

Optimal (intermediate) vs. baseline policies

 Big differences when either

High/low load

High popularity skew

 Catalogue size has little impact (not shown)

slide-67
SLIDE 67

Peer upload bandwidth

In-swarm (requested file) Peer seeding

 Service guarantee T  Help out, but only during download/service

Inflation (other file)

slide-68
SLIDE 68

Peer upload bandwidth

In-swarm (requested file) Peer seeding

 Service guarantee T  Help out, but only during download/service

How to best use this bandwidth?

Inflation (other file)

slide-69
SLIDE 69

Seeding only (UT > L)

 Help less popular

Seeding (only) Bundling (only) Hybrid

slide-70
SLIDE 70

Bundling only (UT > L)

 Inflate most popular  Intermediate to cloud

Seeding (only) Bundling (only) Hybrid

slide-71
SLIDE 71

Hybrid (UT > L)

 Inflate most popular  Depends less on cloud

Seeding (only) Bundling (only) Hybrid

slide-72
SLIDE 72

Policy comparison

 How did we decide which files to “inflate”?  Baseline inflation policies with different complexity

Proportional: ii (based on random peer interest, to help friends, for example)

Random: i1 (same for all)

Basic: yes/no decision using base allocation; same to all

Fine: Greedy search (with “basic” as starting point)

Other baseline inflation policies [IFIP Networking ‘10]

slide-73
SLIDE 73

Policy comparison

 How did we decide which files to “inflate”?  Baseline inflation policies with different complexity

Proportional: ii (based on random peer interest, to help friends, for example)

Random: i1 (same for all)

Basic: yes/no decision using base allocation; same to all

Fine: Greedy search (with “basic” as starting point)

Other baseline inflation policies [IFIP Networking ‘10]

slide-74
SLIDE 74

Policy comparison

 How did we decide which files to “inflate”?  Baseline inflation policies with different complexity

Proportional: ii (based on random peer interest, to help friends, for example)

Random: i1 (same for all)

Basic: yes/no decision using base allocation; same to all

Fine: Greedy search (with “basic” as starting point)

Other baseline inflation policies [IFIP Networking ‘10]

slide-75
SLIDE 75

Policy comparison

 How did we decide which files to “inflate”?  Baseline inflation policies with different complexity

Proportional: ii (based on random peer interest, to help friends, for example)

Random: i1 (same for all)

Basic: yes/no decision using base allocation; same to all

Fine: Greedy search (with “basic” as starting point)

Other baseline inflation policies [IFIP Networking ‘10]

slide-76
SLIDE 76

Policy comparison

 How did we decide which files to “inflate”?  Baseline inflation policies with different complexity

Proportional: ii (based on random peer interest, to help friends, for example)

Random: i1 (same for all)

Basic: yes/no decision using base allocation; same to all

Fine: Greedy search (with “basic” as starting point)

Other baseline inflation policies [IFIP Networking ‘10]

slide-77
SLIDE 77

Policy comparison

 How did we decide which files to “inflate”?  Baseline inflation policies with different complexity

Proportional: ii (based on random peer interest, to help friends, for example)

Random: i1 (same for all)

Basic: yes/no decision using base allocation; same to all

Fine: Greedy search (with “basic” as starting point)

Other baseline inflation policies [IFIP Networking ‘10]

slide-78
SLIDE 78

Policy comparison

 Baseline inflation policies with different complexity

Up to 20% benefit using hybrid approach

Reckless use of bundling can be costly

Simpler (basic) policies achieves most of the benefits

slide-79
SLIDE 79

Policy comparison

 Baseline inflation policies with different complexity

Up to 20% benefit using hybrid approach

Reckless use of bundling can be costly

Simpler (basic) policies achieves most of the benefits

slide-80
SLIDE 80

Policy comparison

 Baseline inflation policies with different complexity

Up to 20% benefit using hybrid approach

Reckless use of bundling can be costly

Simpler (basic) policies achieves most of the benefits

Some cases worse than no bundling

slide-81
SLIDE 81

Policy comparison

 Baseline inflation policies with different complexity

Up to 20% benefit using hybrid approach

Reckless use of bundling can be costly

Simpler (basic) policies achieves most of the benefits

slide-82
SLIDE 82

Policy comparison

 Baseline inflation policies with different complexity

Up to 20% benefit using hybrid approach

Reckless use of bundling can be costly

Simpler (basic) policies achieves most of the benefits

slide-83
SLIDE 83

Contributions

 Derive and evaluate bounds and approximations of

the minimum server bandwidth required to ensure target average download rate

 Compare simple policy classes for which content to

push to the cloud and provide insights regarding the importance of careful content selection

 Compare the best usage of the peer upload

bandwidth, including policies determining how seeding and torrent inflation should be best utilized

 Also (in paper):

 Where to direct clients in systems where the cloud

provider has a differentiated cost model and charges based on the locality of the clients that are served

83

slide-84
SLIDE 84

Thank you!

Niklas Carlsson Linköping University

György Dan KTH Royal Institute of Technology

Derek Eager University of Saskatchewan

Anirban Mahanti NICTA