SlideServe
Menu
Préférences
© SlideServe · v2026

Dynamic Content Is Common

halil avatar
32 diapositives · 503 Views · Oct 12, 2014

Specification and Implementation of Dynamic Web Site Benchmarks Sameh Elnikety Department of Computer Science Rice University. Dynamic Content Is Common. 1. 2. 3. Generating Dynamic Content. Web Server. Dynamic Content Generator. Database Server. http. DynaServer Project.

Dynamic Content Is Common - slide 1
01 / 32Dynamic Content Is Common
1 / 17

Télécharger la présentation

Dynamic Content Is Common
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. Specification and Implementation of Dynamic Web Site Benchmarks Sameh ElniketyDepartment of Computer ScienceRice University

  2. Dynamic Content Is Common 1 2 3

  3. Generating Dynamic Content Web Server Dynamic Content Generator Database Server http

  4. DynaServer Project • Scale Performance of Dynamic Content Sites • Caching • Clustering • Replication • Dynamic content delivery networks

  5. Motivation • We Need Workloads to Evaluate Different Architectures • No Workloads for Dynamic Content

  6. Benchmarks • Online Bookstore • Models amazon.com • Auction Site • Models ebay.com • Bulletin Board • Models slashdot.org Common Applications Stress Different Parts of the System

  7. Contributions • Online Bookstore • Followed TPC-W specification • Wrote implementation • Auction Site • Developed specification & implementation • Bulletin Board • Developed specification & implementation

  8. Outline • Benchmarks • Online Bookstore • Auction Site • Bulletin Board • Bottleneck Characterization • Experimental Setup • Measurement • Performance Results

  9. Online Bookstore Benchmark • Models amazon.com • Follows TPC-W (TPC Feb 2000) • Activities • Browsing, buying, administrative updates • Persistent Data • Images in Web server file system • All others in database

  10. Online Bookstore Benchmark Image Promotion Shopping Cart Next Interaction

  11. Online Bookstore Benchmark • 14 Interactions (as specified in TPC-W), e.g. • Home • Best sellers • Secure payment • Shopping cart • Workload Mixes (as specified in TPC-W) • Browsing (95% read-only) • Shopping (80% read-only) • Ordering (50% read-only)

  12. Auction Site Benchmark • Models Ebay.com • Activities • Browsing, selling, bidding • User Sessions • Visitor, seller, buyer • Persistent Data • Images in Web server file system • All others in database

  13. Auction Site Benchmark • 26 interactions • Browsing by category • Bidding • Buying • Selling • Leaving comments • User page • Workload Mixes • Browsing (100% read-only) • Bidding (85% read-only)

  14. Bulletin Board Benchmark • Models Slashdot.org • Activities • Discussion thread (story & comments) • Ratings • User sessions • Visitor, moderator • Persistent Data • Images in Web server file system • All others in database

  15. Bulletin Board Benchmark • 24 interactions • Browsing by category • Submit new story • Search story titles • Display story & filter comments • No Full Text Search • Workload Mixes • Browsing (100% read-only) • Submission (85% read-only)

  16. Bottleneck Characterization • Experimental Setup • Measurement • Performance Results

  17. Software Web Server Dynamic Content Generator Database Server http Apache PHP MySQL http sql

  18. Hardware Apache PHP MySQL http sql

  19. Performance Metric • Throughput • Number of interactions per minute

  20. Resources Monitored • Web Server • Database • CPU • Memory • Disk • Network

  21. Emulated Clients Emulated Clients Apache PHP MySQL http sql • Java Emulator • Session duration • Think time • Markov model

  22. Measurement • Driving the System • Several clients • Ramp-up time • Steady-state measurement

  23. Online Bookstore Benchmark Throughput

  24. Bookstore CPU Utilization (Shopping Mix)

  25. Bookstore Resources (Shopping Mix) Conclusion Database CPU is the bottleneck

  26. Auction Site Benchmark Throughput

  27. Auction CPU Utilization (Bidding Mix)

  28. Auction Resources (Bidding Mix) Conclusion Web Server CPU is the bottleneck

  29. Bottlenecks • CPU of Database • CPU of Web Server • CPU of Web Server • Online Bookstore • Models amazon.com • Bidding • Models ebay.com • Bulletin Boards • Models slashdot.org

  30. Conclusions • 3 Benchmarks • Online bookstore, auction site, bulletin board • Open-source software • Available implementations (PHP, Servlets, EJB) • Capacity Planning • Research on Dynamic Content

  31. Collaborators • Cristiana Amza, Anupam Chanda, Alan Cox, • Romer Gil, Willy Zwaenepoel • Department of Computer Science - Rice University • Emmanuel Cecchet, Julie Marguerite • INRIA Rhône - Alpes • Karthick Rajamani • IBM Austin Research Lab

  32. Download the Benchmarks • Benchmark Implementations in • PHP • Servlets • EJB • http://www.cs.rice.edu/CS/Systems/DynaServer/