# Latency issue when cluster nodes are spread across data center

**URL:** https://discuss.elastic.co/t/latency-issue-when-cluster-nodes-are-spread-across-data-center/302674
**Category:** Elasticsearch
**Created:** [April 19, 2022, 7:18am UTC](https://discuss.elastic.co/t/latency-issue-when-cluster-nodes-are-spread-across-data-center/302674 "2022-04-19T07:18:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![mSaify](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/msaify/32/104523_2.png) [@mSaify](https://discuss.elastic.co/u/mSaify)
#### Post date: [April 19, 2022, 7:18am UTC](https://discuss.elastic.co/t/latency-issue-when-cluster-nodes-are-spread-across-data-center/302674/1 "2022-04-19T07:18:09Z")

</div>

All,

one of my clients has a cluster configuration where the 3 nodes are spread across 2 data centers. For a while, they have been noticing the latency on search queries.  
Based on network logs and cluster configuration we have recommended moving the ES cluster within the same data center.

Our basic assumption here is that the nodes spread across data centers will have latency in synchronization and as well as communication within-cluster, and likely the reason for searches to be slow.

Are there any recommendations or guidelines on high-performing cluster configuration?

---

<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: [May 17, 2022, 7:18am UTC](https://discuss.elastic.co/t/latency-issue-when-cluster-nodes-are-spread-across-data-center/302674/2 "2022-05-17T07:18:47Z")

</div>

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