Persistence Services and Clusters

If a cluster of FTL servers provide persistence services, those persistence services cooperate in a persistence cluster. A persistence cluster maintains a set of persistence stores which store messages in durables.

Administrators define persistence clusters and services within the realm definition. You can define any number of persistence clusters in the realm. A cluster consists of a set of named persistence services.

Each FTL server can provide at most one named persistence service. You assign each named persistence service to a specific FTL server in the FTL server configuration file.

The persistence services within a cluster communicate among themselves to replicate message data and acknowledgment data. Replication ensures that the services can continue to deliver messages to subscribers, even if some of the individual services become unavailable.

A persistence cluster as a whole maintains a set of persistence stores, replicating their data among the persistence services for fault tolerance.

To ensure the benefits of a persistence cluster, namely, in-memory replication and fault-tolerant service, run each FTL server on a dedicated host computer.