Performance Tuning in Liferay

Source: Internet
Author: User

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%

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.