job init takes longer than notebook run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2022 12:41 AM
I am trying to understand why running a job takes longer than running the notebook manually.
And if I try to run jobs concurrently using workflow or threads then is there a way to reduce job init time ?
- Labels:
-
Job
-
Notebook Run
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2022 01:51 PM
Hi @darshan doshi , Jobs creates a job cluster in the backend before it starts the task execution and this cluster creation may take extra time when compared to running a notebook on a existing cluster.
1) If you run a multi-task job, you could select the same cluster for all the tasks to reduce job initialization time.
2) You can also use an interactive cluster for the job tasks. Interactive clusters can be kept "on" during your job run schedules so that all the job runs can quickly use the interactive cluster to execute the tasks.
Hope this helps 🙂
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2022 01:52 PM
Hi @darshan doshi,
Just a friendly follow-up. Did you saw the response from Vivian's? do you have any follow-up questions? lets us know if you still need help.