Book Image

Liferay 6.x Portal Enterprise Intranets Cookbook

Book Image

Liferay 6.x Portal Enterprise Intranets Cookbook

Overview of this book

Table of Contents (19 chapters)
Liferay 6.x Portal Enterprise Intranets Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


One of the most important aspects of successful project realization is system performance. Everybody knows that Web users often face a long wait when downloading web pages. What is the tolerable waiting time for web page download? In our opinion, a comfortable response time should be less than 2 seconds. If users have to wait more than 4 seconds, they usually go away. Performance issues is the most difficult subject in a big data portal or intranet. System architecture affects performance. Portals with a lot of images, movies, and audio should have a different architecture compared to intranets, as these portals have a lot of users who log in very often at the same time.

Fortunately, there are some general rules that help improve Liferay's performance:

  • Scalable infrastructure with HTTP cache proxy

  • Fast database

  • Appropriate Java settings, such as garbage collector engine or memory settings

  • Minimal number of included files, such as JS, CSS, images, and so on

  • Content distribution network...