Glossary
High Availability Cluster
Several machines presenting one service, with health checks and failover so that switching any single one off changes nothing for users. The concrete architecture behind an uptime promise.
General definition
High Availability Cluster is the concrete form of high availability: several nodes that together present one service, with health checks that notice a failed member and a mechanism, a load balancer, a floating IP or a database election, that moves traffic to the survivors. The goal is no single point of failure in any layer, and the test is simple: switch any one machine off and watch whether users notice.
Clusters come in two shapes:
- Active-active: every node serves traffic at once. Capacity is shared, a failure removes a fraction of it, and scaling out and failing over are the same operation. Stateless services such as API servers and web front ends are built this way
- Active-passive: one node serves, a standby waits with a current copy of the data and takes over on failure. Common for components that must have one writer, such as a database primary
A real-time chat platform has more layers than a website, and each needs its own answer. The API and web tier is stateless: two or more replicas behind a load balancer or Kubernetes Ingress. The XMPP or WebSocket tier holds long-lived client connections, so a node loss drops them; the cluster must let clients reconnect to another node and find the same rooms and presence, which is what ejabberd’s native clustering across nodes provides. The databases need replication with automatic failover: a MongoDB replica set with three members across zones, and a replicated or managed MySQL for the XMPP server’s tables. File storage belongs in an object store with its own redundancy rather than on one node’s disk, and the cache, queues and real-time counters in Redis need replication or a managed service.
Three things turn a set of redundant parts into a cluster you can trust. Spread nodes across availability zones, because a zone outage is the common large failure. Keep quorum odd, since two-node clusters split-brain. And rehearse failure: stop a primary in staging during working hours and measure the gap, because the number in the uptime promise comes from that measurement, not from the diagram. Horizontal scaling and HA share the same building blocks, which is why a cluster built for availability usually scales as a side effect.
Need full control of the stack? Ethora runs as a self-hosted chat server on premise, in your own cloud or from AWS Marketplace.
In the Ethora ecosystem
The Ethora self-hosted stack is a set of containers (API and job workers, ejabberd with the Ethora modules, web app, MongoDB, MySQL, Redis, Centrifugo, MinIO, Caddy), and the Docker Compose bundle runs one of each on one host, which is the evaluation and small-deployment shape. An HA layout takes the same containers and makes each layer redundant: several API replicas behind the Ingress on Kubernetes, MongoDB as a three-member replica set, replicated or managed MySQL and Redis, and files in an S3-compatible store rather than a local volume. The Helm chart supports this by switching its bundled databases off and pointing the services at external ones.
ejabberd, the XMPP server underneath, is built in Erlang and supports clustered deployments across multiple nodes, so the connection layer can be made redundant as well. Designing and operating that cluster is the work of a dedicated server engagement, where Ethora TechOps size, build and monitor the deployment inside your cloud account against the availability target in your SLA. The managed cloud tier gives you the result without owning the architecture.