+ All Categories
Home > Documents > Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen,...

Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen,...

Date post: 21-Dec-2015
Category:
View: 220 times
Download: 0 times
Share this document with a friend
Popular Tags:
24
Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Tow sley INFOCOM 2002
Transcript
Page 1: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution

Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley

INFOCOM 2002

Page 2: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Outline Problem setting and model Optimal proxy cache allocation Proxy-assisted transmission schemes

Unicast suffix batching (SBatch) Unicast patching with prefix caching (UPatch) Multicast patching with prefix caching (MPatch) Multicast merging with prefix cache (MMerge)

Performance evaluation

Page 3: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Problem setting

The server-proxy network is unicast-enabled. The network route from the server to the c

lient often traverses multiple ISP domains., IP multicast is not widely deployed.

The proxy-client network is ether unicast or multicast/broadcast enabled.

Page 4: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Streaming video in the Internet

Unicast

Unicast/ Multicast

Page 5: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Model A server with a repository of N CBR videos. A cache grain of size u is the smallest unit of

cache allocation. cs and cp represent the costs associated wit

h transmitting 1 bit of video data on the server-proxy path and on the proxy-client path.

Ci(vi) is the transmission cost per unit time for video i when a prefix of length vi of the video is cached at the proxy.

Page 6: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Parameters

Page 7: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Execution flow On receiving a client request for a video, the proxy

calculates a transmission schedule. This schedule specifies when and on what transmission c

hannel that each frame will be transmitted by the proxy. The proxy also determines and requests the suffix f

rom the server. The proxy sends a reception schedule that specifies when

and from which transmission channel the client should receive each frame.

Frames received ahead of their playback times are stored in a client-side workahead buffer.

Page 8: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Optimal proxy cache allocation There may not even exist a closed-form exp

ression for ci(vi). The valued can be obtained by monitoring a run

ning system. saving(mi)

The saving in transmission cost when caching an mi-unit prefix of video i over caching no prefix of the video at the proxy.

saving(mi) = Ci(0) - Ci(miu/bi) Goal : maximize the aggregate savings.

Page 9: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Algorithm (1/2) Let B be a two-dimensional matrix, where e

ach entry B(i, j) represents the maximum saving in the transmission cost when using videos up to video i and j units of the proxy cache.

Page 10: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Algorithm (2/2)

0 … j-1 j … S

i-1B(i-1, j-

1)

i B(i, j)

N

B’(i, j)

Page 11: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Unicast suffix batching (SBatch) The proxy-client is only unicast-capable. Suppose the first request for video i arrives at time 0.

The proxy immediately begin transmitting the video prefix to the client.

SBatch schedules the transmission of the suffix from the server to the proxy as late as possible.

Assume a Poisson arrival process, the average number of requests in time [0, vi] is 1+viλi.

The average transmission cost for delivering video i is

Page 12: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Unicast patching with prefix caching (UPatch) Suppose another request for video i comes

at t2, vi < t2 < Li. The proxy can schedule a transmission of the co

mplete suffix at t2+vi. (SBatch) Another option is to schedule a patch of [vi, t2] of

the suffix from the server since segment [t2, Li] has already been scheduled to be transmitted.

The decision to transmit a complete suffix or a patch depends on a suffix threshold Gi.

Page 13: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

UPatch

Page 14: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Multicast patching with prefix caching (MPatch) If the proxy-client path is multicast-capabl

e, the proxy can use a multicast transmission scheme to send the video to each client.

Let Ti be the threshold. (a later request at t2) If t2 > Ti, the proxy starts a new multicast stream. Otherwise, the request joins the ongoing multic

ast stream and use a separate unicast channels to obtain the missing data.

If Ti > vi, the proxy may have to get the missing data from the server.

Page 15: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

MPatch

Page 16: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Stream merging

Page 17: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Multicast merging with prefix caching (MMerge) MMerge uses the Closest Target policy

to decide how to merge a later stream into an earlier stream.

The prefix cached at the proxy is directly transmitted to the client.

The suffix not cached at the proxy is transmitted from the server as late as possible.

Page 18: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Performance evaluation Optimal 0-1 caching

The proxy only allows a video to be cached in its entirety or not at all.

Proportional Priority (PP) caching The size of the proxy cache allocated to a

video is proportional to the product of the size of the video and its access probability.

The allocated space is no larger than the size of the video.

Page 19: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Optimal prefix caching v.s. optimal 0-1 caching

opt. prefix is better than opt. 0-1

Page 20: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Unicast schemes (SBatch v.s. UPatch)

UPatch is better than SBatch

Page 21: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Multicast schemes (MPatch v.s. MMerge)

MMerge does not always outperform MPatch.

This is different from traditional server-based patching and stream merging.

Page 22: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

MPatch v.s. MMerge(arrival rate)

MMerge still does not always outperform MPatch.

Why?

Because of using multicast transmission from proxy to client?

Page 23: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Comparison between unicast and multicast schemes (1/2)

Page 24: Optimal Proxy Cache Allocation for Efficient Streaming Media Distribution Bing Wang, Subhabrata Sen, Micah Adler, and Don Towsley INFOCOM 2002.

Comparison between unicast and multicast schemes (2/2)


Recommended