Yale LANS Optimizing Cost and Performance for Content Multihoming Hongqiang Harry Liu Ye Wang Yang Richard Yang Hao Wang Chen Tian Aug. 16, 2012 Hongqiang.

Slides:



Advertisements
Similar presentations
Abacast - Confidential1 Hybrid Content Delivery Network (CDN) Technologies and Services.
Advertisements

Routing and Congestion Problems in General Networks Presented by Jun Zou CAS 744.
Analysis of : Operator Scheduling in a Data Stream Manager CS561 – Advanced Database Systems By Eric Bloom.
Traffic Engineering with Forward Fault Correction (FFC)
VCRIB: Virtual Cloud Rule Information Base Masoud Moshref, Minlan Yu, Abhishek Sharma, Ramesh Govindan HotCloud 2012.
Playback-buffer Equalization For Streaming Media Using Stateless Transport Prioritization By Wai-tian Tan, Weidong Cui and John G. Apostolopoulos Presented.
1 Efficient and Robust Streaming Provisioning in VPNs Z. Morley Mao David Johnson Oliver Spatscheck Kobus van der Merwe Jia Wang.
Optimizing Buffer Management for Reliable Multicast Zhen Xiao AT&T Labs – Research Joint work with Ken Birman and Robbert van Renesse.
OpenFlow-Based Server Load Balancing GoneWild
1 EL736 Communications Networks II: Design and Algorithms Class8: Networks with Shortest-Path Routing Yong Liu 10/31/2007.
Suphakit Awiphan, Takeshi Muto, Yu Wang, Zhou Su, Jiro Katto
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
Yale LANS ShadowStream: Performance Evaluation as a Capability in Production Internet Live Streaming Networks Chen Tian Richard Alimi Yang Richard Yang.
19 Historical overview Main challenge: How to distribute content in high quality over the Internet cost-effectively? • Traditional “Best-effort” model:
Adaptive Video Streaming in Vertical Handoff: A Case Study Ling-Jyh Chen, Guang Yang, Tony Sun, M. Y. Sanadidi, Mario Gerla Computer Science Department,
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
A Comparison of Layering and Stream Replication Video Multicast Schemes Taehyun Kim and Mostafa H. Ammar.
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
Multiple Sender Distributed Video Streaming Thinh Nguyen, Avideh Zakhor appears on “IEEE Transactions On Multimedia, vol. 6, no. 2, April, 2004”
A General approach to MPLS Path Protection using Segments Ashish Gupta Ashish Gupta.
A Row-Permutated Data Reorganization Algorithm for Growing Server-less VoD Systems Presented by Ho Tsz Kin.
Flash Crowds And Denial of Service Attacks: Characterization and Implications for CDNs and Web Sites Aaron Beach Cs395 network security.
A General approach to MPLS Path Protection using Segments Ashish Gupta Ashish Gupta.
Tradeoffs in CDN Designs for Throughput Oriented Traffic Minlan Yu University of Southern California 1 Joint work with Wenjie Jiang, Haoyuan Li, and Ion.
Using Conviva 29 Aug Summary Who are we? What is the problem we needed to solve? How was Spark essential to the solution? What can Spark.
Exploiting Virtualization for Delivering Cloud based IPTV Services Speaker : 吳靖緯 MA0G IEEE Conference on Computer Communications Workshops.
1 Content Distribution Networks. 2 Replication Issues Request distribution: how to transparently distribute requests for content among replication servers.
Optimizing Cloud Resources for Delivering IPTV Services Through Virtualization.
Distributing Content Simplifies ISP Traffic Engineering Abhigyan Sharma* Arun Venkataramani* Ramesh Sitaraman*~ *University of Massachusetts Amherst ~Akamai.
A User Experience-based Cloud Service Redeployment Mechanism KANG Yu.
Storage Allocation in Prefetching Techniques of Web Caches D. Zeng, F. Wang, S. Ram Appeared in proceedings of ACM conference in Electronic commerce (EC’03)
Bargaining Towards Maximized Resource Utilization in Video Streaming Datacenters Yuan Feng 1, Baochun Li 1, and Bo Li 2 1 Department of Electrical and.
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jennifer Rexford Princeton University With Jiayue He, Rui Zhang-Shen, Ying Li,
Lecture 15. IGP and MPLS D. Moltchanov, TUT, Spring 2008 D. Moltchanov, TUT, Spring 2015.
1 An SLA-Oriented Capacity Planning Tool for Streaming Media Services Lucy Cherkasova, Wenting Tang, and Sharad Singhal HPLabs,USA.
INFORMATION AND COMMUNICATION SYSTEMS MERIT 2008 Research Symposium Melbourne Engineering Graduates Look to the Future System Architecture An internetworking.
1 Min-Cost Live Webcast under Joint Pricing of Data, Congestion and Virtualized Servers Rui Zhu 1, Di Niu1, Baochun Li 2 1 Department of Electrical and.
Querying Structured Text in an XML Database By Xuemei Luo.
Budget-based Control for Interactive Services with Partial Execution 1 Yuxiong He, Zihao Ye, Qiang Fu, Sameh Elnikety Microsoft Research.
Scalable Web Server on Heterogeneous Cluster CHEN Ge.
Web Caching and Content Distribution: A View From the Interior Syam Gadde Jeff Chase Duke University Michael Rabinovich AT&T Labs - Research.
1 Distributed Energy-Efficient Scheduling for Data-Intensive Applications with Deadline Constraints on Data Grids Cong Liu and Xiao Qin Auburn University.
Strong Cache Consistency Support for Domain Name System Xin Chen, Haining Wang, Sansi Ren and Xiaodong Zhang College of William and Mary, Williamsburg,
Logical Topology Design
Investigating the Performance of Audio/Video Service Architecture II: Broker Network Ahmet Uyar & Geoffrey Fox Tuesday, May 17th, 2005 The 2005 International.
Optimal Content Delivery with Network Coding Derek Leong, Tracey Ho California Institute of Technology Rebecca Cathey BAE Systems CISS 2009 March 19, 2009.
S4-Chapter 3 WAN Design Requirements. WAN Technologies Leased Line –PPP networks –Hub and Spoke Topologies –Backup for other links ISDN –Cost-effective.
Paper # – 2009 A Comparison of Heterogeneous Video Multicast schemes: Layered encoding or Stream Replication Authors: Taehyun Kim and Mostafa H.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
DaVinci: Dynamically Adaptive Virtual Networks for a Customized Internet Jiayue He, Rui Zhang-Shen, Ying Li, Cheng-Yen Lee, Jennifer Rexford, and Mung.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
Accommodating Bursts in Distributed Stream Processing Systems Yannis Drougas, ESRI Vana Kalogeraki, AUEB
ASSIGNMENT, DISTRIBUTION AND QOS PROVISIONING IN COMMUNICATION NETWORKS.
Peer-to-Peer Streaming of Scalable Video in Future Internet Application Speaker : 吳靖緯 MA0G0101 Communications Magazine, IEEE, On page(s): 128.
1 EL736 Communications Networks II: Design and Algorithms Class7: Location and Topological Design Yong Liu 10/24/2007.
CoopNet: Cooperative Networking
1 Slides by Yong Liu 1, Deep Medhi 2, and Michał Pióro 3 1 Polytechnic University, New York, USA 2 University of Missouri-Kansas City, USA 3 Warsaw University.
SHADOWSTREAM: PERFORMANCE EVALUATION AS A CAPABILITY IN PRODUCTION INTERNET LIVE STREAM NETWORK ACM SIGCOMM CING-YU CHU.
Dominance and Indifference in Airline Planning Decisions NEXTOR Conference: INFORMS Aviation Session June 2 – 5, 2003 Amy Mainville Cohn, KoMing Liu, and.
Bing Wang, Wei Wei, Hieu Dinh, Wei Zeng, Krishna R. Pattipati (Fellow IEEE) IEEE Transactions on Mobile Computing, March 2012.
P2P Search COP P2P Search Techniques Centralized P2P systems  e.g. Napster, Decentralized & unstructured P2P systems  e.g. Gnutella.
On the Placement of Web Server Replicas Yu Cai. Paper On the Placement of Web Server Replicas Lili Qiu, Venkata N. Padmanabhan, Geoffrey M. Voelker Infocom.
1 Information Retrieval and Use De-normalisation and Distributed database systems Geoff Leese September 2008, revised October 2009.
Web Servers load balancing with adjusted health-check time slot.
A Study of Group-Tree Matching in Large Scale Group Communications
Network Load Balancing
Server Allocation for Multiplayer Cloud Gaming
ISP and Egress Path Selection for Multihomed Networks
Edge computing (1) Content Distribution Networks
Graphical solution A Graphical Solution Procedure (LPs with 2 decision variables can be solved/viewed this way.) 1. Plot each constraint as an equation.
Presentation transcript:

Yale LANS Optimizing Cost and Performance for Content Multihoming Hongqiang Harry Liu Ye Wang Yang Richard Yang Hao Wang Chen Tian Aug. 16, 2012 Hongqiang Harry Liu Ye Wang Yang Richard Yang Hao Wang Chen Tian Aug. 16, 2012

Yale LANS Content Multihoming is Widely Used Content Publisher Content Viewers

Yale LANS Why Content Multihoming: Performance Diversity

Yale LANS Why Content Multihoming: Performance Diversity Table: The fraction of successful deliveries for objects with streaming rate of 1Mbps | 2Mbps | 3Mbps. Diversity in different areas Diversity in different streaming rates

Yale LANS Why Content Multihoming: Cost Diversity Concave Function Region Based Amazon CloudFront Volume in a charging period MaxCDN LiquidWeb

Yale LANS Our Goal Design algorithms and protocols for content publishers to fully take advantage of content multihoming to optimize –publisher cost and –content viewer performance.

Yale LANS Key Question A content object can be delivered from multiple CDNs, which CDN(s) should a content viewer use?

Yale LANS Key Challenges Online vs statistical CDN performance –e.g., real-time network congestions or server overloading Complex CDN cost functions –e.g., the cost of assigning one object to CDN(s) depends on other assignments => coupling

Yale LANS Our Approach: Two-Level Approach Efficient Optimal Object Assignment Algorithm Local, Adaptive Clients Guidance from Content Publishers

Yale LANS Roadmap Motivations Global optimization –Problem definition –CMO: An efficient optimization algorithm Local active client adaptation Evaluations

Yale LANS Roadmap Motivations Global optimization  Problem definition –CMO: An efficient optimization algorithm Local active client adaptation Evaluations

Yale LANS Problem Definition: Network Partition Global Network Location Area Object-i Location Object Exclusion

Yale LANS Problem Definition: CDN Statistical Performance Global Network CDN-k 99% 92% Target Performance: 90% 80% Statistical Performance: e.g., probability of successful deliveries in an area

Yale LANS Problem Definition: Optimization Formulation Problem Q is the fraction of traffic put into CDN-k for location object Charging function in region r of CDN-k Traffic volume in charging region-r of CDN-k All requests are served Performance constraints

Yale LANS Solving Problem Q: Why not Standard Convex Programming or LP To minimize a concave objective function Problem scale is too large to be tractable: –N objects, A locations and K CDNs => N*A*K variables, and N*K constraints –For example, given N=500K, A=200 and K=3 => 300M variables and 100M constraints

Yale LANS Roadmap Motivations  Global optimization –Problem definition  CMO: An efficient optimization algorithm Local active client adaptation Evaluations

Yale LANS Developing the CMO Algorithm: Base Problem Q has an optimal solution which assigns a location object into a single CDN. The object assignment problem is still hard: Assignment Space K CDNs and N location objects => K N assignment possibilities

Yale LANS CMO Key Idea: Reduction in the Outcome Space Assignment Space Outcome (CDN Usage) Space Infeasible Assignments There are only vertices points, where is the # of charging regions (a small #) There are up to points with CDNs and location objects

Yale LANS Mapping From Object Assignment to Outcome CDNs CDN-1CDN-2 Traffic in Region-1 Traffic in Region-2 Location Objects Traffic in Area-1 Traffic in Area-2 Example assumption: Area-i is in charging Region-i

Yale LANS Extensions CDN subscription levels (e.g. monthly plan) –Introducing CDN capacity constraints Per-request cost –Adding a row which indicates the #request in outcome Multiple streaming rates –Considering each video at each encoding rate as an independent object

Yale LANS Extension Example : Per-request Cost CDNs CDN-1CDN-2 Traffic in Region-1 Traffic in Region-2 #Request Location Objects Traffic in Area-1 Traffic in Area-2 #Request Example assumption: Area-i is in charging Region-i

Yale LANS From Algorithm to System Optimizer CDN1 CloudFront CDN2 MaxCDN Passive Client CPDNS Resolve obj-i.cp.com CNAME d3ng4btfd31619.cloudfront.net Client IP  area Long-term scale statistics Fast-scale fluctuations

Yale LANS Roadmap Motivations Global optimization –Problem definition –CMO: An efficient optimization algorithm  Local active client adaptation Evaluations

Yale LANS Active Clients h11 h12 h21 Primary CDN Backup CDN

Yale LANS Informing Active Client Optimizer CDN1 CloudFront CDN2 MaxCDN Active Client Manifestation Server Request cp.com/sample.flv Passive Client Resolve obj-i.cp.com Get CNAME d3ng4btfd31619.cloudfront.net Multiple CDNs with priorities

Yale LANS How to Select Multiple CDNs? The same CMO algorithm, where input CDNs are virtual CDNs (ranked CDN combinations) Example: Select 2 CDNs (primary + backup) for an active client: –Each pair of CDNs is a “virtual CDN”: k’ = (k, j) –F k’ : the set of location objects that CDN k and CDN j together can achieve performance requirement Each with 90% statistics => together > 90% –Objective function: for each location object i a, primary CDN k delivers the normal amount of traffic and backup j incurs backup amount of traffic.

Yale LANS Active Clients: Adaptation Goals QoE protection (feasibility): –Achieve target QoE through combined available resources of multiple CDN servers Prioritized guidance: –Utilize the available bandwidth of a higher priority server before that of a lower priority server Low session overhead (stability): –No redistributing load among same-priority servers unless it reduces concurrent connections

Yale LANS Active Clients: Control Diagram h 11 h 12 h 11 +h 12 Primary CDN Backup CDN h 11 R h 11 >R and h 12 <R h 11 <R and h 12 <R? h 11 <R and h 12 <R h 11 + h 12 >R h 12 >R h 11 >R h 11 +h 12 +h 21 h 11 + h 12 <R h 11 + h 12 >R

Yale LANS Realizing Control Diagram: Key Ideas Controlling the windows –AIMD –Total load control Using the sliding windows –Priority assignment h 11 h 12 h 21 Pieces to request in T # pieces can be downloaded from the server in a period T

Yale LANS Roadmap Motivations Global optimization –Problem definition –CMO: An efficient optimization algorithm Local active client adaptation  Evaluations

Yale LANS CMO Evaluation Setting 6-month traces from two VoD sites (CP1 and CP2): –Video size –#request in each area (learned from clients’ IP) Three CDNs –Amazon CloudFront –MaxCDN –CDN3 (private) #request prediction –Directly using #request last month in each area Compare 5 CDN selection strategies: –Cost-only, Perf-only, Round-robin, Greedy, CMO

Yale LANS Cost Savings of CMO Avg Saving: ~35% compared with Greedy

Yale LANS Cost Savings of CMO All three CDNs have good performance in US/EU Avg Saving: ~40% compared with Greedy

Yale LANS Active Client Evaluation Setting Clients –500+ Planetlab nodes with Firefox Adobe Flash 10.1 Two CDNs –Amazon CloudFront –CDN3

Yale LANS Active Client Test Cases Stress test –CDN3 as primary; CloudFront as backup Two servers in two CDNs: primary1, backup1 Two servers in the primary CDN: primary1, primary2 –Control primary1’s capacity Step-down -> recover Ramp-down -> recover Oscillation Large scale performance test: –CloudFront as primary, CDN3 as backup –We saw real performance degradations

Yale LANS Stress Tests (Step-down) Step-downRecovery Different Priority Same Priority

Yale LANS Stress Tests (Ramp-down) Ramp-down Recovery Different Priority Same Priority

Yale LANS Stress Tests (Oscillation) Different Priority Same Priority

Yale LANS Active Client QoE Gain (CloudFront + CDN3)

Yale LANS Active Client: Cost Overhead

Yale LANS Conclusions We develop and implement a two-level approach to optimize cost and performance for content multihoming: –CMO: an efficient algorithm to minimize publisher cost and satisfy statistical performance constraints –Active client: an online QoE protection algorithm to follow CMO guidance and locally handle network congestions or server overloading.

Yale LANS Q&A

Yale LANS Related Work and Conclusions CDN switchers: seamless switch from one CDN to another –One Pica Image CDN Load Balancers: executing traffic split rules among CDNs –Cotendo CDN –LimeLight traffic load balancer –Level 3 intelligent traffic management CDN Agent: CDN business on top of multiple CDNs –XDN –MetaCDN CDN Interconnection (CDNi) –Content multihoming problem still exists in the CDN delegations.

Yale LANS Backup Slides

Yale LANS Searching Extremal Assignments Space of (1) Separation Lemma: (2) Recall: (3) We prove: (4) With a proper, we can find an extremal assignment: For each object, there is a unique minimum element in set How to find a proper ? How to enumerate all possible extremal assignments?

Yale LANS Picking Proper P A special subset of P (S’): all elements in are distinct We prove: Each extremal assignment can be found by an element in S’ Two interior points from the same cell find the same extremal assignment Cell Enumeration of Hyperplane Arrangements Conclusion: All possible extremal assignments are exhausted by S’. The number of extremal assignments is no more than the #cell (polynamial with #object). A Proper P: there is a unique minimum element in set

Yale LANS Realizing Control Diagram: Key Ideas Yry (revise next slide) Draw a figure w/ –An active client –3 cdn servers –Label a sliding window to conn. to each CDN –Say 3 key techniques to control and use the sliding window: total