# Using two ES clusters

**URL:** <https://discuss.elastic.co/t/using-two-es-clusters/41762>\
**Category:** Elasticsearch\
**Created:** [February 15, 2016, 10:43am UTC](https://discuss.elastic.co/t/using-two-es-clusters/41762 "2016-02-15T10:43:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![xam](https://avatars.discourse-cdn.com/v4/letter/x/bb73d2/32.png) [@xam](https://discuss.elastic.co/u/xam)\
**Post date:** [February 15, 2016, 10:43am UTC](https://discuss.elastic.co/t/using-two-es-clusters/41762/1 "2016-02-15T10:43:56Z")

</div>

Hi,

Does it make sense to use two ES clusters like a master/slave architecture.

For exemple, we have an 'active' cluster that answers queries and one 'passive' cluster that build the new version of the index. Once the new index is created switch the clusters.  
The pro of this architecture for me are:

- The hardware is isolated. We know that the indexing phase won't impact the queries.
- We have the ability to "test" an update. I mean that we can run query to verify that the data inserted is coherent. Validate a new mapping etc... and then switch to the cluster when we are ok with the new configuration  
The cons are:
- The hardware requirement is doubled
- We are are far from real time 🙂
- More maintenance complexity

Maybe I missed something. What do you think about that?

Regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 15, 2016, 4:06pm UTC](https://discuss.elastic.co/t/using-two-es-clusters/41762/2 "2016-02-15T16:06:51Z")

</div>

This is really only something you can answer, but your points are all accurate.

---

<div class="post-metadata">

**Author:** ![xam](https://avatars.discourse-cdn.com/v4/letter/x/bb73d2/32.png) [@xam](https://discuss.elastic.co/u/xam)\
**Post date:** [February 18, 2016, 9:34am UTC](https://discuss.elastic.co/t/using-two-es-clusters/41762/3 "2016-02-18T09:34:27Z")

</div>

Thank you for your answer. However, I cannot find any feedback on the web of company that uses this kind of architecture. That probably means that I underestimate the cons....

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:15pm UTC](https://discuss.elastic.co/t/using-two-es-clusters/41762/4 "2017-07-05T23:15:13Z")

</div>


