400 likes | 611 Views
Cisco Content Delivery Solutions. Fabrice Serey fserey@cisco.com Zagreb 23/09/02. Agenda. What is CDN ? Content Switches and their applications in Data Centers. Caching or how to increase end users response time. IP Video or how to build a Pay Per View Streaming solution Conclusion.
E N D
Cisco Content DeliverySolutions Fabrice Serey fserey@cisco.com Zagreb 23/09/02
Agenda • What is CDN ? • Content Switches and their applications in Data Centers. • Caching or how to increase end users response time. • IP Video or how to build a Pay Per View Streaming solution • Conclusion
Overcomes Performance Bottlenecks Origin Server Scalability, Speed of Light Peering Point Congestion Last Mile Bandwidth “Middle Mile” T1, DSL, Cable Modem Dial-up Peering Capacity, ISP Network Capacity 10 Mb to 1 Gb Ethernet Gigabit Optical Network Cross-Internet connections Premises Network Internet Backbone Local Loop
CDN definition “CDNs accelerate the delivery of Web contents by solving access and congestion problems. They open the way to new high-rate service (audiovisual applications, games). After first being only dedicated to Internet, CDNs have now spread to the market of multi-site companies and companies implementing high rate services on their Intranet.” Major incumbent PTT operator
Content Distribution & Delivery Content Routing Content Switching Content Delivery Network Management Content Services 5 Key Elements of Content Networks
Agenda • CDN technical introduction. • Content Switches and their applications in data centers. • Caching or how to increase end users response time. • IP Video or how to build a Pay Per View Streaming solution • Conclusion
Traditional Load Balancing : DNS round robin DNS www.dog.com 1.1.1.1;1.1.1.2 Internet User WebServer Farm Load Balancing not mapped to the real load of the server DNS does not know state of the server Client interprets differently DNS A record with multiple IP@
How Content ServicesSwitching Works Step 1: User clicks: www.dog.com Browser talks to DNS for IP Address Browser sends TCP SYN (connect?) Internet Step 2: Switch Sends TCP SYN ACK to browser Step 3: Browser sends URL:www.dog.com Step 4: Switch determines Best Server Step 5: Switch connects to Best Server and splices TCP connection
Content IntelligenceDefined Content Services Switch L4 extended with URL filtering L4 “session” Switch • Full content switching on: Host Tag Entire URL Dynamic Cookie location File extension • 000’s of rules • 000’s of services • 00’s of services per content rule • Limited URL filtering on: Non HTTP GET HTTP w/ Cookies File extension • Limited URL visibility 64 strings <=40 bytes 32 rules <= 8bytes • Session load balancing by IP address and TCP port • Policy based on TCP port L3 Switch • Switching on MAC address, VLANs • IP Routing • 802.1 P/Q policy
Location of best server? Platinum Account Trading Flash Crowd Insurance What is being requested? Real-time Stock Quotes Real-time Stock Quotes Investor Chat Room Investor Chat Room Who is requesting it? Account Browsing & CustomerService Account Browsing & CustomerService Provide redundancy Why a content switch ? http://www. media.com
Site & System Security • Web site Security • Prevents Denial of Service attacks • Stateful access control • Firewall Load Balancing Attacker Internet SecureServices DMZ
And even more… • Intelligent redirection • Cookie sticky • Automatic Content Replication • Data Centers load balancing • User-tailored Web Services • SSL termination • Box to box redundancy • …
Cisco 1150XContent Services Switch • 40 Gbps Switch Fabric • Up to 6 modules • Up to 80 FE plus 2GE • Up to 12 GE • Redundant AC or DC CSS 11506 CSS 11503
Content Switching Module • High-performance layer 4-7 load balancer of servers, firewalls, caches and more • Single-slot linecard for catalyst 6500 • Custom network-processor-based hardware • Full regular expression support (URLs, cookies, HTTP header parsing)
Reasons for a data center ? • For operator internal use (ISP services, hosting operator portal, internal services) • To sell new commercial services (with or without VPNs)
Shared Hosting Data Center ”Layered model” Internet Dedicated Hosting Co-Location Streaming Managed Security VPN (FR or ATM PVC, MPLS VPN)
ISP-1 ISP-2 Content Switch SSL ContentAccelerator SSL ContentAccelerator Hosting Solution Engine Content Switch Content Switch PIX™ Firewall PIX™ Firewall Data Center Load BalancingFor Internet and Intranet Web Servers Database Servers
Agenda • CDN technical introduction. • Content Switches and their applications in data centers. • Caching or how to increase end users response time. • IP Video or how to build a Pay Per View Streaming solution • Conclusion
How to cache the content ? • PROXY caching • TRANSPARENT caching • REVERSE PROXY caching
1. Client request to proxy cache CacheMiss 2. 4. Content request to Origin 5. Origin returns content 7. Content sent to client Proxy Caching • Cache Miss Example: Enterprise Network Internet Origin Server www.dogs.com Cache200.200.200.1 Client • Dest. IP: 200.200.200.1 • Dest. Port: 8080 • Get: “//www.dogs.com/training” • No DNS lookup required by client 3. DNS resolve of www.dogs.com 6. Content stored on cache
2. Client request to origin CacheMiss 4. 5. Content request to Origin 6. Origin returns content 8. Content sent to client Transparent Caching • Cache Miss Example: 3. Intercepts TCP port 80 traffic and forwards request to cache Enterprise Network Internet 1. DNS resolve of www.dogs.com • Dest. IP: 192.4.7.1 • Dest. Port: 80 • Get: “/training” • Host: www.dogs.com Cache 200.200.200.1 Origin Server www.dogs.com 192.4.7.1 Client 7. Content stored on cache
Why caching ? • Faster network response time • Decrease traffic load on expensive peering links • Ease traffic monitoring and management (filtering)
Internet access for residential customers BGP peering with External AS As#124 As#12 As#317 POP1 POP2 Service Provider WAN POP3 POP4 Dial-Up Cable ADSL ETH
Seconds/Miss depends on peering links to the internet (typically 1-6 seconds) • RT = RTSP + RTinternet + RTwebserver Cache eliminate this delay Faster network response time • ce590#sh stat http perf • Statistics - Performance • Avg Min Max Last • ------------------------------------------------------------- • Requests / Second: - - 240 143 • Bytes / Second: - - 1316454 773902 • Seconds / Request: 1.411 0.000 11637.331 0.990 • Seconds / Hit: 0.091 0.000 1502.203 0.242 • Seconds / Miss: 2.274 0.000 11637.331 1.871 • -------------------------------------------------------------
Decrease traffic load on expensive peering links ce590#show stat http saving Statistics - Savings Requests Bytes ----------------------------------------------------------- Total: 2374343 12173144019 Hits: 1260618 4191382183 Miss: 1113725 7981761836 Savings: 53.1 % 34.4 % • Bandwidth saving depends on country and type of users • Typical residential and university saving = 30% - 50% • Business Users, Saving = 20% - 40%
Cost Saving Calculation Monthly savings = Bandwidth (Mbps) x Monthly BW cost/Mbps xPercent HTTP traffic x Byte hit rate Payback period = purchase price/ monthly savings
Filtering • Web Sense : The best URL database • Out of the box Web Sense server • Smart Filter : The most common tools • Inside the box Smart Filter agent • Smart Filter GUI + License • N2H2
Agenda • CDN technical introduction. • Content Switches and their applications in data centers. • Caching or how to increase end users response time. • IP Video or how to build a Pay Per View Streaming Solution • Conclusion
Content Delivery NetworksBringing Content Closer to Users Server Load Balancer and Content Servers Server Load Balancer and Content Servers Content Router Origin Web Server Server Load Balancer and Content Servers Server Load Balancer and Content Servers Local DNS Server
Streaming technology Video On Demand Live Traffic Transparent Caching and CONTENT PREPOSITIONING (E-CDN, I-CDN) Managed Streaming Server* Stream Splitting Un-managed Streaming Server** Stream Splitting Transparent Caching *Managed streaming server : Owned by the SP in one location **Un-managed streaming server : Server on the internet
Content Engine Streaming capabilities Full support of RealNetwork functionalities (Proxy, Subscribers, Servers) Full support of Windows Media functionalities (Native WMS, v4.1)
Pay Per View Service • SP are willing to sell more than just Internet access and VPN. Interest in voice and video. • New promising service: Video and Interactive gaming • PPV is ONE possible video service • Video technology is still in its infancy. Microsoft is taking large market share.
PPV foundation: Video Streaming 2. Streaming protocol Video library VideoServer IP network Codec on PC Content VoD Content Live 1. Encoding = codec, bit rate, image size, frame per second, key image intervall
Encrypted Stream License aquisition …with DRM and Billing User buy the rights to view a file for a limited amount of time (1 day) Can not store the file on his PC Residential Service Provider Backbone Datacenter VideoServer 300kbit/s streams 900kbit/s streams Video Library Broadband access ADSL, Cable, ETTH DRM : Digital Right Mngt Server Unique Per Content Provider Billing (Outsourced)
Codec: Which quality to expect? *might have an issue with QoS Assumption: Video are streamed on TV, not stored and play
How can Cisco help ? Residential Service Provider Backbone Datacenter VideoServer Video Library 300kbit/s streams 900kbit/s streams Broadband access ADSL, Cable, ETTH
Agenda • CDN technical introduction. • Content Switches and their applications in data centers. • Caching or how to increase end users response time. • IP Video or how to build a Pay Per View Streaming Solution • Conclusion
Content Delivery Services Streaming Applications Web Hosting E-Commerce Content Delivery Networks Content Edge Delivery Content Routing Content Switching Content Distribution & Management Intelligent Network Services L2/L3 Networks Highly available, scalable, performance network at Layer 2/3 Content Delivery Networks System Building Blocks DSL ISDN/Dial Mobile Fixed Wireless Cable Dedicated/ ATM/FR