# How i can calculate the cluster nodes size like RAM, CPU and Disk

**URL:** https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933
**Category:** Elasticsearch
**Created:** [September 11, 2021, 10:09am UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933 "2021-09-11T10:09:25Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![elastic\_dev](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@elastic\_dev](https://discuss.elastic.co/u/elastic_dev)
#### Post date: [September 11, 2021, 10:09am UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/1 "2021-09-11T10:09:25Z")

</div>

HI,  
I am trying to figure how should I calculate my nodes size, its RAM, CPU, and Disk. If I have data of around 10G. On basis of what I should calculate nodes size.

Can anyone guide me, please?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 12, 2021, 11:30am UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/2 "2021-09-12T11:30:03Z")

</div>

It depends a lot on the use case and expected load. It would help if you described your use case and the load the cluster is expected to be under, e.g. expected insertions, upodates and queries per second.

---

<div class="post-metadata">

### Author: ![elastic\_dev](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@elastic\_dev](https://discuss.elastic.co/u/elastic_dev)
#### Post date: [September 16, 2021, 2:44pm UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/3 "2021-09-16T14:44:45Z")

</div>

Hi, below are use case.

1. **Use Case -** Search

2. **Data per Day to be ingested (in GB) -** 1GB

3. **Retention:** Permanent

4. **Replication Count:** 2

5. **Average Event Siz** e: 1MB

6. **Average Events per second:** 100 events per second

7. **Queries Per second:** 100 Queries per second

8. **Total Data to be retained:** ALL

How can i calculate on basis of above?

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 16, 2021, 3:38pm UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/4 "2021-09-16T15:38:55Z")

</div>

Those numbers do not add up. An average of 100 documents/second results in 8,640,000 documents per day. With an average size of 1MB that is a total ingested data volume of 8.2TB, which is considerably larger than the 1GB per day you specified.

---

<div class="post-metadata">

### Author: ![elastic\_dev](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@elastic\_dev](https://discuss.elastic.co/u/elastic_dev)
#### Post date: [September 17, 2021, 5:57pm UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/5 "2021-09-17T17:57:46Z")

</div>

Thank you for the update. Here is the updated use case

1. **Use Case -** Search
2. **Data per Day to be ingested (in GB) -** 2.5GB
3. **Retention:** Permanent
4. **Replication Count:** 2
5. **Average Event Siz** e: 1MB
6. **Average Events per second:** 100 events per hours
7. **Queries Per second:** 100 Queries per second
8. **Total Data to be retained:** ALL

Now 100 documents/Hour would result in 2400 per day and with an average size of 1MB, the total ingested data volume would be 2.4 G. I hope this is correct.  
How can I calculate node size with this?

---

<div class="post-metadata">

### Author: ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)
#### Post date: [September 17, 2021, 8:40pm UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/6 "2021-09-17T20:40:24Z")

</div>

Some useful reading here that may help. Good luck  
But this is only for a logging use case, your use case is more a search and that will depends on your search strategy that will influence how data will indexed (Analyzers, Mapping, ...) ...

> **[Benchmarking and sizing your Elasticsearch cluster for logs and metrics](https://www.elastic.co/blog/benchmarking-and-sizing-your-elasticsearch-cluster-for-logs-and-metrics)**
>
> Elasticsearch can be optimized for any use case. In this post, learn how to size and benchmark your Elastic Stack deployment for logs and metrics observability.

---

<div class="post-metadata">

### Author: ![elastic\_dev](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@elastic\_dev](https://discuss.elastic.co/u/elastic_dev)
#### Post date: [September 20, 2021, 4:01am UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/7 "2021-09-20T04:01:36Z")

</div>

Hi,  
in that blog, it is mentioned how we can calculate on the basis of total data/total storage for **elastic cloud**. However, I am looking for how can I calculate nodes RAM and CPU core for my on-premises cluster.

---

<div class="post-metadata">

### Author: ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)
#### Post date: [September 20, 2021, 4:33am UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/8 "2021-09-20T04:33:37Z")

</div>

It seems like you have very large documents in your use case? Why are they so large?

The blog post that was linked to describes sizing for use cases with lots of indexing, limited queries and quite small documents. This is a very common workload and therefore reasonably well known, which is why there are lots of common guidelines around sizing available for it.

Yours is however a query heavy use case with very large documents, where the type of queries and how much data you return will have a significant impact. Unfortunately I do not think there is any way to analytically determine the system requirements analytically so I would recommend you benchmark in order to find a suitable cluster size and configuration.

---

<div class="post-metadata">

### Author: ![elastic\_dev](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@elastic\_dev](https://discuss.elastic.co/u/elastic_dev)
#### Post date: [September 20, 2021, 5:05am UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/9 "2021-09-20T05:05:53Z")

</div>

> [@Christian\_Dahlqvist](#):
>
> log post that was linked to describes sizing for use cases with lots of index

Actually currently i don't have data to ingest. i just assumed the document that if i have this number of total documents then how much cluster size could be.

Ok, let me check with the benchmark.

---

<div class="post-metadata">

### Author: ![elastic\_dev](https://avatars.discourse-cdn.com/v4/letter/e/cab0a1/32.png) [@elastic\_dev](https://discuss.elastic.co/u/elastic_dev)
#### Post date: [September 20, 2021, 5:14am UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/10 "2021-09-20T05:14:56Z")

</div>

I have another question gor which I already have created another topic for this. However, I haven't got much response yet. That's why asking I am asking here, if you can help  
`https://discuss.elastic.co/t/elasticsearch-feature-for-rating/284410`

The question is,, suppose i have an restaurant application and there user gives rating to the restaurant. Lets suppose there is restaurant **abc** and its rating changes based on user rating.

How Elastic Search calculate the average rating and ingest the rating to the document automatically. is there any feature or property in elastic search?

---

<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: [October 18, 2021, 5:15am UTC](https://discuss.elastic.co/t/how-i-can-calculate-the-cluster-nodes-size-like-ram-cpu-and-disk/283933/11 "2021-10-18T05:15:52Z")

</div>

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