Home > Store

Foundations of Software and System Performance Engineering: Process, Performance Modeling, Requirements, Testing, Scalability, and Practice

Register your product to gain access to bonus material or receive a coupon.

Foundations of Software and System Performance Engineering: Process, Performance Modeling, Requirements, Testing, Scalability, and Practice

Best Value Purchase

Book + eBook Bundle

  • Your Price: $68.79
  • List Price: $112.98
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.

More Purchase Options


  • Your Price: $51.99
  • List Price: $64.99
  • Usually ships in 24 hours.

eBook (Watermarked)

  • Your Price: $38.39
  • List Price: $47.99
  • Includes EPUB and PDF
  • About eBook Formats
  • This eBook includes the following formats, accessible from your Account page after purchase:

    ePub EPUB The open industry format known for its reflowable content and usability on supported mobile devices.

    Adobe Reader PDF The popular standard, used most often with the free Acrobat® Reader® software.

    This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.



  • Focuses on the #1 cause of software project failure or cancellation: poor performance
  • Covers the entire software lifecycle: requirements formulation, architecture specification, design, and functional and performance testing
  • Introduces best practices for writing performance requirements, and linking downstream decisions to them
  • Reflects the author's unsurpassed experience as both a practitioner and researcher, in environments including Siemens, AT and T Labs, and Bell Laboratories


  • Copyright 2015
  • Dimensions: 7" x 9-1/8"
  • Pages: 448
  • Edition: 1st
  • Book
  • ISBN-10: 0-321-83382-1
  • ISBN-13: 978-0-321-83382-2

“If this book had been available to Healthcare.gov’s contractors, and they read and followed its life cycle performance processes, there would not have been the enormous problems apparent in that application. In my 40+ years of experience in building leading-edge products, poor performance is the single most frequent cause of the failure or cancellation of software-intensive projects. This book provides techniques and skills necessary to implement performance engineering at the beginning of a project and manage it throughout the product’s life cycle. I cannot recommend it highly enough.”

Don Shafer, CSDP, Technical Fellow, Athens Group, LLC

Poor performance is a frequent cause of software project failure. Performance engineering can be extremely challenging. In Foundations of Software and SystemPerformance Engineering, leading software performance expert Dr. André Bondi helps you create effective performance requirements up front, and then architect, develop, test, and deliver systems that meet them.

Drawing on many years of experience at Siemens, AT&T Labs, Bell Laboratories, and two startups, Bondi offers practical guidance for every software stakeholder and development team participant. He shows you how to define and use metrics; plan for diverse workloads; evaluate scalability, capacity, and responsiveness; and test both individual components and entire systems. Throughout, Bondi helps you link performance engineering with everything else you do in the software life cycle, so you can achieve the right performance–now and in the future–at lower cost and with less pain.

This guide will help you

• Mitigate the business and engineering risk associated with poor system performance

• Specify system performance requirements in business and engineering terms

• Identify metrics for comparing performance requirements with actual performance

• Verify the accuracy of measurements

• Use simple mathematical models to make predictions, plan performance tests, and anticipate the impact of changes to the system or the load placed upon it

• Avoid common performance and scalability mistakes

• Clarify business and engineering needs to be satisfied by given levels of throughput and response time

• Incorporate performance engineering into agile processes

• Help stakeholders of a system make better performance-related decisions

• Manage stakeholders’ expectations about system performance throughout the software life cycle, and deliver a software product with quality performance

André B. Bondi is a senior staff engineer at Siemens Corp., Corporate Technologies in Princeton, New Jersey. His specialties include performance requirements, performance analysis, modeling, simulation, and testing. Bondi has applied his industrial and academic experience to the solution of performance issues in many problem domains. In addition to holding a doctorate in computer science and a master’s in statistics, he is a Certified Scrum Master.

Sample Content

Online Sample Chapter

Why Performance Engineering? Why Performance Engineers?


Preface to Foundations of Software and System Performance Engineering: Process, Performance Modeling, Requirements, Testing, Scalability, and Practice

Sample Pages

Download the sample pages (includes Chapter 1 and Index)

Table of Contents

Preface xxiii

Acknowledgments xxix

About the Author xxxi

Chapter 1: Why Performance Engineering? Why Performance Engineers? 1

1.1 Overview 1

1.2 The Role of Performance Requirements in Performance Engineering 4

1.3 Examples of Issues Addressed by Performance Engineering Methods 5

1.4 Business and Process Aspects of Performance Engineering 6

1.5 Disciplines and Techniques Used in Performance Engineering 8

1.6 Performance Modeling, Measurement, and Testing 10

1.7 Roles and Activities of a Performance Engineer 11

1.8 Interactions and Dependencies between Performance Engineering and Other Activities 13

1.9 A Road Map through the Book 15

1.10 Summary 17

Chapter 2: Performance Metrics 19

2.1 General 19

2.2 Examples of Performance Metrics 23

2.3 Useful Properties of Performance Metrics 24

2.4 Performance Metrics in Different Domains 26

2.5 Examples of Explicit and Implicit Metrics 32

2.6 Time Scale Granularity of Metrics 32

2.7 Performance Metrics for Systems with Transient, Bounded Loads 33

2.8 Summary 35

2.9 Exercises 35

Chapter 3: Basic Performance Analysis 37

3.1 How Performance Models Inform Us about Systems 37

3.2 Queues in Computer Systems and in Daily Life 38

3.3 Causes of Queueing 39

3.4 Characterizing the Performance of a Queue 42

3.5 Basic Performance Laws: Utilization Law, Little’s Law 45

3.6 A Single-Server Queue 49

3.7 Networks of Queues: Introduction and Elementary Performance Properties 52

3.8 Open and Closed Queueing Network Models 58

3.9 Bottleneck Analysis for Single-Class Closed Queueing Networks 63

3.10 Regularity Conditions for Computationally Tractable Queueing Network Models 68

3.11 Mean Value Analysis of Single-Class Closed Queueing Network Models 69

3.12 Multiple-Class Queueing Networks 71

3.13 Finite Pool Sizes, Lost Calls, and Other Lost Work 75

3.14 Using Models for Performance Prediction 77

3.15 Limitations and Applicability of Simple Queueing Network Models 78

3.16 Linkage between Performance Models, Performance Requirements, and Performance Test Results 79

3.17 Applications of Basic Performance Laws to Capacity Planning and Performance Testing 80

3.18 Summary 80

3.19 Exercises 81

Chapter 4: Workload Identification and Characterization 85

4.1 Workload Identification 85

4.2 Reference Workloads for a System in Different Environments 87

4.3 Time-Varying Behavior 89

4.4 Mapping Application Domains to Computer System Workloads 91

4.5 Numerical Specification of the Workloads 95

4.6 Numerical Illustrations 99

4.7 Summary 103

4.8 Exercises 103

Chapter 5: From Workloads to Business Aspects of Performance Requirements 105

5.1 Overview 105

5.2 Performance Requirements and Product Management 106

5.3 Performance Requirements and the Software Lifecycle 111

5.4 Performance Requirements and the Mitigation of Business Risk 112

5.5 Commercial Considerations and Performance Requirements 114

5.6 Guidelines for Specifying Performance Requirements 116

5.7 Summary 122

5.8 Exercises 123

Chapter 6: Qualitative and Quantitative Types of Performance Requirements 125

6.1 Qualitative Attributes Related to System Performance 126

6.2 The Concept of Sustainable Load 127

6.3 Formulation of Response Time Requirements 128

6.4 Formulation of Throughput Requirements 130

6.5 Derived and Implicit Performance Requirements 131

6.6 Performance Requirements Related to Transaction Failure Rates, Lost Calls, and Lost Packets 134

6.7 Performance Requirements Concerning Peak and Transient Loads 135

6.8 Summary 136

6.9 Exercises 137

Chapter 7: Eliciting, Writing, and Managing Performance Requirements 139

7.1 Elicitation and Gathering of Performance Requirements 140

7.2 Ensuring That Performance Requirements Are Enforceable 143

7.3 Common Patterns and Antipatterns for Performance Requirements 144

7.4 The Need for Mathematically Consistent Requirements: Ensuring That Requirements Conform to Basic Performance Laws 148

7.5 Expressing Performance Requirements in Terms of Parameters with Unknown Values 149

7.6 Avoidance of Circular Dependencies 149

7.7 External Performance Requirements and Their Implications for the Performance Requirements of Subsystems 150

7.8 Structuring Performance Requirements Documents 150

7.9 Layout of a Performance Requirement 153

7.10 Managing Performance Requirements: Responsibilities of the Performance Requirements Owner 155

7.11 Performance Requirements Pitfall: Transition from a Legacy System to a New System 156

7.12 Formulating Performance Requirements to Facilitate Performance Testing 158

7.13 Storage and Reporting of Performance Requirements 160

7.14 Summary 161

Chapter 8: System Measurement Techniques and Instrumentation 163

8.1 General 163

8.2 Distinguishing between Measurement and Testing 167

8.3 Validate, Validate, Validate; Scrutinize, Scrutinize, Scrutinize 168

8.4 Resource Usage Measurements 168

8.5 Utilizations and the Averaging Time Window 175

8.6 Measurement of Multicore or Multiprocessor Systems 177

8.7 Measuring Memory-Related Activity 180

8.8 Measurement in Production versus Measurement for Performance Testing and Scalability 181

8.9 Measuring Systems with One Host and with Multiple Hosts 183

8.10 Measurements from within the Application 186

8.11 Measurements in Middleware 187

8.12 Measurements of Commercial Databases 188

8.13 Response Time Measurements 189

8.14 Code Profiling 190

8.15 Validation of Measurements Using Basic Properties of Performance Metrics 191

8.16 Measurement Procedures and Data Organization 192

8.17 Organization of Performance Data, Data Reduction, and Presentation 195

8.18 Interpreting Measurements in a Virtualized Environment 195

8.19 Summary 196

8.20 Exercises 196

Chapter 9: Performance Testing 199

9.1 Overview of Performance Testing 199

9.2 Special Challenges 202

9.3 Performance Test Planning and Performance Models 203

9.4 A Wrong Way to Evaluate Achievable System Throughput 208

9.5 Provocative Performance Testing 209

9.6 Preparing a Performance Test 210

9.7 Lab Discipline in Performance Testing 217

9.8 Performance Testing Challenges Posed by Systems with Multiple Hosts 218

9.9 Performance Testing Scripts and Checklists 219

9.10 Best Practices for Documenting Test Plans and Test Results 220

9.11 Linking the Performance Test Plan to Performance Requirements 222

9.12 The Role of Performance Tests in Detecting and Debugging Concurrency Issues 223

9.13 Planning Tests for System Stability 225

9.14 Prospective Testing When Requirements Are Unspecified 226

9.15 Structuring the Test Environment to Reflect the Scalability of the Architecture 228

9.16 Data Collection 229

9.17 Data Reduction and Presentation 230

9.18 Interpreting the Test Results 231

9.19 Automating Performance Tests and the Analysis of the Outputs 244

9.20 Summary 246

9.21 Exercises 246

Chapter 10: System Understanding, Model Choice, and Validation 251

10.1 Overview 252

10.2 Phases of a Modeling Study 254

10.3 Example: A Conveyor System 256

10.4 Example: Modeling Asynchronous I/O 260

10.5 Systems with Load-Dependent or Time-Varying Behavior 266

10.6 Summary 268

10.7 Exercises 270

Chapter 11: Scalability and Performance 273

11.1 What Is Scalability? 273

11.2 Scaling Methods 275

11.3 Types of Scalability 277

11.4 Interactions between Types of Scalability 282

11.5 Qualitative Analysis of Load Scalability and Examples 283

11.6 Scalability Limitations in a Development Environment 292

11.7 Improving Load Scalability 293

11.8 Some Mathematical Analyses 295

11.9 Avoiding Scalability Pitfalls 299

11.10 Performance Testing and Scalability 302

11.11 Summary 303

11.12 Exercises 304

Chapter 12: Performance Engineering Pitfalls 307

12.1 Overview 308

12.2 Pitfalls in Priority Scheduling 308

12.3 Transient CPU Saturation Is Not Always a Bad Thing 312

12.4 Diminishing Returns with Multiprocessors or Multiple Cores 314

12.5 Garbage Collection Can Degrade Performance 315

12.6 Virtual Machines: Panacea or Complication? 315

12.7 Measurement Pitfall: Delayed Time Stamping and Monitoring in Real-Time Systems 317

12.8 Pitfalls in Performance Measurement 318

12.9 Eliminating a Bottleneck Could Unmask a New One 319

12.10 Pitfalls in Performance Requirements Engineering 321

12.11 Organizational Pitfalls in Performance Engineering 321

12.12 Summary 322

12.13 Exercises 323

Chapter 13: Agile Processes and Performance Engineering 325

13.1 Overview 325

13.2 Performance Engineering under an Agile Development Process 327

13.3 Agile Methods in the Implementation and Execution of Performance Tests 332

13.4 The Value of Playtime in an Agile Performance Testing Process 334

13.5 Summary 336

13.6 Exercises 336

Chapter 14: Working with Stakeholders to Learn, Influence, and Tell the Performance Engineering Story 339

14.1 Determining What Aspect of Performance Matters to Whom 340

14.2 Where Does the Performance Story Begin? 341

14.3 Identification of Performance Concerns, Drivers, and Stakeholders 344

14.4 Influencing the Performance Story 345

14.5 Reporting on Performance Status to Different Stakeholders 353

14.6 Examples 354

14.7 The Role of a Capacity Management Engineer 355

14.8 Example: Explaining the Role of Measurement Intervals When Interpreting Measurements 356

14.9 Ensuring Ownership of Performance Concerns and Explanations by Diverse Stakeholders 360

14.10 Negotiating Choices for Design Changes and Recommendations for System Improvement among Stakeholders 360

14.11 Summary 362

14.12 Exercises 363

Chapter 15: Where to Learn More 367

15.1 Overview 367

15.2 Conferences and Journals 369

15.3 Texts on Performance Analysis 370

15.4 Queueing Theory 372

15.5 Discrete Event Simulation 372

15.6 Performance Evaluation of Specific Types of Systems 373

15.7 Statistical Methods 374

15.8 Performance Tuning 374

15.9 Summary 375

References 377

Index 385


Updates & Corrections

Download the correct Figures 8.1 and 14.3 and 14.4 associated with Foundations of Software and System Performance Engineering

Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020