Tuesday, July 12, 2011

Performance Bottleneck and Tuning


The Biggest challenge in Performance Testing is not only to meet the Service Level agreement, But to ensure Tuning recommendations for the existing application. To identify the bottleneck and how to tune the application and where to tune is very important critical in performance Engineering.

A poorly tuned application can result is slow transactions, long latencies, less throughput rate, system freezing and can lead to system crash.

There are different techniques involved in performance improvement.Some of them are as follows:
  • Performance Engineering
  • Code Optimization
  • Caching
  • Load Balancing
  • Memory Management
Performance Tests are conducted with the application deployed in a well-defined, controlled test environment in order to ensure that the configuration and test results at the start of the testing process are known and reproducible.

•When the tests reveal performance characteristics deemed to be unacceptable, the performance testing and tuning team enters a diagnosis and remediation stage (tuning) that will require changes to be applied to the test environment and/or the application. It is not uncommon to make temporary changes that are deliberately
designed to magnify an issue for diagnostic purposes, or to change the test environment to see if such changes lead to better performance.

•The cooperative testing and tuning team is generally given full and exclusive control over the test environment in order to maximize the effectiveness of the tuning phase.

•Performance tests are executed, or re-executed after each change to the test environment, in order to measure the impact of a remedial change.

•The tuning process typically involves a rapid sequence of changes and tests. This process can take exponentially more time if a cooperative testing and tuning team is not fully available and dedicated to this effort while in a tuning phase.

•When a tuning phase is complete, the test environment is generally reset to its initial state, the successful remedial changes are applied again, and any unsuccessful remedial changes (together with temporary instrumentation and diagnostic changes) are discarded. The performance test should then be repeated to prove that the correct changes have been identified. It might also be the case that the test environment itself is changed to reflect new expectations as to the minimal required production environment. This is unusual, but a potential outcome of the tuning effort.

No comments:

Post a Comment