Software load balancer configuration using the Apache Web Server

Now, both the Liferay Portal server nodes are ready. As a next step, we need to configure the Apache Web Server to connect with both the Liferay Portal nodes and also distribute the load on both the Liferay Portal nodes. The Apache Web Server provides many options to connect with the Liferay Portal Tomcat server. But there are three options which are more popular. Let's understand these options and the scenarios in which they are best suitable.

Load balancer configuration using mod_jk

This option allows us to configure the load balancer using the mod_jk module of the Apache Web server. Internally, the mod_jk module connects with the Liferay Portal Tomcat server using the AJP protocol. ...

Get Liferay Portal Performance Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.