# Estimates of cluster size / hardware based on documents and size

**URL:** <https://discuss.elastic.co/t/estimates-of-cluster-size-hardware-based-on-documents-and-size/9812>\
**Category:** Elasticsearch\
**Created:** [November 24, 2012, 3:33pm UTC](https://discuss.elastic.co/t/estimates-of-cluster-size-hardware-based-on-documents-and-size/9812 "2012-11-24T15:33:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Robin\_Verlangen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_verlangen/32/1542_2.png) [@Robin\_Verlangen](https://discuss.elastic.co/u/Robin_Verlangen)\
**Post date:** [November 24, 2012, 3:33pm UTC](https://discuss.elastic.co/t/estimates-of-cluster-size-hardware-based-on-documents-and-size/9812/1 "2012-11-24T15:33:59Z")

</div>

Hi there,

Does anyone here have estimates of the cluster size based on the amount of  
documents of a certain size?

For example:

- 50.000.000 x 1024 bytes document (~ 47GB) requires X servers with X  
hardware)
- 500.000.000 x 500 bytes document (~ 238GB) requires X servers with X  
hardware)

Best regards,

Robin Verlangen  
_Software engineer_  
\*  
\*  
W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
E robin@us2.nl

[http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)

Disclaimer: The information contained in this message and attachments is  
intended solely for the attention and use of the named addressee and may be  
confidential. If you are not the intended recipient, you are reminded that  
the information remains the property of the sender. You must not use,  
disclose, distribute, copy, print or rely on this e-mail. If you have  
received this message in error, please contact the sender immediately and  
irrevocably delete this message and any copies.

--

---

<div class="post-metadata">

**Author:** ![Igor\_Motov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_motov/32/45193_2.png) [@Igor\_Motov](https://discuss.elastic.co/u/Igor_Motov)\
**Post date:** [November 25, 2012, 12:34am UTC](https://discuss.elastic.co/t/estimates-of-cluster-size-hardware-based-on-documents-and-size/9812/2 "2012-11-25T00:34:30Z")

</div>

It's very difficult to provide any estimates based on the number and size  
of indexed documents. For example, on systems with heavy search traffic,  
peak frequency of search requests and required latency might be the most  
important factors determining required number of nodes in the cluster. It's  
also important to consider what type of queries will be used because  
different queries have very different memory requirements. The type of data  
indexed might also have significant impact on the index size. There are  
just too many factors that can have significant impact on memory, disk and  
CPU requirements to give reasonable estimates based on information provided.

I am sure this is not the answer that you hoped to receive, but I would  
suggest taking a significant subset of your data and trying to index and  
search it using requests and load similar to what you anticipate to get in  
production while watching index size, memory and CPU. Start with a couple  
of small nodes and load them until you reach breaking point then scale your  
cluster accordingly. Relying on any other estimates might be very  
misleading.

On Saturday, November 24, 2012 10:34:03 AM UTC-5, Robin Verlangen wrote:

> Hi there,
> 
> Does anyone here have estimates of the cluster size based on the amount of  
> documents of a certain size?
> 
> For example:
> 
> - 50.000.000 x 1024 bytes document (~ 47GB) requires X servers with X  
> hardware)
> - 500.000.000 x 500 bytes document (~ 238GB) requires X servers with X  
> hardware)
> 
> Best regards,
> 
> Robin Verlangen  
> _Software engineer_  
> \*  
> \*  
> W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> E ro...@us2.nl \<javascript:\>
> 
> [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)
> 
> Disclaimer: The information contained in this message and attachments is  
> intended solely for the attention and use of the named addressee and may be  
> confidential. If you are not the intended recipient, you are reminded that  
> the information remains the property of the sender. You must not use,  
> disclose, distribute, copy, print or rely on this e-mail. If you have  
> received this message in error, please contact the sender immediately and  
> irrevocably delete this message and any copies.

--

---

<div class="post-metadata">

**Author:** ![Robin\_Verlangen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/robin_verlangen/32/1542_2.png) [@Robin\_Verlangen](https://discuss.elastic.co/u/Robin_Verlangen)\
**Post date:** [November 25, 2012, 6:55pm UTC](https://discuss.elastic.co/t/estimates-of-cluster-size-hardware-based-on-documents-and-size/9812/3 "2012-11-25T18:55:39Z")

</div>

Hi Igor,

Thank you for your response. I actually did expect an answer like this.  
However I hoped that document size + count would give a rough estimate.  
However of course the amounts of searches are important, queries etc. All  
makes sense.

I'll just go with testing it, that's the only reliable manner.

Best regards,

Robin Verlangen  
_Software engineer_  
\*  
\*  
W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
E robin@us2.nl

[http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)

Disclaimer: The information contained in this message and attachments is  
intended solely for the attention and use of the named addressee and may be  
confidential. If you are not the intended recipient, you are reminded that  
the information remains the property of the sender. You must not use,  
disclose, distribute, copy, print or rely on this e-mail. If you have  
received this message in error, please contact the sender immediately and  
irrevocably delete this message and any copies.

On Sun, Nov 25, 2012 at 1:34 AM, Igor Motov [imotov@gmail.com](mailto:imotov@gmail.com) wrote:

> It's very difficult to provide any estimates based on the number and size  
> of indexed documents. For example, on systems with heavy search traffic,  
> peak frequency of search requests and required latency might be the most  
> important factors determining required number of nodes in the cluster. It's  
> also important to consider what type of queries will be used because  
> different queries have very different memory requirements. The type of data  
> indexed might also have significant impact on the index size. There are  
> just too many factors that can have significant impact on memory, disk and  
> CPU requirements to give reasonable estimates based on information provided.
> 
> I am sure this is not the answer that you hoped to receive, but I would  
> suggest taking a significant subset of your data and trying to index and  
> search it using requests and load similar to what you anticipate to get in  
> production while watching index size, memory and CPU. Start with a couple  
> of small nodes and load them until you reach breaking point then scale your  
> cluster accordingly. Relying on any other estimates might be very  
> misleading.
> 
> On Saturday, November 24, 2012 10:34:03 AM UTC-5, Robin Verlangen wrote:
> 
> > Hi there,
> > 
> > Does anyone here have estimates of the cluster size based on the amount  
> > of documents of a certain size?
> > 
> > For example:
> > 
> > - 50.000.000 x 1024 bytes document (~ 47GB) requires X servers with X  
> > hardware)
> > - 500.000.000 x 500 bytes document (~ 238GB) requires X servers with X  
> > hardware)
> > 
> > Best regards,
> > 
> > Robin Verlangen  
> > _Software engineer_  
> > \*  
> > \*  
> > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > E ro...@us2.nl
> > 
> > [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)
> > 
> > Disclaimer: The information contained in this message and attachments is  
> > intended solely for the attention and use of the named addressee and may be  
> > confidential. If you are not the intended recipient, you are reminded that  
> > the information remains the property of the sender. You must not use,  
> > disclose, distribute, copy, print or rely on this e-mail. If you have  
> > received this message in error, please contact the sender immediately and  
> > irrevocably delete this message and any copies.
> > 
> > --

--

---

<div class="post-metadata">

**Author:** ![Hadar\_Rottenberg](https://avatars.discourse-cdn.com/v4/letter/h/49beb7/32.png) [@Hadar\_Rottenberg](https://discuss.elastic.co/u/Hadar_Rottenberg)\
**Post date:** [November 27, 2012, 9:56am UTC](https://discuss.elastic.co/t/estimates-of-cluster-size-hardware-based-on-documents-and-size/9812/4 "2012-11-27T09:56:56Z")

</div>

It would be great if you could post your benchmarking results and dataset  
information.  
If more people will do it we will have different benchmarks for different  
use cases.

On Sunday, November 25, 2012 8:55:42 PM UTC+2, Robin Verlangen wrote:

> Hi Igor,
> 
> Thank you for your response. I actually did expect an answer like this.  
> However I hoped that document size + count would give a rough estimate.  
> However of course the amounts of searches are important, queries etc. All  
> makes sense.
> 
> I'll just go with testing it, that's the only reliable manner.
> 
> Best regards,
> 
> Robin Verlangen  
> _Software engineer_  
> \*  
> \*  
> W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> E ro...@us2.nl \<javascript:\>
> 
> [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)
> 
> Disclaimer: The information contained in this message and attachments is  
> intended solely for the attention and use of the named addressee and may be  
> confidential. If you are not the intended recipient, you are reminded that  
> the information remains the property of the sender. You must not use,  
> disclose, distribute, copy, print or rely on this e-mail. If you have  
> received this message in error, please contact the sender immediately and  
> irrevocably delete this message and any copies.
> 
> On Sun, Nov 25, 2012 at 1:34 AM, Igor Motov \<[imo...@gmail.com](mailto:imo...@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > It's very difficult to provide any estimates based on the number and size  
> > of indexed documents. For example, on systems with heavy search traffic,  
> > peak frequency of search requests and required latency might be the most  
> > important factors determining required number of nodes in the cluster. It's  
> > also important to consider what type of queries will be used because  
> > different queries have very different memory requirements. The type of data  
> > indexed might also have significant impact on the index size. There are  
> > just too many factors that can have significant impact on memory, disk and  
> > CPU requirements to give reasonable estimates based on information provided.
> > 
> > I am sure this is not the answer that you hoped to receive, but I would  
> > suggest taking a significant subset of your data and trying to index and  
> > search it using requests and load similar to what you anticipate to get in  
> > production while watching index size, memory and CPU. Start with a couple  
> > of small nodes and load them until you reach breaking point then scale your  
> > cluster accordingly. Relying on any other estimates might be very  
> > misleading.
> > 
> > On Saturday, November 24, 2012 10:34:03 AM UTC-5, Robin Verlangen wrote:
> > 
> > > Hi there,
> > > 
> > > Does anyone here have estimates of the cluster size based on the amount  
> > > of documents of a certain size?
> > > 
> > > For example:
> > > 
> > > - 50.000.000 x 1024 bytes document (~ 47GB) requires X servers with X  
> > > hardware)
> > > - 500.000.000 x 500 bytes document (~ 238GB) requires X servers with X  
> > > hardware)
> > > 
> > > Best regards,
> > > 
> > > Robin Verlangen  
> > > _Software engineer_  
> > > \*  
> > > \*  
> > > W [http://www.robinverlangen.nl](http://www.robinverlangen.nl)  
> > > E ro...@us2.nl
> > > 
> > > [http://goo.gl/Lt7BC](http://goo.gl/Lt7BC)
> > > 
> > > Disclaimer: The information contained in this message and attachments is  
> > > intended solely for the attention and use of the named addressee and may be  
> > > confidential. If you are not the intended recipient, you are reminded that  
> > > the information remains the property of the sender. You must not use,  
> > > disclose, distribute, copy, print or rely on this e-mail. If you have  
> > > received this message in error, please contact the sender immediately and  
> > > irrevocably delete this message and any copies.
> > > 
> > > --

--

---

<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:02am UTC](https://discuss.elastic.co/t/estimates-of-cluster-size-hardware-based-on-documents-and-size/9812/5 "2017-07-06T03:02:47Z")

</div>


