Book Image

Java EE 7 Performance Tuning and Optimization

By : Osama Oransa
Book Image

Java EE 7 Performance Tuning and Optimization

By: Osama Oransa

Overview of this book

<p>With the expansion of online enterprise services, the performance of an enterprise application has become a critical issue. Even the smallest change to service availability can severely impact customer satisfaction, which can cause the enterprise to incur huge losses. Performance tuning is a challenging topic that focuses on resolving tough performance issues.</p> <p>In this book, you will explore the art of Java performance tuning from all perspectives using a variety of common tools, while studying many examples.</p> <p>This book covers performance tuning in Java enterprise applications and their optimization in a simple, step-by-step manner. Beginning with the essential concepts of Java, the book covers performance tuning as an art. It then gives you an overview of performance testing and different monitoring tools. It also includes examples of using plenty of tools, both free and paid.</p>
Table of Contents (20 chapters)
Java EE 7 Performance Tuning and Optimization
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Performance testing in a cloud environment


When we test the performance in a cloud environment, we need to take enough precautions so that we can have accurate performance results. This is because a cloud environment is based on virtualized resources (that is, virtual machines), and environment performance is not guaranteed to be the same for all test execution times.

The main reason behind this is that virtual resources can be markedly affected by other concurrent executions in other virtual resources hosted on the same machine. So, when we propose a performance fix, we need to ensure that the testing results reflect the application performance, not the environment instability results. Therefore, it is better to take one of the following measures to reduce the impact of doing performance testing in a cloud environment:

  • Having a dedicated (non-shared) server for our testing

  • Executing the test many times and taking out the average

  • Calibrating the testing prior to each testing cycle

    Note

    Calibration...