# Job scheduler for ES?

**URL:** <https://discuss.elastic.co/t/job-scheduler-for-es/120511>\
**Category:** Elasticsearch\
**Created:** [February 19, 2018, 6:44pm UTC](https://discuss.elastic.co/t/job-scheduler-for-es/120511 "2018-02-19T18:44:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Igor\_Yakushin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_yakushin/32/42652_2.png) [@Igor\_Yakushin](https://discuss.elastic.co/u/Igor_Yakushin)\
**Post date:** [February 19, 2018, 6:44pm UTC](https://discuss.elastic.co/t/job-scheduler-for-es/120511/1 "2018-02-19T18:44:04Z")

</div>

Hello,  
What does ES do when multiple jobs by multiple users are submitted to ES cluster?  
Is it FIFO? Is there any kind of scheduler? Are jobs put on some queue or rejected while the cluster is running some job?  
Or do people integrate ES with a traditional scheduler like Slurm and create ES cluster on demand?  
Or is ES typically used by a single user?  
Thank you,  
Igor

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 19, 2018, 9:16pm UTC](https://discuss.elastic.co/t/job-scheduler-for-es/120511/2 "2018-02-19T21:16:14Z")

</div>

What do you mean by "jobs"?

---

<div class="post-metadata">

**Author:** ![Igor\_Yakushin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/igor_yakushin/32/42652_2.png) [@Igor\_Yakushin](https://discuss.elastic.co/u/Igor_Yakushin)\
**Post date:** [February 19, 2018, 9:50pm UTC](https://discuss.elastic.co/t/job-scheduler-for-es/120511/3 "2018-02-19T21:50:55Z")

</div>

Hi Mark,  
I am coming from a standard HPC environment and not sure that I understand  
how elastic search behaves when multiple users are trying to query it.  
Can, for example, only one query at a time be executed on ES cluster or  
multiple queries can run simultaneously? Are queries queued until they can  
run?  
Thank you,  
Igor

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 19, 2018, 9:52pm UTC](https://discuss.elastic.co/t/job-scheduler-for-es/120511/4 "2018-02-19T21:52:21Z")

</div>

Ahh right.

Elasticsearch is mulitenanted, so if 5 users submit queries then all 5 will run at the same time. There is (currently) no concept of resource allocation/prioritisation and everything runs at the same priority and until they are done.

---

<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 19, 2018, 9:52pm UTC](https://discuss.elastic.co/t/job-scheduler-for-es/120511/5 "2018-03-19T21:52:45Z")

</div>

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