Bulk sends several indexing operations in one request. Improve the rate of successful operations while keeping the cluster responsive, rather than maximizing the number of requests sent.
Tune one dimension at a time
Start with modest batches of representative documents. Increase batch bytes until throughput stops improving or memory and latency worsen. Then tune the number of concurrent senders separately. A thousand small events and a thousand large documents are very different batches.
A successful HTTP response can contain failed items
Consider this simplified illustrative bulk response:
