You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Horváth Péter Gergely <pe...@gmail.com> on 2016/05/11 12:06:17 UTC

Planning and benchmarking Solr: resource consumption (RAM, disk, CPU, number of nodes)

Hi All,

I am wondering if there is any recommendation or convention regarding
planning and benchmarking a Solr node / Solr Cloud cluster infrastructure.
I am looking for a somewhat more structured approach than trying with our
forecast data volumes and keep adding more resources (CPU, RAM, disk etc.)
or additional nodes until the performance is acceptable.

If there any way to analyze, benchmark and forecast Solr resource
requirements according to the planned future load? E.g. if we have 2 cloud
nodes today, and our data volume grows to the double, can we simply add two
more nodes and except roughly the same performance?

What if data volume grows 10x or 100x? How can we plan resources in
advance? I _know_ that Solr / Solr Cloud scales _very well_ , but is there
any supporting document, metrics etc available? I only heard about reports
that Solr Cloud is widely used with great success, however in a company
environment you normally have to show some numbers, proving that the
investment into the hardware will return and that you will not require a
5-fold emergency increase in infrastructure funding just to keep the system
up and running.

If there is no such research document available, I would be much obliged if
you could give some hints on what and how to measure in Solr / Solr cloud
world. (E.g. what the optimal resource utilization of a Solr instance is,
how to recognize if an instance is trashing etc.)

Thanks,
Peter

Re: Planning and benchmarking Solr: resource consumption (RAM, disk, CPU, number of nodes)

Posted by Shawn Heisey <ap...@elyograg.org>.
On 5/11/2016 6:06 AM, Horv�th P�ter Gergely wrote:
> If there is no such research document available, I would be much obliged if
> you could give some hints on what and how to measure in Solr / Solr cloud
> world. (E.g. what the optimal resource utilization of a Solr instance is,
> how to recognize if an instance is trashing etc.)

I don't know if you've seen this:

https://lucidworks.com/blog/sizing-hardware-in-the-abstract-why-we-dont-have-a-definitive-answer/

There quite simply is no general answer.  Scalability rarely follows a
predictable curve based on the amount of hardware you use ... and what
I've frequently found is that a given Solr install will perform *great*
until some magic unknown threshold is reached, and then suddenly it's
like somebody installed an analog modem in place of your network card. 
If you Google "performance curve knee" you will find some information on
this phenomenon.

The only way to know exactly how Solr will behave under a given workload
is to set up the system and see what happens.  After somebody gets
enough experience with Solr, they can take a look at details for a
specific install and *maybe* predict whether it will handle the load or
not ... but I've frequently been wrong (in both directions) when trying
to make that assessment.

Thanks,
Shawn