# Why 2 nodes are slower than 1 node

**URL:** <https://discuss.elastic.co/t/why-2-nodes-are-slower-than-1-node/5597>\
**Category:** Elasticsearch\
**Created:** [October 14, 2011, 12:44am UTC](https://discuss.elastic.co/t/why-2-nodes-are-slower-than-1-node/5597 "2011-10-14T00:44:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Liyu](https://avatars.discourse-cdn.com/v4/letter/l/ba9def/32.png) [@Liyu](https://discuss.elastic.co/u/Liyu)\
**Post date:** [October 14, 2011, 12:44am UTC](https://discuss.elastic.co/t/why-2-nodes-are-slower-than-1-node/5597/1 "2011-10-14T00:44:47Z")

</div>

Hi,

I am running 2 nodes with 1 index 5 shards 1 replica. My query returns  
several facets. I just noticed the query always take longer with 2  
nodes deployment.

Is this behavior expected? Shouldn't the 2nd node takes some of work  
in parallel and make the search faster?

Thanks,

-- Liyu

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [October 14, 2011, 12:34pm UTC](https://discuss.elastic.co/t/why-2-nodes-are-slower-than-1-node/5597/2 "2011-10-14T12:34:37Z")

</div>

What you see if possibly longer latency of a single request, and that  
happens because now a single search request will be broken down to be  
executed on several shards, with some executing on the other node (network).  
In a single node case, there is no network.

On Fri, Oct 14, 2011 at 2:44 AM, Liyu [liyuyi@gmail.com](mailto:liyuyi@gmail.com) wrote:

> Hi,
> 
> I am running 2 nodes with 1 index 5 shards 1 replica. My query returns  
> several facets. I just noticed the query always take longer with 2  
> nodes deployment.
> 
> Is this behavior expected? Shouldn't the 2nd node takes some of work  
> in parallel and make the search faster?
> 
> Thanks,
> 
> -- Liyu

---

<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 6, 2017, 3:51am UTC](https://discuss.elastic.co/t/why-2-nodes-are-slower-than-1-node/5597/3 "2017-07-06T03:51:57Z")

</div>


