Glossary
Multi-Region Deployment
The same service running in more than one part of the world. Whether the regions share data or keep it apart is the first decision, and for regulated chat it is usually the second.
General definition
Multi-Region Deployment means the same service runs in more than one cloud region, for example Frankfurt and Virginia, rather than in several availability zones of one region. Zones protect against a building failing; regions protect against a whole metropolitan area, a provider-wide regional incident or, more often, a legal boundary. Three different goals send teams multi-region, and they pull the design in different directions:
- Data residency: EU users’ data stays in the EU, a Canadian hospital’s records stay in Canada. The data must not replicate across the border
- Latency: a user in Singapore talks to a server in Singapore. The same application everywhere, with traffic routed to the nearest copy
- Resilience: if one region is lost, another takes over. The data must replicate across regions, and quickly
The residency goal and the resilience goal contradict each other unless the boundaries are drawn carefully, which is why the first design decision is data boundaries versus replication. The cleanest answer for regulated workloads is one independent deployment per jurisdiction, each with its own databases, storage and backups, and a second zone or region inside the same jurisdiction for disaster recovery. Global routing then sends each tenant to its home deployment. The alternative, a single global database replicated everywhere with active-active writes, gives the best latency and resilience but is hard to reconcile with data residency and with the ordering guarantees a chat system needs.
Real-time messaging makes the active-active version harder than a website. Messages in a room must arrive in one order, presence and read state change constantly, and a user whose session lives in two regions at once creates conflicts that are unpleasant to resolve. Practical designs therefore keep a room, or a whole tenant, homed in one region at a time, replicate asynchronously to a standby for failover, and accept a few minutes of recovery time rather than attempting conflict-free writes everywhere. Object storage and backups are the easy part: cross-region replication of a bucket is a setting, as long as the destination is inside the allowed boundary.
Budget for the overheads: every region doubles the infrastructure, monitoring and on-call surface, cross-region data transfer is billed, and certificates, DNS, secrets and deploy pipelines all have to be region-aware. Most teams reach multi-region through a residency requirement first and a resilience requirement second, and data sovereignty rules increasingly decide where the first copy may live.
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
Ethora’s deployment model maps onto the boundary-first design. Each customer project is an App, an isolated container of users, files, chats and data, and a dedicated server is a single-tenant installation of the whole stack in a region you choose, inside your own cloud account or ours. Residency is therefore a deployment decision: an EU-only installation for European users, a separate one in Canada or the US for North American users, each with its own databases, MinIO or S3 storage and backups, and nothing replicated across the border. The multi-tenant managed cloud runs in Ethora’s own region; residency commitments are made on dedicated deployments.
Within a region, high availability is built from the usual parts: a MongoDB replica set across availability zones, multiple API replicas, clustered ejabberd and replicated object storage, with a standby for disaster recovery inside the same jurisdiction. Where a customer needs several regional installations, Ethora TechOps run them as separate dedicated servers, which keeps the data boundaries explicit for a DPA or a HIPAA review.