Application Server configuration best practices
In Chapter 1, Architectural Best Practices, we talked about the reference architecture. We choose Tomcat as an Application Server for Liferay Portal. We can choose to use any supported Application Server with Liferay Portal. In this section, we will learn the Application Server configuration best practices. We will focus on the Tomcat server, which is a part of our reference architecture.
Database connection pool configuration
Liferay Portal uses the database connection pool to perform the database operation. It is very important to size the database connection pool carefully. If the database connection pool size is lower than what is needed, it will slow down the system. Application threads will be in waiting mode because of busy connections. Similarly, if the database connection pool is oversized, it will consume more resources of both the Application Server and the Database Server. By default, the database connection pool is configured using...