Details zum E-Book

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

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

Samir Bhatt

E-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.
  • Liferay Portal Performance Best Practices
    • Table of Contents
    • Liferay Portal Performance Best Practices
    • Credits
    • About the Author
    • About the Reviewers
    • www.PacktPub.com
      • Support files, eBooks, discount offers and more
        • Why Subscribe?
        • Free Access for Packt account holders
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Errata
        • Piracy
        • Questions
    • 1. Architectural Best Practices
      • The Liferay Portal reference architecture
        • The Presentation tier
        • The Networking tier
        • The Web tier
        • The Application tier
        • The Database Repository tier
        • The Search Repository tier
        • The Media Repository tier
        • The Active Directory tier
        • Reference architecture characteristics
          • Scalability
          • Performance
          • High availability and fault tolerance
          • Security
      • The Deployment sizing approach
        • The reference hardware
        • The performance benchmark test summary
        • An example of sizing calculations
          • Sample performance requirements
          • Sizing calculations
      • The Documents and Media Library architecture
        • File System and Advanced File System stores
        • The Database store
        • The JCR store
        • The CMIS store
        • The S3 store
      • The database architecture
        • The read/write database
        • Database sharding
      • Static content delivery
        • Content Delivery Network
        • Content delivery through the web server
      • The caching architecture
        • Caching using Ehcache
          • Ehcache replication using RMI
          • Ehcache replication using Cluster Link
        • Caching using Terracotta
        • Web resource caching using Varnish
      • The search architecture
        • Apache Lucene
          • Index storage on SAN
          • Lucene Index replication using Cluster Link
        • Apache Solr
      • Summary
    • 2. 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
        • Load balancer configuration using mod_jk
        • Load balancer configuration using mod_proxy_ajp
        • Load balancer configuration using mod_proxy_http
        • Load balancing best practices
      • Liferay Portal cluster configuration
        • Session replication configuration
        • Cache replication
          • Ehcache replication using RMI
          • Ehcache configuration using JGroups
          • Ehcache replication using Cluster Links
          • Ehcache clustering best practices
        • Media Library configuration
          • Network file storage using the Advanced File System store
          • Database storage using the JCR store
          • Database storage using DBStore
          • Media Library clustering best practices
        • Search engine configuration
          • Lucene index storage on network storage
          • Lucene index replication using Cluster Link
          • Using the Apache Solr search engine
          • Clustering best practices for the search engine
        • Quartz scheduler configuration
      • Summary
    • 3. Configuration Best Practices
      • Liferay Portal configuration best practices
        • Servlet filter configuration
          • The auto login filter
          • The CAS filter
          • The NTLM SSO filter
          • The OpenSSO filter
          • The SharePoint filter
          • The GZip filter
          • The Strip filter
          • The ValidHtml filter
        • Auto login hooks
        • Counter increment
        • User session tracker
        • Direct Servlet Context
        • Plugin repositories
        • Pingbacks and trackbacks
        • Googles blog search ping integration
          • The asset view counter
          • Document ranks and view count
          • Scheduler configuration
            • The Calendar portlet
            • LDAP integration
            • The Web Content portlet
            • The Message Board portlet
            • The Blogs portlet
            • The Media Library portlet
            • The Announcement portlet
          • Inline permission checks
          • Lucene Configuration
      • Application Server configuration best practices
        • Database connection pool configuration
        • JVM configuration
          • Garbage Collection
          • The Java Heap configuration
        • JSP engine configuration
        • Thread pool configuration
      • Apache Web Server configuration best practices
        • Static content delivery
        • GZip compression configuration
        • Cache header configuration
        • Apache Web Server MPM configuration
      • Summary
    • 4. Caching Best Practices
      • Customizing the Ehcache configuration
        • Hibernate Ehcache CacheManager
        • Single-VM CacheManager
        • Multi-VM CacheManager
      • Ehcache configuration best practices
      • Caching using Terracotta
      • Summary
    • 5. Development Best Practices
      • UI best practices
        • Reducing the number of JavaScript files
        • Reducing the number of CSS files
        • Using CSS image sprites
        • Minifying JavaScript files
        • JavaScript positioning
        • Limiting the use of DOM operations
        • Analyzing web page performance using tools
      • Portlet development best practices
        • Limiting the use of dynamic queries
        • Liferay caching API
        • Coding best practices
      • Summary
    • 6. Load Testing and Performance Tuning
      • Getting ready for load testing
        • Capturing load testing requirements
        • Selecting load testing tools
          • Apache JMeter
          • BlazeMeter
          • Apache Benchmark (ab)
        • Preparing load testing scripts
        • Setting up the load testing environment
        • Conducting load tests
      • Resource monitoring and performance tuning
        • Liferay Portal server monitoring and tuning
          • JConsole
          • VisualVM
          • JVM monitoring and tuning
          • Tomcat thread monitoring and tuning
          • Database connection pool monitoring and tuning
          • Cache monitoring and tuning
        • Apache web server monitoring and tuning
        • Monitoring the database server
          • CPU and memory usage
          • Slow queries
          • Connections
          • Lock monitoring
        • Monitoring logfiles
      • Summary
    • Index
  • Titel: 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
  • Autor: Samir Bhatt
  • Originaler Titel: 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.
  • ISBN: 9781782163695, 9781782163695
  • Veröffentlichungsdatum: 2013-06-10
  • Format: E-book
  • Artikelkennung: e_3ch1
  • Verleger: Packt Publishing