# Does Cross Cluster Search Performance varies with number of clusters

**URL:** <https://discuss.elastic.co/t/does-cross-cluster-search-performance-varies-with-number-of-clusters/348954>\
**Category:** Elasticsearch\
**Tags:** ccs-cross-cluster-search\
**Created:** [December 9, 2023, 4:27am UTC](https://discuss.elastic.co/t/does-cross-cluster-search-performance-varies-with-number-of-clusters/348954 "2023-12-09T04:27:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![siddhartha\_c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/siddhartha_c/32/115957_2.png) [@siddhartha\_c](https://discuss.elastic.co/u/siddhartha_c)\
**Post date:** [December 9, 2023, 4:27am UTC](https://discuss.elastic.co/t/does-cross-cluster-search-performance-varies-with-number-of-clusters/348954/1 "2023-12-09T04:27:12Z")

</div>

Hi Team,  
I have a query.

We have around 5000 Nodes in our setup.  
If I distribute the Nodes across 30 different Clusters will the cross cluster search performance be significantly be faster as compared to if I have nodes distributed across 100 smaller Clusters?  
I do understand that the network trip will increase in case of 100 Clusters as compared to 30 clusters.  
Assuming that the Node , Index and Shard configuration remains the same in both the case, Is there any other factor which might impact the performance.

We are concerned about the search response time. That is the biggest criteria for us.

Also ,Will the slowest cluster(The Hardware is pretty slow) decide the performance on the search in CCS elastic?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [December 9, 2023, 12:28pm UTC](https://discuss.elastic.co/t/does-cross-cluster-search-performance-varies-with-number-of-clusters/348954/2 "2023-12-09T12:28:13Z")

</div>

> [@siddhartha\_c](#):
>
> If I distribute the Nodes across 30 different Clusters will the cross cluster search performance be significantly be faster as compared to if I have nodes distributed across 100 smaller Clusters?

The only way to be sure is to try it, the answer is going to depend on so many details specific to your setup & workload. But I would not expect it to make a significant difference to performance in most cases.

> [@siddhartha\_c](#):
>
> Also ,Will the slowest cluster(The Hardware is pretty slow) decide the performance on the search in CCS elastic?

This answer also depends on details specific to your setup & workload, but I would expect it to be approximately "yes".

---

<div class="post-metadata">

**Author:** ![siddhartha\_c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/siddhartha_c/32/115957_2.png) [@siddhartha\_c](https://discuss.elastic.co/u/siddhartha_c)\
**Post date:** [December 12, 2023, 10:51am UTC](https://discuss.elastic.co/t/does-cross-cluster-search-performance-varies-with-number-of-clusters/348954/3 "2023-12-12T10:51:21Z")

</div>

Hi @DavidTurner , Thanks for the answer. If we do targeted Index search (Where the Indices which are searched are present in the Faster Machine)in the Multi Cluster environment, in that case, if an Index is not present in a slower Cluster, the search performance will not get slow I believe.  
What's your take on this?

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [December 12, 2023, 11:19am UTC](https://discuss.elastic.co/t/does-cross-cluster-search-performance-varies-with-number-of-clusters/348954/4 "2023-12-12T11:19:08Z")

</div>

> [@siddhartha\_c](#):
>
> if an Index is not present in a slower Cluster

If so then (in the context of this specific search) this cluster is not a slow one.

---

<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:** [January 9, 2024, 11:19am UTC](https://discuss.elastic.co/t/does-cross-cluster-search-performance-varies-with-number-of-clusters/348954/5 "2024-01-09T11:19:13Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
