# Bulk API executed in parallel?

**URL:** <https://discuss.elastic.co/t/bulk-api-executed-in-parallel/91413>\
**Category:** Elasticsearch\
**Created:** [June 30, 2017, 11:26am UTC](https://discuss.elastic.co/t/bulk-api-executed-in-parallel/91413 "2017-06-30T11:26:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![omsaran](https://avatars.discourse-cdn.com/v4/letter/o/f17d59/32.png) [@omsaran](https://discuss.elastic.co/u/omsaran)\
**Post date:** [June 30, 2017, 11:26am UTC](https://discuss.elastic.co/t/bulk-api-executed-in-parallel/91413/1 "2017-06-30T11:26:17Z")

</div>

Suppose I have a bulk request having 3 operations - 1,2,3.

Is it guaranteed that 2 is executed after 1 and 3 is executed after 2? Is it executed one after the other or in parallel?

---

<div class="post-metadata">

**Author:** ![colings86](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/colings86/32/44960_2.png) [@colings86](https://discuss.elastic.co/u/colings86)\
**Post date:** [June 30, 2017, 12:29pm UTC](https://discuss.elastic.co/t/bulk-api-executed-in-parallel/91413/2 "2017-06-30T12:29:37Z")

</div>

The order of execution is not guaranteed in the Bulk API partly because the operations in a bulk request may be executed on different nodes in the cluster.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 28, 2017, 12:30pm UTC](https://discuss.elastic.co/t/bulk-api-executed-in-parallel/91413/3 "2017-07-28T12:30:00Z")

</div>

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