Best elasticsearch architecture for multi-site

Hi,

The definitive guide specifically advises against having a cluster spanning more than one data center, and certainly not across continents.

What then is the best architecture for solutions that use elasticsearch and do span continents?

Let's say for performance and high-availability reasons that you have three clusters of webservers in US, Europe, and Asia. These webservers use elasticseach.

Is the only viable option then to just have all the elasticsearch servers in one of the above sites?

1 Like

You could have three clusters, one cluster in each geographic location, and have a federated search approach using the Tribe Node.

If you want to have mutli-site then you have a few options;

  1. Use Snapshot and Restore to copy the data around.
  2. Get your code to index to each cluster directly.
  3. Like 2, get your code to write to a queuing system and then index into each cluster individually.

Then you can use a tribe node as mentioned.

many thanks, will probably look into the snapshop/restore method.