Splitting (or not) bulk requests


(Jakub Kluvánek) #1

Hi.
I'm trying to make some optimizations to bulk requests and have one question in mind...

I have for example 600 operations (large data, mixed index/update), thats targeted to 3 indices. (100 index operations to index A, 100 update operations to index A, 100 index operations to index B,...)

Is it better to split it to multiple bulk requests so each request would contain only one type of operation (index/update) to one index? (in this example it would be 6 requests)
Or it does not matter and I can mix it together?
Or something between this 2 options (mix index and update, but separated requests for different indices)? (in this example it would be 3 requests - one per each index)


(Mark Walkom) #2

It doesn't really matter, Elasticsearch will handle it all for you.


(system) #3

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