Load Balancing

Last Updated: Mar 15, 2023
documentation for the dotCMS Content Management System

In order to load balance dotCMS:

  • Your database must be fully configured and running with dotCMS.
  • All nodes should be connected to the cluster (see Cluster Configuration) and connected to the same centralized database.
  • To use the dotCMS authoring tools, you must use a load balancer that has sticky session support enabled and running in front of your dotCMS instances.

Note:

  • All caches and indexes are stored separately on each node in the cluster.
  • DNS round robin can be used to distribute load across dotCMS servers in a cluster.
    • Note however that this will not provide instant failover if a node is taken out of the cluster.
  • While it can be done, session clustering at the application server level is not tested.
    • Sessions can get large and clustering them can cause unneeded network traffic.

On this page

×

We Dig Feedback

Selected excerpt:

×