The Feasibility of Supporting Large-Scale Live Streaming Applications with Dynamic Application End-Points

Similar documents
Peer-to-Peer Networks. Chapter 6: P2P Content Distribution

Stability of QOS. Avinash Varadarajan, Subhransu Maji

Design and Deployment of Locality-aware Overlay Multicast Protocol for Live Streaming Services

A Comparative Study of Tree-based and Mesh-based Overlay P2P Media Streaming

Octoshape s Multicast Technology Suite:

Content Delivery Networks. Shaxun Chen April 21, 2009

HPAM: Hybrid Protocol for Application Level Multicast. Yeo Chai Kiat

Data Center Content Delivery Network

Virtual PortChannels: Building Networks without Spanning Tree Protocol

diversifeye Application Note

International Journal of Advanced Research in Computer Science and Software Engineering

Intelligent Content Delivery Network (CDN) The New Generation of High-Quality Network

TRILL Large Layer 2 Network Solution

Implementation of a Lightweight Service Advertisement and Discovery Protocol for Mobile Ad hoc Networks

Optimal Network Connectivity Reliable Network Access Flexible Network Management

CHAPTER 6. VOICE COMMUNICATION OVER HYBRID MANETs

Definition. A Historical Example

Distributed Systems. 23. Content Delivery Networks (CDN) Paul Krzyzanowski. Rutgers University. Fall 2015

White Paper. Enterprise IPTV and Video Streaming with the Blue Coat ProxySG >

How To. Instreamer to Exstreamer connection. Project Name: Document Type: Document Revision: Instreamer to Exstreamer connection. How To 1.

Distributed Systems. 25. Content Delivery Networks (CDN) 2014 Paul Krzyzanowski. Rutgers University. Fall 2014

Fault-Tolerant Framework for Load Balancing System

Module 15: Network Structures

Optimizing Enterprise Network Bandwidth For Security Applications. Improving Performance Using Antaira s Management Features

Analysis of QoS Routing Approach and the starvation`s evaluation in LAN

Performance Evaluation of AODV, OLSR Routing Protocol in VOIP Over Ad Hoc

Interplanetary Internet (IPN): An Architectural Definition

A NETWORK CONSTRUCTION METHOD FOR A SCALABLE P2P VIDEO CONFERENCING SYSTEM

Content Delivery Networks

Efficient and low cost Internet backup to Primary Video lines

Operating System Concepts. Operating System 資 訊 工 程 學 系 袁 賢 銘 老 師

Interconnection Networks. Interconnection Networks. Interconnection networks are used everywhere!

Chapter 7 outline. 7.5 providing multiple classes of service 7.6 providing QoS guarantees RTP, RTCP, SIP. 7: Multimedia Networking 7-71

IP QoS Interoperability Issues

Content Delivery Networks

IxChariot Pro Active Network Assessment and Monitoring Platform

CS555: Distributed Systems [Fall 2015] Dept. Of Computer Science, Colorado State University

NETWORK ISSUES: COSTS & OPTIONS

Chapter 14: Distributed Operating Systems

Adapting Distributed Hash Tables for Mobile Ad Hoc Networks

IxLoad: Testing Microsoft IPTV

A Framework for Scalable Global IP-Anycast (GIA)

Using the Streaming & Recording Features

Detecting rogue systems

Lecture 3: Scaling by Load Balancing 1. Comments on reviews i. 2. Topic 1: Scalability a. QUESTION: What are problems? i. These papers look at

A Topology-Aware Relay Lookup Scheme for P2P VoIP System

May 09, Creating live broadcast with Kaltura Complete guide

Load Balancing in Distributed Web Server Systems With Partial Document Replication

OVERLAYING VIRTUALIZED LAYER 2 NETWORKS OVER LAYER 3 NETWORKS

other. A B AP wired network

MINIMUM NETWORK REQUIREMENTS 1. REQUIREMENTS SUMMARY... 1

SYNCHRONIZATION IN PACKET NETWORKS: TIMING METRICS AND MONITORING

Live Streaming with CCN & Content Transmission with CCNx

Chapter 16: Distributed Operating Systems

Berkeley Ninja Architecture

CHAPTER 5 WLDMA: A NEW LOAD BALANCING STRATEGY FOR WAN ENVIRONMENT

BroadCloud PBX Customer Minimum Requirements

How To Monitor Performance On Eve

CHAPTER 8 CONCLUSION AND FUTURE ENHANCEMENTS

Flexible Building Blocks for Software Defined Network Function Virtualization (Tenant-Programmable Virtual Networks)

Region 10 Videoconference Network (R10VN)

Concept of Cache in web proxies

Load Balancing Mechanisms in Data Center Networks

Web Load Stress Testing

Bit-Rate and Application Performance in Ultra BroadBand Networks

Optimal Network Connectivity Reliable Network Access Flexible Network Management

Figure 1. The Example of ZigBee AODV Algorithm

First Midterm for ECE374 02/25/15 Solution!!

Measurements on the Spotify Peer-Assisted Music-on-Demand Streaming System

The Picture must be Clear. IPTV Quality of Experience

Distributed Systems. 24. Content Delivery Networks (CDN) 2013 Paul Krzyzanowski. Rutgers University. Fall 2013

Bit Chat: A Peer-to-Peer Instant Messenger

MPLS: Key Factors to Consider When Selecting Your MPLS Provider Whitepaper

Course Outline. Course 20336B: Core Solutions of Microsoft Lync Server Duration: 5 Days

Course Outline. Core Solutions of Microsoft Lync Server 2013 Course 20336B: 5 days Instructor Led. About this Course.

Why ISPs need SDN: SDN-based Network Service Chaining and Software-defined Multicast

CROSS LAYER BASED MULTIPATH ROUTING FOR LOAD BALANCING

Three Key Design Considerations of IP Video Surveillance Systems

Transcription:

The Feasibility of Supporting Large-Scale Live Streaming Applications with Dynamic Application End-Points Kay Sripanidkulchai, Aditya Ganjam, Bruce Maggs, and Hui Zhang Instructor: Fabian Bustamante Presented by: Mario Sanchez

The focus of this paper Generate new insight on the feasibility of application end-point architectures for large scale broadcast Methodology Analysis and simulation Leverage an extensive set of real-world workloads from Akamai (infrastructure-based architecture) 1/23/09 2

Overlay multicast architectures Router Source Application end-point 1/23/09 3

Infrastructure-based architecture [Akamai] + Well-provisioned Router Source Application end-point Infrastructure server 1/23/09 4

Application end-point architecture [End System Multicast (ESM)] + Instantly deployable + Enables ubiquitous broadcast Router Source Application end-point 1/23/09 5

Feasibility of supporting large-scale groups with an application end-point architecture? Is the overlay stable enough despite dynamic participation? Is there enough upstream bandwidth? Are overlay structures efficient? 1/23/09 6

Large-scale groups Challenging to address these fundamental feasibility questions Little knowledge of what large-scale live streaming is like 1/23/09 7

Talk outline Akamai live streaming workload With an application end-point architecture Is the overlay stable enough despite dynamic participation? Is there enough upstream bandwidth? Are overlay structures efficient? Summary 1/23/09 8

Measurements used in this study Akamai live streaming traces Trace format for a request [IP, Stream URL, Session start time, Session duration] Additional measurements collected Hosts upstream bandwidth Hosts GNP coordinates 1/23/09 9

Akamai live streaming infrastructure Source A A A A A A Reflectors Edge servers 1/23/09 10

Request volume (daily) Weekdays Number of requests Weekends Missing logs 1/23/09 11

Extensive traces ~ 1,000,000 daily requests ~ 200,000 daily client IP addresses from over 200 countries ~ 1,000 daily streams ~ 1,000 edge servers ~ Everyday, over a 3-month period ~ Quicktime, Real, Windows Media Player 1/23/09 12

Definitions Two categories of streaming (event duration) Non-stop events Short duration events Divided into 24-hour events called STREAMS Definitions Large-scale: peak group size of over 1,000 entities Entity: unique host (IP) Incarnation: entity connection to broadcast 1/23/09 13

Largest Event Characteristics of the traces Stream encoding bit-rate < 80kbps = audio. Overall: 71% audio vs. 7% video vs. 22 % unknown 660 large-scale streams: 605 audio, 55 video 3 encoding streams: (a) 20 kbps, audio; (b) 100 kbps, audio and video; (c) 250 kbps, audio and video 2 hour duration; all three encodings treated as one with 250 kbps requirement 1/23/09 14

Largest stream 75,000 x 250 kbps = 18 Gbps! 5pm 6pm 7pm 8pm 9pm 10pm 11pm 12am 1/23/09 15

Talk outline Akamai live streaming workload With an application end-point architecture Is there enough upstream bandwidth? Is the overlay stable enough despite dynamic participation? Are overlay structures efficient? Summary 1/23/09 16

Is there enough upstream bandwidth to support all hosts? Video 300 kbps DSL Upstream bandwidth only 128 kbps DSL Saturated tree DSL What if application end-points are all DSL? 1/23/09 17

Bandwidth Estimation Bandwidth Collection: Direct measurements alone, out of question Bandwidth Collection: Data Mining 72% of hosts: bandwidth reported by broadbandreports.com Active Measurements 7.6%: IP /24 block measurement / packet pair to estimate technology (table bellow) 1/23/09 18

Bandwidth Estimation Inference: 7.1%: EdgeScape IP to technology 2.2%: DNS name to technology 1.2%: Manually known domains with not-common- DNS-names to technology 90% of IP addresses with estimates 10% unknown 1/23/09 19

Outbound BW unit: degree vs. kbps Resources: amount of outgoing bandwidth that hosts in the system can contribute. Normalized bandwidth value by encoding bit rate: 300 kbps bandwidth, 250 kbps encoding = 300/250 = 1 degree Largest Event: 1/23/09 20

Metric: Resource index Ratio of the supply to the demand of upstream bandwidth; Resource index == 1 means the system is saturated Resource index == 2 means the system can support two times the current members in the system Resource Index: (3+5)/3 = 2.7 1/23/09 21

Metric: Resource index 10% unknown: Optimistic, Pessimistic (free-rider), Distribution Degree is dependent on the encoding bit rate, so is the Resource Index 1/23/09 22

Single-Tree Protocol 81 streams 1/23/09 23

Resource index Multiple Trees Multiple Description Coding: Video stream is encoded into k independent sub-streams and distributed across k independent trees. Fractional supply: 250 kbps encoding split into 50 kbps sub-streams = 300/250 = 1.2 degree MDC: - Increases amount of resources, - Increases the feasibility of overlay multicast 1/23/09 24

Multiple-Trees Protocol 1/23/09 25

Large-scale video streams A few streams are in trouble or close. 1/3 of the streams are in trouble. Most streams have sufficient upstream bandwidth. 1/23/09 26

Talk outline Akamai live streaming workload With an application end-point architecture Is there enough upstream bandwidth? Is the overlay stable enough despite dynamic participation? Are overlay structures efficient? Summary 1/23/09 27

When is a tree stable? Not stable X Interruptions Time Ancestor leaves More stable Stable nodes X Less stable X nodes Departing hosts have no descendants Stable nodes at the top of the tree 1/23/09 28

Extreme group dynamics 45% stay less than 2 minutes! 15% stay longer than 30 minutes (heavy-tailed) 1/23/09 29

Stability evaluation: simulation Hosts construct an overlay amongst themselves using a single-tree protocol Goal: construct a stable tree Parent selection is key Group dynamics from Akamai traces (join/ leave) Honor upstream bandwidth constraints Assign degree based on bandwidth estimation 1/23/09 30

Overlay Protocol Simulation: Join IP1 IP2... Join 1/23/09 31

Probe and select parent IP 1 IP 2 IP 1 IP 2... 1/23/09 32

Probe and select parent Parent selection algorithms Oracle: pick a parent who will leave after me Random Minimum depth (select one out of 100 random) Longest-first (select one out of 100 random) 1/23/09 33

Parent leave X Host leaves 1/23/09 34

Parent leave Host leaves All descendants are disconnected? 1/23/09 35

Find new parent Host leaves All descendants are disconnected All descendants probe to find new parents 1/23/09 36

Stability metrics Mean interval between ancestor change Interruptions Number of descendants of a departing host X Time Ancestor leaves 1/23/09 37

Stability of largest stream Longest-first Random Min depth Oracle: there is stability! 1/23/09 38

Is longest-first giving poor predictions? Oracle, ~100% no descendants Longest-first, 91% Min depth, 82% Random, 72% 1/23/09 39

Percentage of sessions with interval between ancestor change < 5 minutes Stability of 50 large-scale streams Random Longest-first Oracle There is stability! Of the practical algorithms, min depth performs the best. 1/23/09 40 Min depth

There is inherent stability Given future knowledge, stable trees can be constructed In many scenarios, practical algorithms can construct stable trees Minimum depth is robust Predicting stability (longest-first) is not always robust; when wrong, the penalty is severe Mechanisms to cope with interrupts are useful Multiple trees 1/23/09 41

Stability Multiple Trees Poor stability = being disconnected from at least 25% of the trees 1/23/09 42

There is inherent stability Multiple trees can increase the perceived quality of the streams but improved performance comes at a cost of more frequent disconnects, more protocol overhead and more complex protocol. 1/23/09 43

Talk outline Akamai live streaming workload With an application end-point architecture Is the overlay stable enough despite dynamic participation? Is there enough upstream bandwidth? Are overlay structures efficient? Summary 1/23/09 44

Efficient Overlay Efficient overlay: one in which the overlay structure closely reflects the underlying IP network. The Challenge: to enable hosts to discover other nearby hosts that may be used as parents. Large number of hosts: prohibitive to know everyone else. Solution: partition end-points into clusters. 1/23/09 45

Cluster Membership Membership server: One member of each cluster is designated as the cluster head. Hosts in the same cluster maintain knowledge about one another. 1/23/09 46

Cluster Membership Handling host join: obtain list of member servers from rendezvous point Creating Membership servers: rendezvous point create servers on-demand as needed Recovering from membership server dynamics: before leaving a membership server looks to promote host inside cluster State maintenance: servers exchange state with the rendezvous point; among themselves and random set of hosts inside cluster. 1/23/09 47

Cluster policies Naïve clustering, 3 policies: Random, delaybased clustering, geographic clustering. Two critical requirements: Cluster size (redirection, new cluster creation) Resources within cluster (redirect free-riders) Cluster Quality Proximity Data, GNP: network delay, geographic distance 1/23/09 48

Relative Delay Penalty (RDP) How well does the overlay structure match the underlying network topology? RDP = Overlay distance Direct unicast distance US US 50ms 20ms US 50ms Europe US 50ms Europe Results are more promising than previous studies using synthetic workloads and topologies. 1/23/09 49

Summary Indications of the feasibility of application end-point architectures The overlay can be stable despite dynamic participation There often is enough upstream bandwidth Overlay structures can be efficient These findings can be generalized to other protocols Thank you! 1/23/09 50