https://www.orchest.io/ logo
Title
j

José Tomás Pérez

11/23/2021, 1:59 PM
hi everyone here JT from Santiago Chile! I'm very excited with Orchest and I would love to know more about how it manages cron jobs, cause now I have a EC2 that explodes cause python once a week xD
👋 2
y

Yannick

11/23/2021, 4:42 PM
Hi @José Tomás Pérez it is great to have you! What specifically would you like to know about the way in which we manage cron jobs? I'd be happy to answer any questions you might have 😄
j

José Tomás Pérez

11/23/2021, 4:43 PM
hi @Yannick!! thanks for your welcome
my doubt specifically is: what happens when you cron a job every 1 minute and the pipeline take more than a minute, causing that the same job runs at the sametime
i would like to know if orchest let the same job overlap with the next one
y

Yannick

11/23/2021, 4:55 PM
That is a great question. Depending on the value you have set for
MAX_JOB_RUNS_PARALLELISM
in the global settings (docs) multiple pipelines run in parallel, including for the same job. So to answer your question: yes, the same job will overlap with the next one (if the duration is longer than time between schedules). Of course you can set
MAX_JOB_RUNS_PARALLELISM
equal to one to have them be queued instead. But do note that this would impact other jobs as well such that only one pipeline can run at any time (across all jobs in all projects). Hopefully that answers your question.
i would like to know if orchest let the same job overlap with the next one
What would you like to be the behavior?
r

Rick Lamers

11/23/2021, 5:36 PM
Welcome @José Tomás Pérez! It would be great to see if the current model of cron jobs suits your needs, we're actively looking for feedback from the community 🙂!
j

José Tomás Pérez

11/23/2021, 6:57 PM
Thanks for your clear answer @Yannick ! @Rick Lamers don't doubt about it 😉
What would you like to be the behavior? I would like to have a parameter that blocks overlap between the same job
🙌 2
r

Rick Lamers

11/23/2021, 8:27 PM
I would like to have a parameter that blocks overlap between the same job
That's a good idea. Could you turn it into a GitHub issue? https://github.com/orchest/orchest/issues
🚀 1
y

Yannick

11/24/2021, 8:46 AM
Thanks for your feedback ❤️
j

José Tomás Pérez

11/25/2021, 7:25 PM
🙌
y

Yannick

11/26/2021, 9:43 AM
Thanks for creating the issue as well :)