SlideShare una empresa de Scribd logo
1 de 16
Descargar para leer sin conexión
Creating Effective Load Models
                    for Performance Testing with
                      Incomplete Empirical Data
                                         Updated for the:
                 3rd World Congress for Software Quality
                             September, 2005 Munich, Germany


                            Initial Research Presented for the:
    6th IEEE International Workshop on Web Site Evolution
                                 September, 2004 Chicago, IL

                                    Scott Barber
                              Chief Technology Officer
                                 PerfTestPlus, Inc.
   www.PerfTestPlus.com              Creating Effective Load Models with   Page 1
© 2005 PerfTestPlus All rights reserved. Incomplete Empirical Data
Common Modeling Techniques…
Tend to fall into one of two categories:
Rigorous
     –   Time consuming
     –   Mathematically intensive and/or complex
     –   High degree of accuracy (when done well)
     –   Requires empirical data
Overly Simplistic
     –   Quick
     –   Little to no math needed
     –   Occasionally accurate (generally by accident)
     –   Ignores empirical data
There is very little in between to assist the modeler in industry
  that desires rigor, but barely has time for simplistic!

    www.PerfTestPlus.com            Creating Effective Load Models with   Page 2
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Rigorous Techniques
Connie U. Smith, PhD. - Performance Solutions: A Practical
  Guide to Creating Responsible, Scalable Software [1]
Alberto Savoia - “Web Load Test Planning: Predicting how
  your Web site will respond to stress" [2]
Daniel Menasce, PhD. – Capacity Planning for Web
  Performance: Metrics, Models and Methods [3] & Scaling for
  E-Business [4]
J.D. Meier - Improving .NET Application Performance and
  Scalability [5]



**All Require Empirical Data

     www.PerfTestPlus.com            Creating Effective Load Models with   Page 3
                                           Incomplete Empirical Data
 © 2005 PerfTestPlus All rights reserved.
Performance Solutions…
“Software Performance Engineering (SPE) Approach” to Building Usage
   Models:

“SPE is a comprehensive way of managing performance that
  includes principles for creating responsive software,
  performance patterns and antipatterns for performance-
  oriented design, techniques for eliciting performance
  objectives, techniques for gathering the data needed for
  evaluation, and guidelines for the types of evaluation to be
  performed at each stage of the development process.

“SPE is model-based… By building and analyzing models of
  the proposed software, we can explore its characteristics to
  determine if it will meet its requirements before we actually
  commit to building it”. [6]


    www.PerfTestPlus.com            Creating Effective Load Models with   Page 4
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Performance Solutions…
“Performance testing is vital to confirm that the software’s performance
   actually meets its performance objective, and that the models are
   representative of the software’s behavior”. [7]

To elaborate on Smith's statement:
• Performance testing is vital because models are not perfect.
• Validation of the model’s predictions via testing ensures the model
   matches the implementation.
• SPE model predictions are only validated accurate load models.
• Chapter 3 details how to model application usage in terms of
   performance with UML, BUT
• There is no discussion about how to determine or estimate actual
   usage of the application under test.

Conclusion: With no empirical (i.e. actual usage) data, SPE models
  cannot be validated.

    www.PerfTestPlus.com            Creating Effective Load Models with   Page 5
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
“Web Load Test Planning…”
“Website Usage Signature (WUS) Approach” to Building Usage Models:

“In order to be worth anything, I believe that Web site load tests should
    reproduce the anticipated loads as accurately and realistically as
    possible. In order to do that you will need to study previous load
    patterns and design test scenarios that closely recreate them... ”. [8]

Savoia expands, saying:
• The preferred method of determining actual load and load patterns is
  accomplished by analyzing log files from the existing version of the
  application.
• In the absence of relevant log files…[generate] log files via use of a
  limited beta release of the application to a representative sampling of
  users

Conclusion: With no empirical (i.e. actual usage) data from previous
  versions or limited releases, WUS is not applicable.


    www.PerfTestPlus.com            Creating Effective Load Models with   Page 6
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Scaling… & Capacity Planning…
“Capacity Planning Approach” to Building Usage Models:

In Scaling…[9] Menascé advocates:
• WUS-like usage models
• SPE-like architectural models
• Forecasting mathematically from these

In Capacity Planning…[10] Menascé discusses:
• Methods for generating models for performance testing and capacity
   planning when actual usage data isn’t available.
• Though these methods are based in mathematical concepts that few
   practicing performance testers are skilled in.

Conclusion: With no empirical (i.e. actual usage) data the methods in
  Scaling… are not applicable and the mathematics involved with the
  methods in Capacity Planning… make them unusable in much of
  industry.


    www.PerfTestPlus.com            Creating Effective Load Models with   Page 7
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Improving .NET…
“End-to-End Approach” to Building Usage Models:

“You can determine patterns and call frequency by using
  either the predicted usage of your application based on
  market analysis, or if your application is already in
  production, by analyzing server log files. Some important
  questions to help you determine the workload for your
  application include:
     –   What are your key scenarios?...
     –   What is the possible set of actions that a user can perform?...
     –   …
     –   What is the duration for which the test needs to be executed?...” [11]

Conclusion: Each question is explained and has examples,
  but how to collect the data is not addressed, making the
  method unreliable without empirical data.

    www.PerfTestPlus.com            Creating Effective Load Models with   Page 8
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
State-of-the-Practice

In Practice:
      –   Empirical Data is Uncommon
      –   Complex Math Skills are Rare
      –   Time is not a Luxury we have
      –   The Highest Volume is Often on “Go-Live Day”
      –   Few Modeling Tools and Methods are Easily Available
      –   Most Usage Models are little more than “Semi-
          Educated” Guesses




    www.PerfTestPlus.com            Creating Effective Load Models with   Page 9
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
State-of-the-Practice
“State-of-the-Practice Approaches” to Building Usage Models:


Common Approaches in Industry:
      –     Evaluation of use cases and design documents.
      –     Information from a key stakeholder (i.e. an interview).
      –     Observe user acceptance and/or usability testing.
      –     Evaluate similar sites and generic web usage data.
      –     Personal use and experience.

Which lead to:
      –     Low confidence in predicting performance under actual usage.
      –     High likelihood of undetected performance issues in production.
      –     Little or no validation of the load testing model.
      –     A propensity for accepting load generation tool limitations.



    www.PerfTestPlus.com            Creating Effective Load Models with   Page 10
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Hybrid Approach
Based on the experiences of 13 expert consultants… [12], [13]
      –     Start with available production data from existing versions of the app.
      –     Where there is no empirical usage data, start with interviews and
            documentation.
      –     Collect data from a limited beta roll-out whenever possible.
      –     Compare/supplement data with generic or competitive data.
      –     Develop and distribute for review one or more draft load models.
      –     Run simple in house usage experiments/surveys.
      –     Enhance the model based on experiments and common sense.
      –     Create best, expected and worst case models based on the
            distribution of usage data collected.
      –     Develop programs and or scripts to implement the model(s).



    www.PerfTestPlus.com            Creating Effective Load Models with   Page 11
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Hybrid Approach
Roughly a dozen “blind” field tests suggest that… [14],[15],[16],[17]
      –     The SPE, Capacity Planning, WUS, End-to-End and Hybrid
            approaches:
            •      Are statistically equivalent when followed precisely.
            •      Make predictions with acceptable and explainable degrees of error.
            •      Are relatively easy to enhance to accurately predict production.
      –     State-of-the-Practice approaches:
            •      Do work sometimes, but often yield critically misleading predictions.
            •      Are not enhanced or reused after the initial predictions are made.
            •      As often as not, lead to poor business decisions.
      –     WUS, End-to-End and Hybrid approaches:
            •      Are roughly equivalent in terms of time and difficulty to conduct.
            •      Result in nearly identical predictions for applications with feature
                  additions.
            •      Do not require significant training to implement.
      –     Business Users, Managers, Testers and Developers preferred the
            pictorial documentation of the Hybrid approach more than 10 to 1
            over documentation methods recommended by the other
            approaches.
    www.PerfTestPlus.com            Creating Effective Load Models with             Page 12
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Summary
SPE, Capacity Planning, WUS, End-to-End and Hybrid approaches to
   developing usage models typically yield “good enough” predictions.

State-of-the-Practice approaches to developing usage models typically yield
     “unreliable” predictions.

SPE and Capacity Planning approaches to developing usage models are
   rarely applicable in industry.

WUS, End-to-End and Hybrid approaches to developing usage models are
   generally viable typically for industry use.

The Hybrid approach is an acceptable and more accurate alternative to
    State-of-the-Practice approaches to developing usage models when
    empirical data is not available.



    www.PerfTestPlus.com            Creating Effective Load Models with   Page 13
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
References
1.      Smith, Connie U.; Williams, Lloyd G. (2002), Performance Solutions: A Practical Guide to Creating
        Responsible, Scalable Software, Pearson Education, Inc.
2.      Savoia, Alberto (2001) “Web Load Test Planning: Predicting how your Web site will respond to stress”,
        STQE Magazine.
3.      Menascé, Daniel A.; Almeida, Virgilio A.F. (1998), Capacity Planning for Web Performance: Metrics,
        Models and Methods, Prentice Hall PTR.
4.      Menascé, Daniel A.; Almeida, Virgilio A.F. (2000), Scaling for E-Business: Technologies, Models,
        Performance and Capacity Planning, Prentice Hall PTR.
5.      Meier, J.D.; Vasireddy, Srinath; Babbar, Ashish; Mackman, Alex (2004) “Improving .NET Application
        Performance and Scalability”, http://msdn.microsoft.com/library/default.asp?url=/library/en-
        us/dnpag/html/scalenet.asp, last accessed June 7, 2004
6.      Smith, 2002
7.      Smith, 2002
8.      Savoia, 2001
9.      Menascé, 1988
10.     Menascé, 2000
11.     Meier, 2004
12.     Barber, Scott (2002), “User Experience, not Metrics”, Rational Developer Network
13.     Barber, Scott (2003), “Beyond Performance Testing”, Rational Developer Network
14.     Tani, Steve, “In search of Data/Case studies #2”, 6/27/2004, via e-mail
15.     White, Nathan, “Tool for Overall Workload Distribution Figure”, 9/19/2002, via e-mail
16.     Rodgers, Nigel, “UCML”, 6/16/2004, via e-mail
17.     Warren, Brian, Ceridian, “UCML 1.1 Visio stencils”, 6/9/2004, via e-mail




      www.PerfTestPlus.com          Creating Effective Load Models with                          Page 14
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Questions




    www.PerfTestPlus.com            Creating Effective Load Models with   Page 15
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.
Contact Information

                                           Scott Barber
                              Chief Technology Officer
                                           PerfTestPlus, Inc


E-mail:                                                            Web Site:
sbarber@perftestplus.com                                           www.PerfTestPlus.com



    www.PerfTestPlus.com            Creating Effective Load Models with           Page 16
                                          Incomplete Empirical Data
© 2005 PerfTestPlus All rights reserved.

Más contenido relacionado

Similar a Load models ppt

Machine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionMachine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionSplunk
 
Productionizing Predictive Analytics using the Rendezvous Architecture - for ...
Productionizing Predictive Analytics using the Rendezvous Architecture - for ...Productionizing Predictive Analytics using the Rendezvous Architecture - for ...
Productionizing Predictive Analytics using the Rendezvous Architecture - for ...danielschulz2005
 
Enterprise performance engineering solutions
Enterprise performance engineering solutionsEnterprise performance engineering solutions
Enterprise performance engineering solutionsInfosys
 
Il paradigma DevOps e Continuous Delivery Automation
Il paradigma DevOps e Continuous Delivery Automation Il paradigma DevOps e Continuous Delivery Automation
Il paradigma DevOps e Continuous Delivery Automation HP Enterprise Italia
 
Chapter 2_Process Models sunorgamisedASE_finalised.ppt
Chapter 2_Process Models sunorgamisedASE_finalised.pptChapter 2_Process Models sunorgamisedASE_finalised.ppt
Chapter 2_Process Models sunorgamisedASE_finalised.pptBule Hora University
 
Primer on application_performance_modelling_v0.1
Primer on application_performance_modelling_v0.1Primer on application_performance_modelling_v0.1
Primer on application_performance_modelling_v0.1Trevor Warren
 
Machine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionMachine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionSplunk
 
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...Robert Grossman
 
Cloud Migration - The Earlier You Instrument, The Faster You Go
Cloud Migration - The Earlier You Instrument, The Faster You GoCloud Migration - The Earlier You Instrument, The Faster You Go
Cloud Migration - The Earlier You Instrument, The Faster You GoKevin Downs
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing EssayDani Cox
 
Machine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionMachine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionSplunk
 
WE-06-Testing.ppt
WE-06-Testing.pptWE-06-Testing.ppt
WE-06-Testing.pptjaved281701
 
Ml ops intro session
Ml ops   intro sessionMl ops   intro session
Ml ops intro sessionAvinash Patil
 
SOLIDWORKS reseller Whitepaper by Promedia Systems
SOLIDWORKS reseller Whitepaper by Promedia Systems SOLIDWORKS reseller Whitepaper by Promedia Systems
SOLIDWORKS reseller Whitepaper by Promedia Systems Cavien Clever
 

Similar a Load models ppt (20)

Machine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionMachine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout Session
 
Productionizing Predictive Analytics using the Rendezvous Architecture - for ...
Productionizing Predictive Analytics using the Rendezvous Architecture - for ...Productionizing Predictive Analytics using the Rendezvous Architecture - for ...
Productionizing Predictive Analytics using the Rendezvous Architecture - for ...
 
Enterprise performance engineering solutions
Enterprise performance engineering solutionsEnterprise performance engineering solutions
Enterprise performance engineering solutions
 
Data Architecture Success Stories
Data Architecture Success StoriesData Architecture Success Stories
Data Architecture Success Stories
 
CV_Mike Yan
CV_Mike YanCV_Mike Yan
CV_Mike Yan
 
Il paradigma DevOps e Continuous Delivery Automation
Il paradigma DevOps e Continuous Delivery Automation Il paradigma DevOps e Continuous Delivery Automation
Il paradigma DevOps e Continuous Delivery Automation
 
Chapter 2_Process Models sunorgamisedASE_finalised.ppt
Chapter 2_Process Models sunorgamisedASE_finalised.pptChapter 2_Process Models sunorgamisedASE_finalised.ppt
Chapter 2_Process Models sunorgamisedASE_finalised.ppt
 
Primer on application_performance_modelling_v0.1
Primer on application_performance_modelling_v0.1Primer on application_performance_modelling_v0.1
Primer on application_performance_modelling_v0.1
 
Machine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionMachine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout Session
 
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
AnalyticOps: Lessons Learned Moving Machine-Learning Algorithms to Production...
 
Cloud Migration - The Earlier You Instrument, The Faster You Go
Cloud Migration - The Earlier You Instrument, The Faster You GoCloud Migration - The Earlier You Instrument, The Faster You Go
Cloud Migration - The Earlier You Instrument, The Faster You Go
 
Unit Testing Essay
Unit Testing EssayUnit Testing Essay
Unit Testing Essay
 
Machine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout SessionMachine Learning and Analytics Breakout Session
Machine Learning and Analytics Breakout Session
 
B Fn As
B Fn AsB Fn As
B Fn As
 
WE-06-Testing.ppt
WE-06-Testing.pptWE-06-Testing.ppt
WE-06-Testing.ppt
 
Ijetcas14 413
Ijetcas14 413Ijetcas14 413
Ijetcas14 413
 
JAMAL_RESUME
JAMAL_RESUMEJAMAL_RESUME
JAMAL_RESUME
 
JAMAL_RESUME
JAMAL_RESUMEJAMAL_RESUME
JAMAL_RESUME
 
Ml ops intro session
Ml ops   intro sessionMl ops   intro session
Ml ops intro session
 
SOLIDWORKS reseller Whitepaper by Promedia Systems
SOLIDWORKS reseller Whitepaper by Promedia Systems SOLIDWORKS reseller Whitepaper by Promedia Systems
SOLIDWORKS reseller Whitepaper by Promedia Systems
 

Último

How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataBabyAnnMotar
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...DhatriParmar
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQuiz Club NITW
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Developmentchesterberbo7
 

Último (20)

How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Measures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped dataMeasures of Position DECILES for ungrouped data
Measures of Position DECILES for ungrouped data
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
Beauty Amidst the Bytes_ Unearthing Unexpected Advantages of the Digital Wast...
 
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITWQ-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
Q-Factor HISPOL Quiz-6th April 2024, Quiz Club NITW
 
Using Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea DevelopmentUsing Grammatical Signals Suitable to Patterns of Idea Development
Using Grammatical Signals Suitable to Patterns of Idea Development
 

Load models ppt

  • 1. Creating Effective Load Models for Performance Testing with Incomplete Empirical Data Updated for the: 3rd World Congress for Software Quality September, 2005 Munich, Germany Initial Research Presented for the: 6th IEEE International Workshop on Web Site Evolution September, 2004 Chicago, IL Scott Barber Chief Technology Officer PerfTestPlus, Inc. www.PerfTestPlus.com Creating Effective Load Models with Page 1 © 2005 PerfTestPlus All rights reserved. Incomplete Empirical Data
  • 2. Common Modeling Techniques… Tend to fall into one of two categories: Rigorous – Time consuming – Mathematically intensive and/or complex – High degree of accuracy (when done well) – Requires empirical data Overly Simplistic – Quick – Little to no math needed – Occasionally accurate (generally by accident) – Ignores empirical data There is very little in between to assist the modeler in industry that desires rigor, but barely has time for simplistic! www.PerfTestPlus.com Creating Effective Load Models with Page 2 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 3. Rigorous Techniques Connie U. Smith, PhD. - Performance Solutions: A Practical Guide to Creating Responsible, Scalable Software [1] Alberto Savoia - “Web Load Test Planning: Predicting how your Web site will respond to stress" [2] Daniel Menasce, PhD. – Capacity Planning for Web Performance: Metrics, Models and Methods [3] & Scaling for E-Business [4] J.D. Meier - Improving .NET Application Performance and Scalability [5] **All Require Empirical Data www.PerfTestPlus.com Creating Effective Load Models with Page 3 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 4. Performance Solutions… “Software Performance Engineering (SPE) Approach” to Building Usage Models: “SPE is a comprehensive way of managing performance that includes principles for creating responsive software, performance patterns and antipatterns for performance- oriented design, techniques for eliciting performance objectives, techniques for gathering the data needed for evaluation, and guidelines for the types of evaluation to be performed at each stage of the development process. “SPE is model-based… By building and analyzing models of the proposed software, we can explore its characteristics to determine if it will meet its requirements before we actually commit to building it”. [6] www.PerfTestPlus.com Creating Effective Load Models with Page 4 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 5. Performance Solutions… “Performance testing is vital to confirm that the software’s performance actually meets its performance objective, and that the models are representative of the software’s behavior”. [7] To elaborate on Smith's statement: • Performance testing is vital because models are not perfect. • Validation of the model’s predictions via testing ensures the model matches the implementation. • SPE model predictions are only validated accurate load models. • Chapter 3 details how to model application usage in terms of performance with UML, BUT • There is no discussion about how to determine or estimate actual usage of the application under test. Conclusion: With no empirical (i.e. actual usage) data, SPE models cannot be validated. www.PerfTestPlus.com Creating Effective Load Models with Page 5 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 6. “Web Load Test Planning…” “Website Usage Signature (WUS) Approach” to Building Usage Models: “In order to be worth anything, I believe that Web site load tests should reproduce the anticipated loads as accurately and realistically as possible. In order to do that you will need to study previous load patterns and design test scenarios that closely recreate them... ”. [8] Savoia expands, saying: • The preferred method of determining actual load and load patterns is accomplished by analyzing log files from the existing version of the application. • In the absence of relevant log files…[generate] log files via use of a limited beta release of the application to a representative sampling of users Conclusion: With no empirical (i.e. actual usage) data from previous versions or limited releases, WUS is not applicable. www.PerfTestPlus.com Creating Effective Load Models with Page 6 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 7. Scaling… & Capacity Planning… “Capacity Planning Approach” to Building Usage Models: In Scaling…[9] Menascé advocates: • WUS-like usage models • SPE-like architectural models • Forecasting mathematically from these In Capacity Planning…[10] Menascé discusses: • Methods for generating models for performance testing and capacity planning when actual usage data isn’t available. • Though these methods are based in mathematical concepts that few practicing performance testers are skilled in. Conclusion: With no empirical (i.e. actual usage) data the methods in Scaling… are not applicable and the mathematics involved with the methods in Capacity Planning… make them unusable in much of industry. www.PerfTestPlus.com Creating Effective Load Models with Page 7 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 8. Improving .NET… “End-to-End Approach” to Building Usage Models: “You can determine patterns and call frequency by using either the predicted usage of your application based on market analysis, or if your application is already in production, by analyzing server log files. Some important questions to help you determine the workload for your application include: – What are your key scenarios?... – What is the possible set of actions that a user can perform?... – … – What is the duration for which the test needs to be executed?...” [11] Conclusion: Each question is explained and has examples, but how to collect the data is not addressed, making the method unreliable without empirical data. www.PerfTestPlus.com Creating Effective Load Models with Page 8 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 9. State-of-the-Practice In Practice: – Empirical Data is Uncommon – Complex Math Skills are Rare – Time is not a Luxury we have – The Highest Volume is Often on “Go-Live Day” – Few Modeling Tools and Methods are Easily Available – Most Usage Models are little more than “Semi- Educated” Guesses www.PerfTestPlus.com Creating Effective Load Models with Page 9 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 10. State-of-the-Practice “State-of-the-Practice Approaches” to Building Usage Models: Common Approaches in Industry: – Evaluation of use cases and design documents. – Information from a key stakeholder (i.e. an interview). – Observe user acceptance and/or usability testing. – Evaluate similar sites and generic web usage data. – Personal use and experience. Which lead to: – Low confidence in predicting performance under actual usage. – High likelihood of undetected performance issues in production. – Little or no validation of the load testing model. – A propensity for accepting load generation tool limitations. www.PerfTestPlus.com Creating Effective Load Models with Page 10 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 11. Hybrid Approach Based on the experiences of 13 expert consultants… [12], [13] – Start with available production data from existing versions of the app. – Where there is no empirical usage data, start with interviews and documentation. – Collect data from a limited beta roll-out whenever possible. – Compare/supplement data with generic or competitive data. – Develop and distribute for review one or more draft load models. – Run simple in house usage experiments/surveys. – Enhance the model based on experiments and common sense. – Create best, expected and worst case models based on the distribution of usage data collected. – Develop programs and or scripts to implement the model(s). www.PerfTestPlus.com Creating Effective Load Models with Page 11 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 12. Hybrid Approach Roughly a dozen “blind” field tests suggest that… [14],[15],[16],[17] – The SPE, Capacity Planning, WUS, End-to-End and Hybrid approaches: • Are statistically equivalent when followed precisely. • Make predictions with acceptable and explainable degrees of error. • Are relatively easy to enhance to accurately predict production. – State-of-the-Practice approaches: • Do work sometimes, but often yield critically misleading predictions. • Are not enhanced or reused after the initial predictions are made. • As often as not, lead to poor business decisions. – WUS, End-to-End and Hybrid approaches: • Are roughly equivalent in terms of time and difficulty to conduct. • Result in nearly identical predictions for applications with feature additions. • Do not require significant training to implement. – Business Users, Managers, Testers and Developers preferred the pictorial documentation of the Hybrid approach more than 10 to 1 over documentation methods recommended by the other approaches. www.PerfTestPlus.com Creating Effective Load Models with Page 12 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 13. Summary SPE, Capacity Planning, WUS, End-to-End and Hybrid approaches to developing usage models typically yield “good enough” predictions. State-of-the-Practice approaches to developing usage models typically yield “unreliable” predictions. SPE and Capacity Planning approaches to developing usage models are rarely applicable in industry. WUS, End-to-End and Hybrid approaches to developing usage models are generally viable typically for industry use. The Hybrid approach is an acceptable and more accurate alternative to State-of-the-Practice approaches to developing usage models when empirical data is not available. www.PerfTestPlus.com Creating Effective Load Models with Page 13 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 14. References 1. Smith, Connie U.; Williams, Lloyd G. (2002), Performance Solutions: A Practical Guide to Creating Responsible, Scalable Software, Pearson Education, Inc. 2. Savoia, Alberto (2001) “Web Load Test Planning: Predicting how your Web site will respond to stress”, STQE Magazine. 3. Menascé, Daniel A.; Almeida, Virgilio A.F. (1998), Capacity Planning for Web Performance: Metrics, Models and Methods, Prentice Hall PTR. 4. Menascé, Daniel A.; Almeida, Virgilio A.F. (2000), Scaling for E-Business: Technologies, Models, Performance and Capacity Planning, Prentice Hall PTR. 5. Meier, J.D.; Vasireddy, Srinath; Babbar, Ashish; Mackman, Alex (2004) “Improving .NET Application Performance and Scalability”, http://msdn.microsoft.com/library/default.asp?url=/library/en- us/dnpag/html/scalenet.asp, last accessed June 7, 2004 6. Smith, 2002 7. Smith, 2002 8. Savoia, 2001 9. Menascé, 1988 10. Menascé, 2000 11. Meier, 2004 12. Barber, Scott (2002), “User Experience, not Metrics”, Rational Developer Network 13. Barber, Scott (2003), “Beyond Performance Testing”, Rational Developer Network 14. Tani, Steve, “In search of Data/Case studies #2”, 6/27/2004, via e-mail 15. White, Nathan, “Tool for Overall Workload Distribution Figure”, 9/19/2002, via e-mail 16. Rodgers, Nigel, “UCML”, 6/16/2004, via e-mail 17. Warren, Brian, Ceridian, “UCML 1.1 Visio stencils”, 6/9/2004, via e-mail www.PerfTestPlus.com Creating Effective Load Models with Page 14 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 15. Questions www.PerfTestPlus.com Creating Effective Load Models with Page 15 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.
  • 16. Contact Information Scott Barber Chief Technology Officer PerfTestPlus, Inc E-mail: Web Site: sbarber@perftestplus.com www.PerfTestPlus.com www.PerfTestPlus.com Creating Effective Load Models with Page 16 Incomplete Empirical Data © 2005 PerfTestPlus All rights reserved.