All Questions
Elasticsearch medium

Why is it common practice to use the `_bulk` API instead of multiple single `index` requests for data ingestion?

  1. A The Bulk API uses a faster binary socket protocol instead of HTTP.
  2. B Batch Processing: It reduces the network round-trip overhead and allows the cluster to combine multiple operations into a single Lucene disk commit, significantly increasing indexing throughput (WPS).
  3. C The single index API is limited to only 4KB of data per request.
  4. D Bulk indexing is the only way to avoid 'Version Conflicts'.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions