Liferay The default is not to turn on tuning parameters, so run slower, we can open some parameters to achieve better performance:
Today I did the following configuration:
(1) The following parameters are configured in the $liferay_home/portal-ext.properties:
Last.modified.check=false
Theme.css.fast.load=true
Javascript.fast.load=true
(2) We've disable all the filters in the $liferay_home/<tomcat_home>/webapps/root/web.xml.
(3) We disable all the infrequently used portlets in the $liferay_home/<tomcat_home>/webapps/root/liferay-portlet.xml.
As a result, our liferay will have good performance.
Performance test:
We use JMeter for performance testing, testing 5,000 concurrent users to access the Liferay home page, you can compare:
Before tuning:
After tuning:
You can see that throughput has risen from 17.7 requests per second to 22.1 requests per second, raising almost 30%