1 / 11

Quoc Le

Exploiting Database Patterns in Dynamic Pages to Improve Replication Locality in Content Delivery Networks. Quoc Le. Research Question. Increase Replication Locality

upton
Download Presentation

Quoc Le

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Exploiting Database Patterns in Dynamic Pages to Improve Replication Locality in Content Delivery Networks Quoc Le

  2. Research Question • Increase Replication Locality • Improve Latency of Database Application in Content Delivery Networks (CDN) • Relevant: Dynamic pages makes up a large part of Internet Content.

  3. CDN • Improve Latency & Throughput • Complexity • Expensive to Operate/Lease

  4. Collaborative CDN • User contribute their web server resource to maintain a CDN • Relevant for small biz/school/non-profit • Globule • Apache Server Module - Easy to install • Supports latency estimation, dynamic scripts, redirection algorithms.

  5. Replica 1 Replica 2 Replica 3 Internet Origin/DB Server Partial Replication Approaches Replica 1 Replica 2 Replica 3 Internet Origin/DB Server One Centralized DB Server

  6. Strategy

  7. Experiment • LAMP (Linux, Apache, MySQL, and PHP) • Globule – CCDN (C codes) • VMWare – Run multiple servers on 1 machine • NISTNet – Simulate Internet Traffic • TPCW – Industry standard ecommerce benchmark w/ Remote Browser Emulator (Java) Shopping Cart (PHP) • IPtables (Router Forwarding) • Bind 9 (DNS Resolution)

  8. Experiment Router Configuration Iptables –A FORWARD –d 192.168.20.131 –j ACCEPT Iptables –A FORWARD –d 192.168.21.132 –j ACCEPT Iptables –A FORWARD –d 192.168.22.133 –j ACCEPT Iptables –A FORWARD –d 192.168.23.134 –j ACCEPT Vmware Node Debian Sarge 256 MB RAM 192.168.19.128 Vmware Node Ubuntu Linux 256MB RAM 192.168.21.131 Vmware Node Debian Sarge 256MB RAM 192.168.22.132 Vmware Node Debian Sarge 256MB RAM Vmware Node Debian Sarge 256MB RAM 192.168.19.128 192.168.20.128 192.168.21.128 192.168.22.128 192.168.23.128 192.168.20.133 192.168.23.133

  9. Initial Setup • Used tpcw toolset to generate initial Database • 28,800 Customers • 1000 Items • 250,000 Orders • NistNet Delay • 30 ms delay • 5% drop • RBE • 10 minutes benchmark test

  10. Results Database Read Only

  11. Future Work • Lots of problem with buggy codes. • There is more work to be done: • Experiment with different Read/Write Distribution • Throughput Test

More Related