Docsity

Batching Issues-Computer Networking and Multimedia Applications-Lecture Slides, Slides of Multimedia Applications

Partial preview of the text

Download Batching Issues-Computer Networking and Multimedia Applications-Lecture Slides and more Slides Multimedia Applications in PDF only on Docsity!

41

Batching Issues

 Bandwidth increases linearly with decrease

in start-up delays

 Can we reduce or eliminate ā€œstart-upā€

delays?

 Periodic Broadcast Protocols

 Stream Merging Protocols

42

Periodic Broadcast Example

 Partition the media file into 2 segments with

relative sizes {1, 2}. For a 90 min. movie:

 Segment 1 = 30 minutes, Segment 2 = 60 minutes

 Advantage:

 Max. start-up delay = 30 minutes  Bandwidth required = 2 channels = 2 Mbps

 Disadvantage: Requires increased client capabilities

Time (minutes)

1

2

1 1 1 1 1

2 2

0 30 60 90 120 150 180

Channel 1

Channel 2

docsity.com

44

Comparing Batching and SB

Server Bandwidth

Start-up Delay Batching SB 1 Mbps 90 minutes 90 minutes 2 Mbps 45 minutes 30 minutes 6 Mbps 15 minutes 3 minutes 10 Mbps 9 minutes 30 seconds

 Playback rate = 1 Mbps, duration = 90 minutes

 Limitations of Skyscraper:

 Ad hoc segment size progress  Does not work for low client data rates

45

Reliable Periodic Broadcasts (RPB)

 Optimized PB protocols (no packet loss recovery)

 client fully downloads each segment before playing
 required server bandwidth near minimal

 Segment size progression is not ad hoc

 Works for client data rates < 2 x playback rate

 extend for packet loss recovery

 extend for ā€œburstyā€ packet loss

 extend for client heterogeneity

[Mahanti et al. 2001, 2003, 2004]

47

Optimized Periodic Broadcasts

 r = segment streaming rate = 1  s = maximum # streams client listens to concurrently = 2  b = client data rate = s x r = 2

 length of first s segments:

 length of segment k  s:







 

1

1

1

1 1 k j rlk^ rl lj





 

 1 k^1 j k s rlk^ lj

Channel 1 Channel 2

Channel 3

Channel 4 Channel 5 Channel 6

48

Outline

 Multimedia Networking Applications

 Streaming stored audio and video

 Scalable Streaming Techniques

 Content Distribution Networks

 Beyond Best Effort

50

Content distribution networks (CDNs)

Content replication

 CDN (e.g., Akamai) customer is the content provider (e.g., CNN)

 CDN replicates customers’ content in CDN servers. When provider updates content, CDN updates servers

origin server in North America

CDN distribution node

CDN server in S. America (^) CDN server in Europe

CDN server in Asia

51

CDN example

origin server (www.foo.com)

 distributes HTML

 replaces:

http://www.foo.com/sports.ruth.gif with http://www.cdn.com/www.foo.com/sports/ruth.gif

HTTP request for www.foo.com/sports/sports.html

DNS query for www.cdn.com

HTTP request for www.cdn.com/www.foo.com/sports/ruth.gif

1 2

3

Origin server

CDNs authoritative DNS server

Nearby CDN server

CDN company (cdn.com)

 distributes gif files

 uses its authoritative

DNS server to route

redirect requests

53

Outline

 Multimedia Networking Applications

 Streaming stored audio and video

 Scalable Streaming Techniques

 Content Distribution Networks

 Beyond Best Effort

54

Integrated Services (Intserv) Architecture

 architecture for providing QOS guarantees in IP

networks for individual flows

 flow: a distinguishable stream of distinct IP

datagrams

 Unidirectional  Multiple recipient

 Components of this architecture:

 Admission control  Reservation protocol  Routing protocol  Classifier and route selection  Packet scheduler

56

Call Admission

Arriving session must :

 declare its QOS requirement

 R-spec: defines the QOS being requested

 characterize traffic it will send into network

 T-spec: defines traffic characteristics

 signaling protocol: needed to carry R-spec and T-

spec to routers (where reservation is required)

 RSVP

Need Scheduling and Policing Policies to provide QoS

57

Policing: Token Bucket

Token Bucket: limit input to specified Burst Size

and Average Rate.

 bucket can hold b tokens

 tokens generated at rate r token/sec unless bucket

full

 over interval of length t: number of packets

admitted less than or equal to (r t + b).

59

Round Robin

 multiple classes

 cyclically scan class queues, serving one from each

class (if available)

 real world example?

60

Weighted Fair Queuing

 generalized Round Robin

 each class gets weighted amount of service in each

cycle

 real-world example?