Chapter 6. Load Testing and Performance Tuning
In Chapter 5, Development Best Practices, we learned about performance-related development best practices. Throughout the book, we learned many best practices to improve the performance of Liferay-Portal-based solutions. Even after applying those best practices, it is very important to verify whether the system meets performance expectations under the anticipated peak load. This can be done by performing load testing. We also talked about many dynamic configurations as well, which can be further tuned during load testing to meet performance expectations. In this chapter, we will learn load testing and performance tuning best practices for a Liferay-Portal-based solution.
In this chapter, we will cover the following topics:
Getting ready for load testing
Capturing load testing requirements
Selecting a load testing tool
Writing load testing scripts
Setting up the load testing environment
Conducting load tests
Resource monitoring and performance tuning...