Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Liferay Portal Performance Best Practices

You're reading from   Liferay Portal Performance Best Practices To maximize the performance of your Liferay Portals you need to acquire best practices. By the end of this tutorial you'll understand making the most appropriate architectural decisions, fine-tuning, load testing, and much more.

Arrow left icon
Product type Paperback
Published in Jun 2013
Publisher Packt
ISBN-13 9781782163688
Length 150 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Samir Bhatt Samir Bhatt
Author Profile Icon Samir Bhatt
Samir Bhatt
Arrow right icon
View More author details
Toc

Caching using Terracotta


In Chapter 1, Architectural Best Practices, we talked about various caching options for our Liferay-based solution. We discussed using Terracotta as a centralized cache server. If the portal is designed to handle huge amounts of traffic and transactions, it will need a good amount of cache to provide the best performance. In such situations, it is recommended to go with a high-end, centralized cache server. Terracotta is one of the most popular products in this space. We can configure Liferay Portal to cache resources in Terracotta instead of in embedded Ehcache. Let's learn how to configure Liferay Portal to cache resources in a Terracotta server. We will configure Terracotta-based caching for our clustered setup using the following steps:

  1. Download and install Terracotta in a directory on a separate server. This directory is referred to as TERRACOTTA_HOME.

    Note

    The Terracotta community edition can be downloaded from http://terracotta.org/downloads/open-source/catalog...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image