subscription.packtpub.com
Open in
urlscan Pro
2606:4700:10::ac43:1f53
Public Scan
URL:
https://subscription.packtpub.com/book/programming/9781782163688/4/ch04lvl1sec27/caching-using-terracotta
Submission: On February 08 via manual from FR — Scanned from FR
Submission: On February 08 via manual from FR — Scanned from FR
Form analysis
1 forms found in the DOMhttps://subscription.packtpub.com/search
<form action="https://subscription.packtpub.com/search" id="search-form" class="form-inline"><input required="required" name="query" placeholder="Search titles …" type="text" class="mr-sm-2 form-control"> <button type="submit" aria-label="Search"
class="btn"><i aria-hidden="true" class="fa fa-search"></i></button></form>
Text Content
Browse Library Advanced Search Browse Library Advanced Search Sign In Start Free Trial * * * LIFERAY PORTAL PERFORMANCE BEST PRACTICES BY : SAMIR BHATT Buy this Book LIFERAY PORTAL PERFORMANCE BEST PRACTICES BY: SAMIR BHATT Buy this Book OVERVIEW OF THIS BOOK Liferay portal is the leading horizontal portal product available in the market. It was named lLeader in Gartner's Magic Quadrant for Horizontal Portals. Because of the flexibility offered by Liferay Portal for customizations, it is becoming a preferred best choice for portal implementations. Many influential sites have been implemented with or have switched to the Liferay portal. More and more Liferay developers and architects are needed in the IT industry.Liferay Portal Performance Best Practices will guide you in how to build high performing Liferay -based solutions. The book guides you on how to define the architecture of Liferay- based solutions to meet performance expectations. You will learn how to fine- tune the Liferay portal using configuration changes or applying the right caching strategy. By the time you finish reading, you will realize that you know all the essential best practices to improve the performance of the Liferay portal solution. The book comprises of Liferay portal performance best practices related to various aspects. It starts with the architecture and design best practices and ends with performance tuning and lLoad testing best practices. The book follows the logical flow. In the first chapter it talks about various architectural options and best practices. It also talks about the consequences of various architectural options. It talks about how to configure the Liferay portal to work in a clustered environment. It discusses the various options available in a cluster configuration. The book further talks about various configuration options of different components that are available for improving performance. The book also talks about various development best practices. It concludes with best practices related to load testing and a performance tuning exercise. Liferay Portal Performance Best Practices explains performance best practices with real examples and samples. By the end of this book, the reader will have learned everything he/she needs to know about Liferay portal performance best practices. RELATED CONTENT YOU MIGHT BE INTERESTED IN CURRENT TITLE: LIFERAY PORTAL PERFORMANCE BEST PRACTICES Samir Bhatt Jun, 2013 | 150 pages No titles found Table of Contents (13 chapters) Liferay Portal Performance Best Practices Liferay Portal Performance Best Practices Credits Credits About the Author About the Author About the Reviewers About the Reviewers www.PacktPub.com www.PacktPub.com Preface Preface Free Chapter 1 Architectural Best Practices Architectural Best Practices The Liferay Portal reference architecture The Deployment sizing approach The Documents and Media Library architecture The database architecture Static content delivery The caching architecture The search architecture Summary 2 Load Balancing and Clustering Best Practices Load Balancing and Clustering Best Practices The basics of load balancing and clustering with Liferay Setting up Liferay Portal nodes Software load balancer configuration using the Apache Web Server Liferay Portal cluster configuration Summary 3 Configuration Best Practices Configuration Best Practices Liferay Portal configuration best practices Application Server configuration best practices Apache Web Server configuration best practices Summary 4 Caching Best Practices Caching Best Practices Customizing the Ehcache configuration Ehcache configuration best practices Caching using Terracotta Summary 5 Development Best Practices Development Best Practices UI best practices Portlet development best practices Summary 6 Load Testing and Performance Tuning Load Testing and Performance Tuning Getting ready for load testing Resource monitoring and performance tuning Summary Index Index Customer Reviews 5 star 0 4 star 0 3 star 0 2 star 0 1 star 0 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... Unlock full access CONTINUE READING FOR FREE A PACKT FREE TRIAL GIVES YOU INSTANT ONLINE ACCESS TO OUR LIBRARY OF OVER 7000 PRACTICAL EBOOKS AND VIDEOS, CONSTANTLY UPDATED WITH THE LATEST IN TECH Start a 7-day FREE trial Previous Section End of Section 4 Next Section