What is the bottleneck of elasticsearch? What gives the greatest performance boosts?

Hi,
its a general question: What limits elasticsearch the most? Lets say we have a normal node with:

  • i5, 4 Cores
  • 32GB, DDR4 Ram
  • 2TB SSD

What will give me the greates performance boost when I change these components? Lets say I change the i5 for a i9 with 8 cores will it boost performance as much as for example 64GB of ram? Do cores have a big impact on elasticsearch? Or is the SSD performance important and you should get the fastest SSD there is?

Thanks,
defalt

It depend on the use case and workload and what happens to be limiting performance. There is no one size fits all answer.

1 Like

Does the number of cores matter a lot?

Personal, totally uninformed opinion, is that in nearly all data systems, RAM matters most, followed by disk latency/parallelism, finally by CPU - but of course there are loads that violate this, such as heavy inbound or query processing that need CPU, etc. and that any particular of the there factors is only maybe 1/2 important, i.e. it takes a balance.

But more RAM is never bad (up to ES 32GB limits).

2 Likes

The following document says this.

The quantity and performance of CPU cores governs the average speed and peak throughput of data operations in Elasticsearch.

I hope this is helpful.

1 Like

Thanks, sounds useful.

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