-
|
Hi - I'm wondering if there is a place to customize the DataLoader strategy. In my case, I would like to 'pipeline' the BatchLoader requests that are sent by the DataLoader to improve performance. Ideally, I'd like to customize that in two ways:
Is that possible with the current DataLoader logic? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
For number one - see For number 2
I dont think this is true. The code will slice the keys into the batch sized set of "batch loads". The values back here are It will "async combine" back that list of futures so that N keys comes back to a combined promise of N values but the sub batches can happen in parallel and hence sub batches can happen at the same time. All of this "combining" is completely async - there is no "waiting" Perhaps this is not what you mean so if you could expand on your example more perhaps |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the response. I'm doing some testing on my system to see if that matches the behavior I'm seeing. |
Beta Was this translation helpful? Give feedback.
For number one - see
org.dataloader.DataLoaderOptions#maxBatchSize. This allows you to specify how big or small the batch size is.For number 2
I dont think this is true.
The code will slice the keys into the batch sized set of "batch loads". The values back here are
Com…