bala n
bala n

Reputation: 39

How many reindex can run simultaneously in elasticsearch

I am doing one bigger migration using enrich and ingest pipeline. I am getting more slowness when doing multiple reindex simultaneously using the ingest pipeline. So, how many reindex can run simultaneously?. So, Please help me.

Upvotes: 0

Views: 30

Answers (1)

stzov
stzov

Reputation: 176

There is no straight answer to your question, but I'll try to provide my thoughts on the matter.

In a nutshell, I would say, that you can put as many parallel reindex jobs as your cluster can handle or as many as the consequent performance hindrance is acceptable to you.

The cluster in general has a set number of threads that handle requests and a queue size that will put in waiting all those that cannot be handled straight away. If you overwhelm the cluster with the parallel reindex requests then documents will be dropped or reindexing will fail.

If you don't mind how long the reindex will take then you can throttle it by using

requests_per_second

This means that you can make reindex as slow and light as needed. The more you throttle the more time it'll be needed to complete. The less you throttle the less performant your cluster will be.

Upvotes: 0

Related Questions