“Load Testing Early and Often” By Donald Doane Presentation to the Rockville MDCFUG.

Slides:



Advertisements
Similar presentations
In Production Juan Marin. Agenda Introduction Reliability Availability Performance Data optimizations Runtime optimizations Measuring your environment.
Advertisements

XIr2 Recommended Performance Tuning Andy Erthal BI Practice Manager.
Performance Testing - Kanwalpreet Singh.
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
Client side performance in Web based Banking applications Divakar Prabhu Infosys Limited (NASDAQ: INFY)
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
Web Caching Schemes1 A Survey of Web Caching Schemes for the Internet Jia Wang.
CSE 190: Internet E-Commerce Lecture 16: Performance.
EEC-484/584 Computer Networks Discussion Session for HTTP and DNS Wenbing Zhao
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
Web, HTTP and Web Caching
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
Capacity planning for web sites. Promoting a web site Thoughts on increasing web site traffic but… Two possible scenarios…
Application Layer  We will learn about protocols by examining popular application-level protocols  HTTP  FTP  SMTP / POP3 / IMAP  Focus on client-server.
Chapter 9 Overview  Reasons to monitor SQL Server  Performance Monitoring and Tuning  Tools for Monitoring SQL Server  Common Monitoring and Tuning.
Module 8: Monitoring SQL Server for Performance. Overview Why to Monitor SQL Server Performance Monitoring and Tuning Tools for Monitoring SQL Server.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Load Test Planning Especially with HP LoadRunner >>>>>>>>>>>>>>>>>>>>>>
File Systems and N/W attached storage (NAS) | VTU NOTES | QUESTION PAPERS | NEWS | VTU RESULTS | FORUM | BOOKSPAR ANDROID APP.
DNN Performance & Scalability Planning, Evaluating & Improving : Part 2.
Introduction Optimizing Application Performance with Pinpoint Accuracy What every IT Executive, Administrator & Developer Needs to Know.
MCTS Guide to Microsoft Windows 7
Performance of Web Applications Introduction One of the success-critical quality characteristics of Web applications is system performance. What.
Building Highly Scalable Websites Karol Jarkovsky Sr. Solution Architect
Global NetWatch Copyright © 2003 Global NetWatch, Inc. Factors Affecting Web Performance Getting Maximum Performance Out Of Your Web Server.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Performance Concepts Mark A. Magumba. Introduction Research done on 1058 correspondents in 2006 found that 75% OF them would not return to a website that.
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Database-Driven Web Sites, Second Edition1 Chapter 5 WEB SERVERS.
Improving Efficiency of I/O Bound Systems More Memory, Better Caching Newer and Faster Disk Drives Set Object Access (SETOBJACC) Reorganize (RGZPFM) w/
1 Computer and Network Bottlenecks Author: Rodger Burgess 27th October 2008 © Copyright reserved.
Orbited Scaling Bi-directional web applications A presentation by Michael Carter
Designing and Deploying a Scalable EPM Solution Ken Toole Platform Test Manager MS Project Microsoft.
1 Maryland ColdFusion User Group Session Management December 2001 Michael Schuler
Installing, Configuring And Troubleshooting Coldfusion Mark A Kruger CFG Ryan Stille CF Webtools.
Learningcomputer.com SQL Server 2008 – Profiling and Monitoring Tools.
Computing Infrastructure for Large Ecommerce Systems -- based on material written by Jacob Lindeman.
Kiew-Hong Chua a.k.a Francis Computer Network Presentation 12/5/00.
CONFIDENTIAL INFORMATION CONTAINED WITHIN 9200 – J2EE Performance Tuning How-to  Michael J. Rozlog  Chief Technical Architect  Borland Software Corporation.
Module 14 Monitoring and Optimizing SharePoint Performance.
Proxy Servers.
ESRI User Conference 2004 ArcSDE. Some Nuggets Setup Performance Distribution Geodatabase History.
Processes CSCI 4534 Chapter 4. Introduction Early computer systems allowed one program to be executed at a time –The program had complete control of the.
Copyright 2007, Information Builders. Slide 1 Machine Sizing and Scalability Mark Nesson, Vashti Ragoonath June 2008.
Virtual Memory Various memory management techniques have been discussed. All these strategies have the same goal: to keep many processes in memory simultaneously.
Infrastructure for Data Warehouses. Basics Of Data Access Data Store Machine Memory Buffer Memory Cache Data Store Buffer Bus Structure.
Why Assumptions about Cloud Performance Can Be Dangerous to Your Business Ron Wilson, Director Cloud Strategy
Performance Testing Test Complete. Performance testing and its sub categories Performance testing is performed, to determine how fast some aspect of a.
1 Copyright © 2005, Oracle. All rights reserved. Following a Tuning Methodology.
Web Cache. What is Cache? Cache is the storing of data temporarily to improve performance. Cache exist in a variety of areas such as your CPU, Hard Disk.
Diagnosing Problems DAD5 © Copyright 2011 Mitchel Sellers – May Not Be Reused without Permission.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
25/09/2016 INASP: Effective Network Management Workshops Unit 6: Solving Network Problems.
Performance Tuning Renegade
Understanding and Improving Server Performance
WWW and HTTP King Fahd University of Petroleum & Minerals
Netscape Application Server
Software Architecture in Practice
MCTS Guide to Microsoft Windows 7
Securing the Network Perimeter with ISA 2004
Web Caching? Web Caching:.
Software Architecture in Practice
Migration Strategies – Business Desktop Deployment (BDD) Overview
Scaling and Performance
ColdFusion Performance Troubleshooting and Tuning
Nate Nelson I*LEVEL, Inc.
Yale Digital Conference 2019
Presentation transcript:

“Load Testing Early and Often” By Donald Doane Presentation to the Rockville MDCFUG

2 Session Overview OpenDemand Systems Introduction to Load Testing Web Applications Testing from Development to Deployment Load Testing Over the LAN vs. the Internet Creating a Real-World Example in ColdFusion Load Testing Best Practices Identifying Common Performance Bottlenecks ColdFusion Performance Tuning Hints and Tips Questions & Answers

3 The ColdFacts OpenDemand Systems Most developers are familiar with the “concept” of load testing, but very few actually do it! Most common reasons for not testing are Time, Complexity & Cost ($$$ can be very expensive) Most sites run into performance problems with only a few users (you don’t have to be Victoria’s Secret) Most performance problems are discovered too late in the game to properly address the issues

4 What is a Load Test? OpenDemand Systems Simulates multiple users to measure, define, validate and maintain optimal application performance, scalability and reliability Serves as a compass for understanding the limits of any Web-enabled application and, subsequently, for managing its performance and growth

5 Why Load Test from Development to Deployment? OpenDemand Systems  Identifies problems early on before they become costly to resolve (avoid the pyramid effect)  Prevents the “Onion-Peel” syndrome  Reduces development cycles  Produces better quality, more scalable code  Prevents revenue and credibility loss due to poor Web site performance  Increases customer satisfaction and retention  Enables intelligent planning for future expansion

6 What does it mean for your site to perform or scale well? OpenDemand Systems Delivers page views to users in 8 seconds or less (industry standard) Performs consistently across multiple page view requests (avoid the wack-o- mole effect) Response times scale linearly as user load increases as opposed to exponentially

7 Virtual User Simulation OpenDemand Systems One-to-many relationship between user and browser requests Browser opens multiple concurrent connections to Web server HTTP Request-Response Thread: GET / HTTP/1.1 Host: HTTP/ OK Content-Length: 327 Content-type: text/html [BODY]

8 OpenDemand Systems Your Browser Your Web Site/App Virtual Users Virtual Users OpenLoad Appliance Virtual Users

9 Load Testing over the LAN vs. the Internet OpenDemand Systems LAN Testing:  Eliminates network variability due to the Internet  Saturates system rather than the network Internet Testing:  Uncovers hidden delays due to Internet weather  Exercises your pipe, routers, firewalls and load balancers in addition to the system under test  Ensures Service Providers are meeting SLAs

10 Load Testing Do’s OpenDemand Systems  Do test early and do test often  Do establish what is and is not acceptable performance for your application  Do test from the user’s perspective - it’s the only one that counts  Do baseline and compare your findings  Do monitor your system while you test  Do test whenever there’s a change in your site’s content, code or infrastructure

11 Load Testing Don’ts OpenDemand Systems  Don’t wait until the last minute to test  Don’t depend on your customers to do your testing for you  Don’t test under unrealistic conditions  Don’t forget that increases in table sizes, disk usage and network traffic will degrade your application’s performance over time  Don’t be so quick to throw hardware at the problems you turn up - it doesn’t always help

12 Creating a Real-World Example in ColdFusion OpenDemand Systems Customer Case Study:  Set up a User Profile  Configure a Load Test Scenario  Schedule a Load Test  Analyze Test Results

13 OpenDemand Systems

14 OpenDemand Systems

15 OpenDemand Systems

16 OpenDemand Systems

17 OpenDemand Systems

18 OpenDemand Systems

19 OpenDemand Systems

20 OpenDemand Systems

21 OpenDemand Systems

22 OpenDemand Systems

23 OpenDemand Systems

24 OpenDemand Systems

25 OpenDemand Systems

26 OpenDemand Systems

27 OpenDemand Systems

28 OpenDemand Systems

29 OpenDemand Systems

30 OpenDemand Systems

31 OpenDemand Systems

32 Identifying Common Performance Bottlenecks OpenDemand Systems  Over design of Web pages (too many graphics)  Bad code (avoid recursive function calls)  Web server connection limit too low (IIS is set to 10 by default)  Poorly tuned Web application server (play with your Administration Server Settings)  Excessive queue lengths (more than one) & wait times (more than a few milliseconds)  Memory contention issues (paging in)  Heavy disk I/O (high service times)  Network latency (packet collisions & lost)

33 Performance Tuning Hints & Tips OpenDemand Systems  Observe design & coding best practices (Fusebox)  Pre-load images before they are needed  Validate on the client whenever possible (JavaScript or ActionScript)  Strip formatting white space, tabs, carriage returns and line feeds from HTML (speeds up response)  Upgrade to CF5 (Up to 5x faster than CF4.5)  Tune simultaneous requests per CPU (cfstat)  Turn on “Trusted Cache” & increase cache size  Restart server at 5-10 unresponsive requests

34 Performance Tuning Hints & Tips Cont’d OpenDemand Systems  Log slow pages (remember 8-second rule)  Enable Debugging (check processing time)  Replace frequently referenced Custom Tags with User Defined Functions (less overhead)  Bump up your cached query limit (if you can spare the memory)  Let ColdFusion work smarter and your Database work harder (write smart SQL - don’t do SELECT *)  Use stored procedures for faster execution

35 Test your app for FREE OpenDemand Systems  Register at  Test for up to 5 virtual users for FREE!  Try-out performance tuning tips  Test again and compare results to your baseline

36 OpenDemand Systems Q&A