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

Scalable infrastructure


Defining the architecture is the most important part of a successful installation. A good architecture should be fault-tolerant and have a high level of availability. To achieve this, it is necessary to cluster all the possible nodes, such as Tomcat nodes, search nodes, and so on. The second important thing is building a scalable infrastructure that lets us add new nodes.

How to do it…

In this recipe, we will try defining reference infrastructure, which can be used on production deployments. This type of infrastructure is used in our projects and works perfectly. The main parts of our environments are: squid cache, Apache servers with mod_jk module and software load balancers, Apache Tomcat Application Servers, Solr Cloud and Database server. The following image shows the most important parts:

Squid cache

The first tier of our architecture is Squid cache (http://www.squid-cache.org/). It is a caching proxy for the Web. It supports HTTP, HTTPS, and other protocols. It...