260 likes | 376 Views
Infrastructure for Better Quality Internet Access & Web Publishing without Increasing Bandwidth. Prof. Chi Chi Hung School of Computing, National University of Singapore Lower Kent Ridge Road, Singapore 119260 Email: chich@comp.nus.edu.sg David Goss Microbits Email: dgoss@microbits.com.au.
E N D
Infrastructure for Better Quality Internet Access & Web Publishing without Increasing Bandwidth Prof. Chi Chi Hung School of Computing, National University of Singapore Lower Kent Ridge Road, Singapore 119260 Email: chich@comp.nus.edu.sg David Goss Microbits Email: dgoss@microbits.com.au
Internet Content Delivery Today 56 Kbps 10/100 Mbps Internet hi 1-to-Many (Dynamic) hola Client: Last Mile Access Centralized Content Servers Content
Basic Content Delivery Problems • THREE BIG PROBLEMS: • Long latency for the ever increasing bandwidth. • Increasing bandwidth cannot catch up with increasing network demand. • High client expectation with commercial and real-life applications. • Fast network is never fast enough with ever increasing user’s real-time expectation. • Content creation and delivery heading in opposite directions. • Easy handling of sophisticated multimedia data usually means longer delay time for web surfing.
Content Delivery Challenges • THREE GOALS: • Fast Content Delivery for the given bandwidth. • Quality Content Presentation under wide variations of clients/devices/networks. • Efficient Content Management & Monitoring for one single source of content and network resource.
Content Delivery Approaches… • Four APPROACHES: • Client Plug-ins: “Fat clients doing work in the last stage of delivery?” • Server: “Network is computing, is computing outside network?” • Proxy Gateway: “Network is computing, is selective computing inside the network?” • Data Replication “Web data is replicated in servers at the client edge of Internet, how big is the client population for cost effective solution?” • Considerations: • Cost Effectiveness • Server Collaboration • Client Constraints • Action Point of Tasks
Recommended Direction “Network is computing and business; selected computing, services and policy management is in the network.” “1-to-many ACTIVE PROXY CACHE solution as compared to individual server or client approach.”
Internet (Large Backbone ISP) ISP Content Basic Frame Object Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Content Delivery Mechanism Web Page Retrieval (against time):
Four Delivery Techniques • INCREASING DELIVERY SPEED FOR A GIVEN BANDWIDTH: • Caching for data reuse • Compression for reducing bandwidth consumption for a given amount of information. • Acceleration for improving latency time of 1st time access. • Priority for important web access.
GET full-URL HTTP/1.1 www_proxy.my.domain some host Request Web Cache Client Remote Server Any supported protocol Response HTTP/1.1 200 document follows Disk Fast Delivery Techniques (I): Caching How Cache Works?
GET full-URL HTTP/1.1 www_proxy.my.domain some host Web Cache Client Remote Server HTTP HTTP/1.1 200 document follows Disk Fast Delivery Techniques (I): Caching How Cache Works?
Fast Delivery Techniques (I): Caching Internet (Large Backbone ISP) ISP Content Content Proxy Cache Reverse Proxy Cache Content Content Caching • Forward Proxy for Clients: • Save international bandwidth • Reduce server workload • Reduce access latency through local access • Reverse Proxy for Servers: • Cost-effective sol’n than server through specialized hardware • Reduce server workload • Memory access instead of disk operation
Fast Delivery Techniques (I): Caching • Necessary but Not Sufficient … • 1st Web Object Retrieval over 70% web objects without reuse • SMEs low volume network traffic implies less caching effect; slower links also shift bottleneck from startup time to network delay. • Non-Cachable Decision for dynamic data content. • Over-Demand for Network Bandwidth for a fixed amount of data information.
Internet (Large Backbone ISP) ISP Content Content Compression Proxy Cache Compression Reverse Proxy Content Content Content Basic Frame Object Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Fast Delivery Techniques (II): Compression Compression Web Page Retrieval: • Compression Proxy: • Reducing BW consumption through lossless & lossy compression • Improve response time of surfing (in particular, modem & reverse proxy) • Browser support through HTTP
Fast Delivery Techniques (II): Compression Compression Example Original File File Size: 176,726 bytes File Size: 29,467 bytes Savings: 83.3 %
Internet (Large Backbone ISP) ISP Content Content Active Proxy Cache Active Reverse Proxy Cache Content Content Content Basic Frame Object Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Embedded Obj. Fast Delivery Techniques (III): Acceleration Acceleration Web Page Retrieval: • Acceleration Proxy: • Acceleration through parallel fetch of objects in proxy • Re-scheduling for early object fetching • No increase in bandwidth demand.
Fast Delivery Techniques (IV): Priority Internet (Large Backbone ISP) ISP Active Proxy Cache Active Reverse Proxy Cache Priority Access • Priority Proxy: • Different user groups assigned with different priority level to use network. • Better load balancing network usage. • Important to situations with VIP or super users. • Priority Based on: • User ID and IP addresses. • Object sizes and types. • Time of access. • Destination.
Fast Delivery Solutions (I) • Opportunity 1: Active Proxy Cache • Caching to shortcut data retrieval path to local machine and to reduce international bandwidth consumption. • Acceleration to speedup necessary accesses of web data retrievals through parallelism and re-scheduling of object retrieval. • Compression and Transcoding to reduce bandwidth consumption for the same amount of content (important for wireless and low-speed modem accesses). • Priority Access to allocate more bandwidth to more urgent/important requests.
Fast Delivery Solutions (II) • Opportunity 2: Active Reverse Proxy Cache • Caching to reduce delay due to server I/O and disk operations. • Compression and Transcoding to reduce bandwidth consumption for the same amount of content.
Active CDN Framework (I) SW Application “Chips” Real Time Content Transformation Compression Acceleration Ad-Insert Priority Access Filtering Wireless Anti-Virus Security API Interface To Applications Efficient Active Proxy Framework Ultimate Solution
Active CDN Framework (II) Proxy Cache Transformer Internet (Large Backbone ISP) ISP Active Proxy Cache Active Reverse Proxy Cache Active Proxy Cache Box for Enterprises Quality Network Service
Typical Education Environment & Needs • Limited Number of Students • Caching is important, but its effect is limited (e.g. hit ratio less than 30%). • Accelerating 1st time access is very important. • Typical acceleration gain is about 20% to 40%. • Teaching Staff and Students • Larger number of students over staff implies the importance of higher priorities for web requests related to teaching and staff administration. • Content Management • Centralized content management in the institution gateway is critical.