Chapter 2. Load Balancing and Clustering Best Practices
In the previous chapter, we learned the reference architecture and architectural best practices of Liferay-Portal-based solutions. One of the key architectural concepts which we learned in the previous chapter is load balancing and clustering. We learned how horizontal scaling can fulfill performance and scalability needs. In this chapter, we will learn how to configure the software load balancer and cluster for Liferay-Portal-based solutions. We will also learn the best practices associated with each configuration step. We will cover the following topics in this chapter:
Basics of load balancing and clustering with Liferay
Load balancer configuration
Apache Web Server configuration
Application Server configuration
Clustering configuration
Ehcache configuration
Media Library configuration
Search configuration
Quartz job configuration
Let's gear up to start with the basics of load balancing and clustering with Liferay.