High Availability

In Event Stream Processor, server clusters promote failure recovery and data redundancy. Event Stream Processor provides an added level of high availability at the project level called Active-Active mode.

A single-node cluster provides project-level failure recovery, meaning it detects when a project stops running and automatically restarts it. However, a single-node cluster does not protect against server failure.

A multiple node cluster can protect against server failure. Create cluster managers on different machines and group them into a single cluster. When deploying a multiple node cluster, you can define project affinities for each node.

You can also deploy projects in Active-Active mode. This means two instances of the same project run in the cluster, preferably on separate machines. One version of the project is designated as the primary instance, and the other is designated as the secondary instance. All connections from outside the cluster (adapters, clients, Studio) are directed to the primary project server. If the primary instance fails, all connections are automatically directed to the secondary instance.

Data between primary and secondary instances is continuously synchronized. The primary instance receives each message first. To maintain redundancy, the secondary instance must also acknowledge receipt of the message before the primary instance begins processing.

Related concepts
Project Deployment Options