Best elasticsearch architecture for multi-site


#1

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?


(Dan Tuffery) #2

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


(Mark Walkom) #3

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.


#4

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


(system) #5