# Decreasing query time node ram vs another node

**URL:** <https://discuss.elastic.co/t/decreasing-query-time-node-ram-vs-another-node/180396>\
**Category:** Elasticsearch\
**Created:** [May 9, 2019, 3:24pm UTC](https://discuss.elastic.co/t/decreasing-query-time-node-ram-vs-another-node/180396 "2019-05-09T15:24:56Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klaus82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/klaus82/32/45900_2.png) [@klaus82](https://discuss.elastic.co/u/klaus82)\
**Post date:** [May 9, 2019, 3:24pm UTC](https://discuss.elastic.co/t/decreasing-query-time-node-ram-vs-another-node/180396/1 "2019-05-09T15:24:56Z")

</div>

Hi,  
we have a question about the scalability in particular number of nodes vs amount of ram of each node.  
Our problem is the following: we have 8 processes that perform query on elastic and our elastic cluster (o elastic cloud) is composed by two nodes with 8 GB of ram each and we have a query time of 100s for each query. If the processes became 4 or 2 we noticed a decrease of the query time, for 2 precesses query time is about 28 seconds per query.  
So our question is: if we would decrement the query time for 8 processes is better to start up another node or increment the amount of ram for the already started nodes?

Thanks a lot for any kind of help.

---

<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:** [June 6, 2019, 3:24pm UTC](https://discuss.elastic.co/t/decreasing-query-time-node-ram-vs-another-node/180396/2 "2019-06-06T15:24:57Z")

</div>

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