HIVE STREAMING. Mikael Högqvist Senior Research Engineer 07/05/14 1

Similar documents
Serving Media with NGINX Plus

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

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

Wowza Media Systems provides all the pieces in the streaming puzzle, from capture to delivery, taking the complexity out of streaming live events.

Azure Media Service Cloud Video Delivery KILROY HUGHES MICROSOFT AZURE MEDIA

Multimedia Transport Protocols for WebRTC

IxLoad TM Adobe HDS Player Emulation

Zeenov Agora High Level Architecture

Testing & Assuring Mobile End User Experience Before Production. Neotys

Fragmented MPEG-4 Technology Overview

Video Recording in the Cloud: Use Cases and Implementation We Deliver the Future of Television

Teridion. Rethinking Network Performance. The Internet. Lightning Fast. Technical White Paper July,

Giving life to today s media distribution services

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

bbc Adobe LiveCycle Data Services Using the F5 BIG-IP LTM Introduction APPLIES TO CONTENTS

Bill Ting, Product Marketing Riverbed Technology

SDN Testbed Experiences: Challenges and Next Steps

Diagram 1: Islands of storage across a digital broadcast workflow

Kontiki Enterprise Video Platform

Technical Brief. VBrick Rev & DME Interoperability with Cisco Wide Area Application Services (WAAS) and Akamai Connect

KEMP LoadMaster. Enabling Hybrid Cloud Solutions in Microsoft Azure

FRAFOS GmbH Windscheidstr. 18 Ahoi Berlin Germany

Array Secure Mail Solution

Version 2.8. Released 30 September 2015

Seeing is believing. VELOCIX CONTENT DELIVERY NETWORK Turning service providers broadband networks into advanced content delivery platforms

The old Internet. Software in the Network: Outline. Traditional Design. 1) Basic Caching. The Arrival of Software (in the network)

A Tool for Evaluation and Optimization of Web Application Performance

Stingray Traffic Manager Sizing Guide

Responsive, resilient, elastic and message driven system

MCSE SYLLABUS. Exam : Managing and Maintaining a Microsoft Windows Server 2003:

White Paper. Optimizing the video experience for XenApp and XenDesktop deployments with CloudBridge. citrix.com

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

INUVIKA OPEN VIRTUAL DESKTOP FOUNDATION SERVER

Cisco Enterprise Content Delivery System (ECDS)

high-quality steaming over the Internet

November Defining the Value of MPLS VPNs

ICTTEN4215A Install and configure internet protocol TV in a service provider network

Using SDN-OpenFlow for High-level Services

How To Connect To Bloomerg.Com With A Network Card From A Powerline To A Powerpoint Terminal On A Microsoft Powerbook (Powerline) On A Blackberry Or Ipnet (Powerbook) On An Ipnet Box On

Cisco WAAS Express. Product Overview. Cisco WAAS Express Benefits. The Cisco WAAS Express Advantage

Enabling Media Rich Curriculum with Content Delivery Networking

Live and VOD OTT Streaming Practical South African Technology Considerations

Presented by Philippe Bogaerts Senior Field Systems Engineer Securing application delivery in the cloud

Kontiki Enterprise Content Delivery Network

Ten Best Practices for Optimizing ADC Deployments

A New Architecture for Multiscreen Service Distribution, Rights Management and Monetization

Virtual CPE and Software Defined Networking

How To Understand The Power Of A Content Delivery Network (Cdn)

FRAFOS GmbH Windscheidstr. 18 Ahoi Berlin Germany

VPLS lies at the heart of our Next Generation Network approach to creating converged, simplified WANs.

Content Delivery Networks. Shaxun Chen April 21, 2009

EXINDA NETWORKS. Deployment Topologies

Marratech Technology Whitepaper

Break Internet Bandwidth Limits Higher Speed. Extreme Reliability. Reduced Cost.

Implementing the Application Control Engine Service Module

NetScaler: A comprehensive replacement for Microsoft Forefront Threat Management Gateway

Mobile Multimedia Meet Cloud: Challenges and Future Directions

Networking Topology For Your System

Live Streaming with CCN & Content Transmission with CCNx

A Study of Network Security Systems

Evolution of OpenCache: an OpenSource Virtual Content Distribution Network (vcdn) Platform

SiteCelerate white paper

WAN Optimization, Web Cache, Explicit Proxy, and WCCP. FortiOS Handbook v3 for FortiOS 4.0 MR3

leaseweb cdn CDN Product Sheet - LeaseWeb - EN 1.06

INTRODUCTION. The Challenges

P2P and IMS Cooperation / Integration

Hosted Voice. Best Practice Recommendations for VoIP Deployments

Cost Effective Deployment of VoIP Recording

IO Visor: Programmable and Flexible Data Plane for Datacenter s I/O

Cisco IOS Voice XML Browser

What is. LDeX MEDIA PLATFORM?

Skype characteristics

IIS Media Services 3.0 Overview. Microsoft Corporation

Request Routing, Load-Balancing and Fault- Tolerance Solution - MediaDNS

Volume Licensing. Service Level Agreement for Microsoft Online Services August 5, 2015

Chapter 2 TOPOLOGY SELECTION. SYS-ED/ Computer Education Techniques, Inc.

Peer-to-peer data storage software Specification and source code

Reverse Proxy with SSL - ProxySG Technical Brief

Cisco Integrated Services Routers Performance Overview

10 METRICS TO MONITOR IN THE LTE NETWORK. [ WhitePaper ]

CISCO WIDE AREA APPLICATION SERVICES (WAAS) OPTIMIZATIONS FOR EMC AVAMAR

Whitepaper. 10 Metrics to Monitor in the LTE Network. blog.sevone.com

NetIQ Access Manager 4.1

MEGA Web Application Architecture Overview MEGA 2009 SP4

SDN-based Application-Aware Networking on the Example of YouTube Video Streaming

Dolby Digital Plus in HbbTV

Quality of Service Monitoring

Interwise Connect. Working with Reverse Proxy Version 7.x

Key Components of WAN Optimization Controller Functionality

Transcription:

HIVE STREAMING Mikael Högqvist Senior Research Engineer 07/05/14 1

ABOUT PEERIALISM! Founded in 2007 by entrepreneurs and researchers from KTH/SICS! Mix of business people, developers and researchers! R&D driven and specialized in P2P products! Focused on enterprise customers

HIVE STREAMING! Peer based streaming technology for public and private networks! Offloads servers and networks with 97-99%! Standalone or as part of Microsoft Azure Media Services! Live and Video-on-Demand (VoD) content via Adaptive HTTP Streaming Video Recorder Encoding Data Source HIVE CDN Video Player

ADAPTIVE HTTP STREAMING! Video (and audio) is divided into data fragments! Each video stream can have several bitrates (video quality)! A manifest describes video metadata, bitrates, fragment location, etc.! The player decides which bitrate to retrieve based on available bandwidth, rendering capabilities, load on the host! Fragments are retrieved with a HTTP GET to the source/cdn Stream Source

THE ENTERPRISE CHALLENGE! Communication with high quality video, e.g. town-hall events! Most corporate networks can t handle the load! Existing solutions using hardware are not cost effective Stream Source One stream to each viewer causing overloaded servers and networks

HIVE A SOFTWARE CDN! High-level goals! Same Quality of Experience (QoE) as a hardware CDN! Efficiency through a single stream per network segment (locality awareness)! Support all Adaptive HTTP streaming protocols (Smooth Streaming, HDS, HLS, DASH) Streaming Server Only one stream per link with HIVE

HIVE ARCHITECTURE! Each end-user device has a hive agent that intercepts all video player requests! Hive acts as a distributed cache! Agents exchange Have messages indicating fragment availability! Cache miss: Retrieve from Source! Cache hit: Retrieve from another agent! Same cache abstraction for both Live and VoD! Live data only available for a short time (~30 seconds)! VoD based on device storage capability! Efficiency is determined by overlay construction USER DEVICE Player HTTP Request Hive Proxy

OVERLAY CONSTRUCTION CHALLENGES! Quality of user experience! Real-time requirements with hard deadlines, e.g. deliver fragment within 2 seconds! Quickly react to bitrate switches! How to cope with! Limited bandwidth capacity! Network congestion! Churn! NAT/Firewalls! Topology optimization! Content Locality! Bandwidth

OVERLAY PUBLIC NETWORKS! Public networks! Several devices behind a home router (NAT)! Each device (network) is connected to the Internet via ISP CDN! Challenges! Heterogeneous device capacity and bandwidth! Detect the network structure, i.e. avoid traffic across ISPs/ countries/continents

OVERLAY PUBLIC NETWORKS! Strive to minimize the load on the Source! Construct a self-organizing mesh overlay network! Each node fully acts on local knowledge! Emergent behavior! Nodes with higher capacity ends up closer to the source! Nodes within the same AS cluster together to achieve locality Source

OVERLAY PRIVATE NETWORKS! Private networks! Network segments (offices)! VPN links between segments! Few gateway links towards the Internet Private Network Branch Office! Challenges! Gateway and VPN links are potential bottlenecks CDN GTW HQ! Detect the network structure, i.e. avoid traffic cross branch offices or countries/continents Branch Office

OVERLAY PRIVATE NETWORKS! Main goal to offload bottleneck links (VPN and Gateway)! A single incoming stream per bitrate! Emergent behavior Private Network Branch Office! Hierarchical overlay! Promoted supernodes per segment that fetch data before others CDN GTW HQ Branch Office

SYSTEM ARCHITECTURE Source HIVE SERVICES Registrar Authentication server Connectivity NAT Discovery and connection establishment helper Tracker Introduces nodes to each other Statistics Detailed stats for troubleshooting and billing

SERVICE ARCHITECTURE! Stateless API Frontends! Scala + Finagle! Storage backends! Redis for tracker/lookup! OpenTSDB/Hbase for statistics data! Snapshots processing framework! Kafka! Custom built consumers Hive Agent API frontend Storage cluster

PROCESSING PIPELINE FRONTEND KAFKA CONSUMER STORAGE BATCH 07/05/14 15

CLIENT IMPLEMENTATION! Based on Mesmerizer, a java component framework! In-house network library! Fast SSL between all nodes! UDP-based transport with error detection and flow control! DTL: Dynamic priority congestion control! State of the art NAT traversal (NATCracker) NAT Traversal Statistics Sample of ~12000 peers Open Internet: 18.1% NATed: 78% Average connectivity probability Direct both ways all-to-all: 85% One-way: 8% Direct excluded impossible: 92% Avg. Connection establishment time: ~800ms 07/05/14 16

DTL CONGESTION CONTROL

CORPORATE DEPLOYMENT STATS Test. Stream of 1Mbit/s, 130 concurrent clients

CORPORATE DEPLOYMENT WITHOUT HIVE

CORPORATE DEPLOYMENT WITH HIVE

CORPORATE DEPLOYMENT STATS Pilot Event. Stream of 1.4Mbit/s, max 2068 concurrent viewers

CORPORATE DEPLOYMENT LARGE Pilot Event. Stream of 1.4Mbit/s, max 2068 concurrent viewers

WAN DEPLOYMENT STATS Test. Stream of 700Kbit/s, 6000 concurrent test

CURRENT RESEARCH! Video on Demand (VoD)! Optimization based on real-world measurements! Browser-based client (Hive.js)! No need to install plugins/native clients! Based on WebRTC (chrome + firefox)! Distributed caching algorithms! Proof of concept with base-line caching! LEDBAT implementation as a contribution to the WebRTC stack 07/05/14 24

MPEG-DASH Player Fragment Loader Discovery Index PEER Cache Hive.js Channel P2P Transport. Channel P2P Transport Browser WebRTC

PUBLICATIONS A System, Tools and Algorithms for Adap8ve HTTP- Live Streaming on P2P Overlays, Roberto Roverso, PhD Thesis On HTTP live streaming in large enterprises, Roverso et Al., SIGCOMM 2013, Hong Kong Peer2View: a Peer- To- Peer HTTP- live streaming plamorm, Roverso et Al., P2P 2012, Sept, Tarragona (SP) SmoothCache: HTTP- Live Streaming Goes Peer- To- Peer, Roverso et Al., IFIP Networking 2012, May, Prague (CZ) DTL: Dynamic Transport Library for Peer- To- Peer Applica8ons, Reale et Al., ICDCN 2012, January, Honk Kong (China) NATCRACKER: NAT Combina8ons Ma?er, Roverso et Al., ICCCN 2009, July, San Francisco (CA) Mesmerizer: a effec8ve tool for a complete peer- to- peer sohware development life- cycle, Roverso et Al., Simutools 2011, Feb, Barcelona (SP)