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



Similar documents
Demand Routing in Network Layer for Load Balancing in Content Delivery Networks

GLOBAL SERVER LOAD BALANCING WITH SERVERIRON

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

Global Server Load Balancing

FortiBalancer: Global Server Load Balancing WHITE PAPER

Global Server Load Balancing

Alteon Global Server Load Balancing

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

Superior Disaster Recovery with Radware s Global Server Load Balancing (GSLB) Solution

THE MASTER LIST OF DNS TERMINOLOGY. v 2.0

Traffic Controller Service. UltraDNS Whitepaper

HTG XROADS NETWORKS. Network Appliance How To Guide: EdgeDNS. How To Guide

Scaling with Zeus Global Load Balancer

THE MASTER LIST OF DNS TERMINOLOGY. First Edition

Deploying Microsoft SharePoint Services with Stingray Traffic Manager DEPLOYMENT GUIDE

White Paper. ThinRDP Load Balancing

Internet Content Distribution

Web Caching and CDNs. Aditya Akella

The Value of Content Distribution Networks Mike Axelrod, Google Google Public

Measuring the Web: Part I - - Content Delivery Networks. Prof. Anja Feldmann, Ph.D. Dr. Ramin Khalili Georgios Smaragdakis, PhD

Radware AppDirector and Juniper Networks Secure Access SSL VPN Solution Implementation Guide

Pass Through Proxy. How-to. Overview:..1 Why PTP?...1

How To Guide Edge Network Appliance How To Guide:

WAN Traffic Management with PowerLink Pro100

DATA COMMUNICATOIN NETWORKING

Combining Global Load Balancing and Geo-location with Emissary TM

Windows Geo-Clustering: SQL Server

High-Performance DNS Services in BIG-IP Version 11

Configuring Citrix NetScaler for IBM WebSphere Application Services

Web Application Hosting Cloud Architecture

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

PIVOTAL CRM ARCHITECTURE

Content Delivery Networks. Shaxun Chen April 21, 2009

HTG XROADS NETWORKS. Network Appliance How To Guide: DNS Delegation. How To Guide

Global Load Balancing with Brocade Virtual Traffic Manager

BEST PRACTICES FOR IMPROVING EXTERNAL DNS RESILIENCY AND PERFORMANCE

Introduction to ServerIron ADX Application Switching and Load Balancing. Module 7: Global Server Load Balancing (GSLB) Revision 0310

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

Using DNS SRV to Provide High Availability Scenarios

State of the Cloud DNS Report

DEPLOYMENT GUIDE Version 1.2. Deploying F5 with Oracle E-Business Suite 12

High Availability for Citrix XenApp

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

Content Delivery Network. Version 0.95

5 Easy Steps to Implementing Application Load Balancing for Non-Stop Availability and Higher Performance

EECS 489 Winter 2010 Midterm Exam

Global Server Load Balancing (GSLB) Concepts

Building a Highly Available and Scalable Web Farm

Lab 2. CS-335a. Fall 2012 Computer Science Department. Manolis Surligas

Coyote Point Systems White Paper

State of the Cloud DNS Report

Application Note. Active Directory Federation Services deployment guide

Domain Name System :49:44 UTC Citrix Systems, Inc. All rights reserved. Terms of Use Trademarks Privacy Statement

Measuring CDN Performance. Hooman Beheshti, VP Technology

How to set up the Integrated DNS Server for Inbound Load Balancing

Barracuda Load Balancer Online Demo Guide

Overlay Networks. Slides adopted from Prof. Böszörményi, Distributed Systems, Summer 2004.

DEPLOYMENT GUIDE Version 1.1. DNS Traffic Management using the BIG-IP Local Traffic Manager

Solution Brief. Load Balancing to Provide Scalable, Reliable, Secure Access Solutions

High Availability HTTP/S. R.P. (Adi) Aditya Senior Network Architect

1. Comments on reviews a. Need to avoid just summarizing web page asks you for:

Microsoft Dynamics CRM 2015 with NetScaler for Global Server Load Balancing

Cisco GSS 4492R Global Site Selector

Cisco and EMC Solutions for Application Acceleration and Branch Office Infrastructure Consolidation

Front-End Performance Testing and Optimization

KEMP LoadMaster. Enabling Hybrid Cloud Solutions in Microsoft Azure

Network Layers. CSC358 - Introduction to Computer Networks

AKAMAI WHITE PAPER. The Challenges of Connecting Globally in the Pharmaceutical Industry

Content Delivery Networks (CDN) Dr. Yingwu Zhu

Chapter 6 Virtual Private Networking Using SSL Connections

Cisco GSS 4492R Global Site Selector

Citrix NetScaler Global Server Load Balancing Primer:

Disaster Recovery White Paper

High Availability for Desktop Virtualization

High Performance Cluster Support for NLB on Window

Brocade Virtual Traffic Manager and Microsoft SharePoint 2010 Deployment Guide

Content Distribu-on Networks (CDNs)

Cisco ACE GSS 4492R Global Site Selector

Reduce your downtime to the minimum with a multi-data centre concept

PowerLink Bandwidth Aggregation Redundant WAN Link and VPN Fail-Over Solutions

HUAWEI OceanStor Load Balancing Technical White Paper. Issue 01. Date HUAWEI TECHNOLOGIES CO., LTD.

LOAD BALANCING TECHNIQUES FOR RELEASE 11i AND RELEASE 12 E-BUSINESS ENVIRONMENTS

Lecture 2 CS An example of a middleware service: DNS Domain Name System

The F5 Intelligent DNS Scale Reference Architecture.

Ecomm Enterprise High Availability Solution. Ecomm Enterprise High Availability Solution (EEHAS) Page 1 of 7

Computer Networks: Domain Name System

10533: Deploying, Configuring, and Administering Microsoft Lync Server 2010 Duration: Five Days

Layer 4-7 Server Load Balancing. Security, High-Availability and Scalability of Web and Application Servers

CS 348: Computer Networks. - DNS; 22 nd Oct Instructor: Sridhar Iyer IIT Bombay

Cisco Application Networking for BEA WebLogic

Optimize Application Delivery Across Your Globally Distributed Data Centers

Configuring and Implementing A10

A Layman's Guide to Global Server Load Balancing

Transcription:

White paper Request Routing, Load-Balancing and Fault- Tolerance Solution - MediaDNS June 2001 Response in Global Environment Simply by connecting to the Internet, local businesses transform themselves into global "ebusiness" enterprises that span the world. When the competition is only a click away, an ebusiness can afford neither downtime nor a slowed network response time. According to Zona Research, an ebusiness must respond in less than seven seconds or risk losing 30% or more of prospective customers. Zona Research estimates that as much as $4.4 billion in e-commerce is lost each year because of failed or slow networks. In current Internet environment, application servers in a remote site may produce a long latency and bad response time such that users do not tolerate the long waiting before being served. The reason for that may be due to the heavy loading of application servers. In order to keep the prospective customers, the content must be made available to the users as soon as possible. SinoCDN's global load-balancing and fault-tolerance solution product, MediaDNS, enables the delivery of content more intelligently and efficiently by redirecting user requests and load-balancing the application servers in Content Delivery Network (CDN). Connect to the best service node in a CDN In an intelligent CDN, content is routed intelligently to the users passing through the intermediate nodes (e.g. ISG). This scenario improves the network scalability and reliability. The bandwidth consumption on the network is significantly reduced by pushing the content distribution to the edge of the network. However, how can an end-user enter the CDN and know which node is the best for quality content delivery service according to his location and situation? 1

Possible Solution: DNS lookup and HTTP redirect The solution to the above questions is MediaDNS (MDNS) from SinoCDN. It intelligently assigns the best server node or cache engine to the end-users. MediaDNS performs the tasks in two different modes: DNS lookup When a customer requests a streaming URL such as streaming.sinocdn.com, their media players queries their local Domain Name Server (DNS) to resolve the host name to an IP address. The local DNS performs queries iteratively, ultimately reaching the authoritative DNS for the given domain sinocdn.com. The authoritative DNS replies with one or more IP addresses for the given domain name. Once the local DNS has the IP address, it responds back to the customer's browser, which in turns opens a TCP connection with the given IP address and performs content delivery. The local DNS caches the authoritative DNS response and provides the same address for future requests to the domain until the time-to-live (TTL) parameter of the domain's IP address specified by the authoritative DNS expires. MediaDNS based on this DNS lookup scenario with additional application layer intelligent to direct the end-users to the node (e.g. ISGs) that can provide the best response and quality delivery/streaming services to them, with load-balancing functionality. HTTP redirect Other than DNS lookup, HTTP redirect is another method for redirecting end users to the closest and best server node. End users make http requests to the MediaDNS in this method. The MediaDNS can then obtain the IP addresses of the end users from the http requests. By knowing this information, the MediaDNS knows the exact location (IP) of the end user. This helps the MediaDNS to locate the closest server node relative to the end user and thus enabling a more accurate decision. After the MediaDNS made the decision, it returns the URL of the best and closest node to the end user. The end user then joins in the CDN through this server node. Operation of MediaDNS DNS Lookup mode A client requests a content by specifying the URL. The URL always includes a hostname (for example, www.yourcompany.com). The URL is sent to the client local DNS server to resolve the hostname to an IP address. This is what happens next: 2

1. The client local DNS server sends a DNS request to the authoritative DNS server for the domain portion of the hostname streaming.yourcompany.com (in this case, yourcompany.com). 2. The DNS server at your site examines the hostname. If it is properly configured to work with MediaDNS, it will identify the computer where the MediaDNS is running as the authoritative DNS server for the sub-domain streaming.yourcompany.com. 3. The DNS server returns the IP address of the computer where the MediaDNS is running to the client local DNS server. 4. The client DNS server sends an address resolution request to the MediaDNS. The MediaDNS checks whether the name streaming.yourcompany.com is listed in its configuration file as a virtual host.. If the name is not listed, the MediaDNS returns an error message to the client DNS server. 6. If the hostname is listed, the MediaDNS checks the list of server nodes or ISGs that are qualified to respond to that name. It also eliminates from the list any node or ISG that is currently unavailable. 7. The MediaDNS selects a node or ISG using the criteria of loading, available bandwidth and network latency. It then returns the IP address of the best one to the Local DNS. ISG Local DNS 2 Authoritative DNS (abc.com) 3 4 MediaDNS (video.abc.com) 1 End user requests content at video.abc.com 6 7 1. An end user sends DNS request to Local DNS 2. Local DNS s query is forwarded to the authoritative DNS for IP resolve 3. Authoritative DNS forwards request to the MediaDNS 4. MediaDNS requests ISGs to measure RTT from Local DNS and return loading information. MediaDNS returns IP of the closest/best ISG to authoritative DNS and then Local DNS 6. Local DNS returns IP to the end user 7. The end user makes a request to closest the ISG Fig. 1 Request redirection using MediaDNS DNS Lookup mode 3

HTTP redirect mode HTTP redirect mode in MediaDNS provides the request redirection service and global load-balancing functions for streaming delivery on ISG-based CDN. In HTTP redirect mode, end users request for a meta file (.ram for REAL and.asx for MMS) by http request. The MediaDNS, acts like a web server, receives the request and returns the streaming media address back to end-user. The steps for directing the end-user to the closest ISG in HTTP redirect mode is described as follows: 1. An end user makes an HTTP request by typing a HTTP URL, say http://video.yourcompany.com/live.asx. 2. The MediaDNS which acts as a web server of video.yourcompany.com receives the above request and thus it can obtain the IP address of the end user. 3. MediaDNS controls the ISGs to measure the round-trip-time (RTT) between them and the end user. 4. The MediaDNS selects an ISG using the criteria of ISG loading, available bandwidth and network latency. This IP address and the corresponding content path of the media is sent to the end user, e.g. mms://ip_closest_isg/live.. End user gets the full stream URL for streaming request. It then makes the request to the best ISG. ISG Media server with content link /live 4 3 2 MediaDNS (video.yourcompany.com) 1 An end user sends a http request, e.g. http://video.yourcompany.com/abc.ram?prog=/live Fig. 2 MediaDNS in HTTP Redirect mode 4

Intelligent server node Selection The selection of a server node or ISG for a client by the MediaDNS is based on the following metrics: 1. Available bandwidth: it ensures that the server node or ISG have enough bandwidth to provide a good quality stream or service to the end user. 2. Loading: it ensures that the server node or ISG will not be overloaded or down after serving the client. 3. Network latency between server node/isg and the client local DNS (DNS lookup mode) or end user (HTTP redirect mode): it ensures that the end-user can be served with fast response by a nearby node/isg. 4. Administrator pre-defined network topology such that users come from a specific region are served by a specific (or a cluster of) server or ISG. The information of available bandwidth and loading can be retrieved directly and quickly from the MediaDNS agent located in the server nodes or ISGs. The information of latency between server nodes/isgs and local DNS or end-user can be obtained by measuring the round-trip time (RTT). After the MediaDNS receives a request from a client, it will control all the MediaDNS agents in the CDN to send a request to the client's local DNS or the client s machine for measuring the RTT measurement. After the server nodes or ISGs send back the RTTs to the MediaDNS, the MediaDNS compares all the necessary information to make an intelligent decision on selection. This intelligent selection guarantees that the end-user can be served with the best response and quality, while balancing the loading of the server nodes. Enable Global/Local Server Load Balancing MediaDNS enables the network to perform Global Server Load Balancing (GSLB) and Local Server Load Balancing (LSLB). GSLB and LSLB have emerged as the new way of reducing the risk of losing your customers to the competition. GSLB improves content response time by transparently steering the customer to the nearest server. GSLB improves content availability by automatically redirecting the customer away from failed or heavy loading servers or ISGs. LSLB reduces the chance of service failure by load-balancing local network services and redirect users away from failure nodes. Through these techniques, GSLB and LSLB protect an ebusiness from natural calamities, catastrophes, or power outages and ensures that the customer gets to the nearest functional server node.

Geography Based Selection The MediaDNS resolves a domain name into the IP address of a server or ISG. When a client DNS makes an address resolution request for a stream, the MediaDNS returns the IP address of a server node/isg based on the pre-set selection criteria. Other than comparing the latency and loading information, user requests can be redirected according to the geographical location. Users in a specific region can be configured to be served by a specific (or a cluster of) server node. Hierarchical MediaDNS Deployment MediaDNS can be deployed in either Global mode or Local mode to form a hierarchical structure. Global mode MediaDNS controls and communicates with Local mode MediaDNS that are located all around the WAN. It finds the closest local MediaDNS to the end user based on the same selection metric in server node selection. Then, it forwards the DNS request to the Local mode MediaDNS and the Local mode MediaDNS finds the closest server node under its region to serve the end user. This hierarchical structure enables a scalable and flexible deployment of MediaDNS in a global environment. Servers or ISGs that are far away from the end user will not be involved in the selection process, so it can efficiently find the closest node to the end user without wasting unnecessary network resources. Health Check and Failover Health check The MediaDNS agents deliver server node information to the MediaDNS. They measure the load on the servers and the latency between the client DNS server/enduser. Thus it can check the health of all the server nodes continuously. ISG failover MediaDNS agent is running at each server node to improve reliability. MediaDNS depends on the information from the agents to select the best node for the client. If the MediaDNS agent in a node cannot respond to the MediaDNS, MediaDNS considers that node as over-loaded or failure. Consequent requests will not be assigned to this node until it is reborn. 6

Web-based Administration for customized configuration MediaDNS contains a web-based user interface for remote administration. The intuitive interface provides easy configuration and management of MediaDNS, automates tasks, and helps prevent configuration errors. It provides several advanced configuration features to meet additional needs that typically occur at Internet sites. Configurations like loading and network latency parameter settings allow the operator to have a complete control on server node selection. You can configure your selection criteria such that it can be most suitable to your environment and applications. About SinoCDN SinoCDN is the leading broadband infrastructure technology developer in Asia. It offers content networking and management technology, which enables high-quality live and ondemand content delivery over the Internet from long haul to edge networks. Their products are based on their innovative Intelligent Streaming Gateway architecture that can create reliable, intelligent, scalable and easy-to-manage Content Delivery Network infrastructure for millions of users with best viewing experience. The company is headquartered in Hong Kong, with offices in Boston US. Additional information is available at http://www.sinocdn.com 7