HA Configuration
Configuring HA for Synapse involves multiple configuration options. For a conceptual overview of how HA works in Synapse, refer to High Availability. #
Storage
You need to have selected axonserver
as your storage implementation. You can achieve this by setting the synapse.storage.type
property. Refer to Storage and Configuration for details.
High availability
The most important steps used for configuring HA in Synapse are the following. For a full list of available properties, refer to Configuration.
-
Tell Synapse to use AxonServer as your storage backend by setting
synapse.storage.type=axonserver
-
Enable load balancing of event handlers by setting
synapse.event-handler.balancing.enabled=true
If you encounter stability or performance problems, refer to Configuration to adjust settings like the used hash function and means of discovering available synapse settings.