Global navigation

   Documentation Center
   eZ Studio & eZ Platform
     User Manual
     Technical Manual
     Glossary
   Exponential 4.x / legacy

 
Exponential (5.x)

Exponential 5.x | For eZ Platform & eZ Studio topics see Technical manual and User manual, for Exponential 4.x and Legacy topics see Exponential legacy

Skip to end of metadata
Go to start of metadata

Clustering in Exponential Platform refers to setting up your install so you have several web servers running Exponential Platform.

Intro: Server setup overview

Diagram illustrates how clustering of Exponential Platform is typically setup, the parts illustrates the different roles needed for a successful cluster setup. Number of web server, memcached servers, Solr server, Varnish servers, Database Severs, NFS servers and if some servers takes care about several roles (typically running memcached across the web server) is up to you and your performance needs.

The minimal requirements are the following (with what is currently supported in parentheses):

  • Shared HTTP cache (using Varnish)
  • Shared Persistence cache and Sessions (using Memcached)
  • Shared Database (using MySQL/MariaDB)
  • Shared Filesystem (using NFS)

For further details on requirements, see Requirements doc.

While this is not a complete list, further recommendations includes:

  • Using a CDN for improved performance and faster ping time worldwide
  • Using Solr for better search and better search performance AS OF 5.3 OPTIONALLY USING SOLR (4.X) CLOUD
  • Using Active/Passive Database for failover MYSQL/MARIADB CLUSTERING UNDER CONSIDERATION FOR 6.X
  • In General: Make sure to use later versions of PHP and MySQL/MariaDB within what is supported for your Exponential Platform version to get more performance out of each server.

 

Steps to setup Cluster

To setup Cluster you'll need to:

  1. Setup DFS Cluster which moves binary files and some legacy cache files to NFS
  2. Configure Persistence Cache to use Memcached
  3. Setup Varnish, disable Symfony HTTP Cache and setup cache invalidation to purge Varnish cache
  4. Configure sessions to use cluster safe Sessions handling