• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Stress Test Drupal on Amazon EC2 vs. RackSpace cloud
 

Stress Test Drupal on Amazon EC2 vs. RackSpace cloud

on

  • 1,051 views

RackSpace vs Amazon EC2 stress evaluation of responding to user registration on a Drupal 6 ubercart ecommerce site test using LoadStorm. ...

RackSpace vs Amazon EC2 stress evaluation of responding to user registration on a Drupal 6 ubercart ecommerce site test using LoadStorm.

We have stood up an eCommerce site built with Drupal6 and ubercart and stood it up on two most popular cloud providers. We then built a stress test using LoadStorm and tried to push the sites and servers to the limit. Here are the results of our experiment.

Statistics

Views

Total Views
1,051
Views on SlideShare
1,051
Embed Views
0

Actions

Likes
0
Downloads
5
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Promet Source Chicago Drupal Meet Up presentation – Using Load Storm
  • Objectives: - Learn when and why to stress test your site - Learn how to use load test with load storm
  • Promet Source is a Chicago based full service Web Development Company focusing on open source technologies to build complex websites and web applications. Promet has used Drupal to develop solutions for Fortune 100 companies, start-ups & non-profits. Promet uses Drupal to build a broad variety of websites, web applications, and has most recently, used Drupal to assist in its Mobile Application Development.Along with their Drupal expertise Promet Source differentiates themselves by providing a superior customer experience throughout all facets of the development process, including design, software engineering, project management, quality assurance as well as hosting & online marketing services.Promet Source areas of Drupal expertise:- Drupal Web Development- Web Application Development- Mobile Application Development- eCommerce Web Development- Member Management Web Development- Web Design- Chicago Web Hosting- Chicago Online Marketing
  • Load testing is NOT front end performance testing It is also not High Availability analysis
  • Why Load Test?Capacity planningCapacity TestingPerformance Tunning
  • Example of over capacity problem
  • Another over capacity problem example
  • Not related, but a fun 404 message
  • What is Load Storm:LoadStorm has been awarded and recognized as the Best Load Testing Tool byWebhostingsearch.com, the leading provider of best quality web hostingreviews on the Internet.“LoadStorm™ is a web-based load testing tool for simulating what users do with a web site or web application. You use it to build tests that send requests to your server in the same way that a user's browser sends requests to your server. But these tests are executed by our automated systems rather than by a user, so they can be done repeatedly and in large numbers simultaneously. They can also be built using our tool in such a way as to simulate a large number of different users with different tasks to perform.
  • Our test site isOptionIt a drupal 6 ecommerce site built by Promet Source
  • The OptionIt home page has 44 objects on it
  • How to Set up a load test - Step 1 – create a Plan Plan is a collection of Scripts, steps and data about the tests its always the first step and it’s the highest level
  • How to Set up a load test - Step 2 – create a ScenarioA scenario is a collection of test steps (user actions, like a click or a form submit). Weighing (if you have more than one scenario) min/max pause and form data set
  • How to Set up a load test - Step 2 – create a Step (and repeat)Steps are user actions. Load storm allows for links, new pages, random clicks, static data and form data (for required unique values)
  • How to Set up a load test - Step 3 – create a Step (and repeat)Steps are user actions. Load storm allows for links, new pages, random clicks, static data and form data (for required unique values)
  • Here is our example scenario
  • We will be load testing the same site installed on four instances: - Amazon small - Amazon mediumVersusRack Space Cloud 1024MB RamRack Space Cloud 2048MB Ram
  • Stress Test results on a drupal site on Amazon small instance
  • Stress Test results on a drupal site on Rack Space Cloud 1024G instance
  • Comparative number of users registered on RackSpace cloud server versus Amazon EC2 small
  • New Relic view of Process memory and CPU usage on RackSpace cloud server during the stress test
  • Stress Test results on a drupal site on Amazon
  • Questions?andy@promethost.com@akucharski@prometsource

Stress Test Drupal on Amazon EC2 vs. RackSpace cloud Stress Test Drupal on Amazon EC2 vs. RackSpace cloud Presentation Transcript

  • http://www.flickr.com/photos/nebraskasc PrometSource CDMUG Using LoadStorm
  • Objectives-> LEARN WHEN TO LOAD TEST-> UNDERSTAND HOW TO LOAD TESTWITH LOAD STORM
  • About Me • PRESENTER • ANDY KUCHARSKI • @AKUCHARSKI • PROMET SOURCE • FOUNDER • @PROMETSOURCE
  • About Promet • Focus on Drupal • Founded in 2003 • Offices in the US (Chicago, San Jose)
  • http://www.flickr.com/photos/peterlozanoWhat Load Testing is not Front End Performance Testing High Availability analysis
  • Why Load Test Capacity Planning Capacity Testing Performance Tuning
  • www.LoadStorm.com allows you to quickly andeasily remove create a test load hitting your site fromAmazon and Azure cloud servers
  • The Victim – Drupal 6 Ubercart site
  • The Victim - 44 objects on home page
  • How to Set up a load test - Step 1 – create a PlanPlan is a collection of Scripts, steps and data about the tests its always the first step and it’s the highest level
  • How to Set up a load test - Step 2 – create a ScenarioA scenario is a collection of test steps (user actions, like a click or a form submit). Weighing (if you have more than one scenario) min/max pause and form data set
  • How to Set up a load test - Step 2 – create a Step (and repeat)Steps are user actions. Load storm allows for links, new pages, random clicks, static data and form data (for required unique values)
  • How to Set up a load test - Step 3 – create a Step (and repeat)Steps are user actions. Load storm allows for links, new pages, random clicks, static data and form data (for required unique values)
  • Two scenarios, main one will register a user in four steps
  • The Servers – Amazon EC2 Small and Medium VS RS Cloud 2G and 4G
  • EC2 Small: Peeked at 75 users • User Load and Requests per second • Average Response time • Peak Response time • Error rate %20 to 115 users in 40 minutes
  • Result: RS peeked at 65 users • User Load and Requests per second • Average Response time • Peak Response time • Error rate %20 to 115 users in 40 minutes
  • While running load tests, what’s happening on the server? Apache is consuming allresources, its actually not the database.
  • Result: EC2 Medium Peeks at 75 users again Random Server Fail – test needs to be restarted20 to 115 users in 40 minutes
  • Result: EC2 Medium Peeks at 75 users again • User Load and Requests per second • Average Response time • Peak Response time • Error rate %20 to 115 users in 40 minutes
  • Result: RS 2G, keeps going at 115 • User Load and Requests per second • Average Response time • Peak Response time • Error rate %20 to 115 users in 40 minutes
  • While running load tests, what’s happening on the server? Apache is consuming allresources, its actually not the database.
  • Questions?andy@promethost.com@akucharski@prometsource