# ESRally Parallel Tasks start after x seconds

**URL:** <https://discuss.elastic.co/t/esrally-parallel-tasks-start-after-x-seconds/218530>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [February 10, 2020, 7:39am UTC](https://discuss.elastic.co/t/esrally-parallel-tasks-start-after-x-seconds/218530 "2020-02-10T07:39:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbakti7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dbakti7/32/42250_2.png) [@dbakti7](https://discuss.elastic.co/u/dbakti7)\
**Post date:** [February 10, 2020, 7:39am UTC](https://discuss.elastic.co/t/esrally-parallel-tasks-start-after-x-seconds/218530/1 "2020-02-10T07:39:54Z")

</div>

Hi!  
Is there any way in Rally to specify multiple tasks in parallel with some tasks only starting after x seconds?  
For example, having indexing and search tasks in parallel, but I want search to be performed after some time so that index tasks will take up some resources first.

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [February 10, 2020, 7:57am UTC](https://discuss.elastic.co/t/esrally-parallel-tasks-start-after-x-seconds/218530/2 "2020-02-10T07:57:41Z")

</div>

Hi Dian,

no, this is not possible and the usual approach is to run bulk-indexing for a little while and then enter the `parallel` block. Here is an [example from the rally-eventdata-track](https://github.com/elastic/rally-eventdata-track/blob/master/eventdata/challenges/combined-indexing-and-querying.json) to give you an idea how it can be done.

Daniel

---

<div class="post-metadata">

**Author:** ![dbakti7](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dbakti7/32/42250_2.png) [@dbakti7](https://discuss.elastic.co/u/dbakti7)\
**Post date:** [February 10, 2020, 7:59am UTC](https://discuss.elastic.co/t/esrally-parallel-tasks-start-after-x-seconds/218530/3 "2020-02-10T07:59:56Z")

</div>

I see, affirmative..  
That approach will work too. thank you!

---

<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:** [March 9, 2020, 8:13am UTC](https://discuss.elastic.co/t/esrally-parallel-tasks-start-after-x-seconds/218530/4 "2020-03-09T08:13:37Z")

</div>

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