Forum Discussion
Notebook has 98% idle time in pipeline
- 1 year ago
HI P_work ,
When the same notebook behaves differently inside and outside the pipeline. That’s a classic case of orchestration overhead and environment provisioning latency.
Even though the custom environment seems lightweight, the pipeline engine treats it as a separate provisioning task. That’s why you see the 4-minute delay, it's not just the notebook, it's the orchestration and environment spin-up
Configure your pipeline to use pre-warmed clusters or instance pools. This avoids cold starts and can shave minutes off startup time.
Instead of calling child pipelines in a loop, use APIs like dbutils.notebook.run() (Databricks) or mssparkutils.notebook.run() (Microsoft Fabric). These maintain context and reduce orchestration delays.
There is no workaround for Spark environment ( Currently, it is taking expected time ~ 4 mins). By the way, Gradually, you can see the less time to compute the resources. ( Databricks implemented this Delta Lake as per the Google). For reduce the time, You should use programming language of Scala(Spark) / Python.
- P_work1 year ago
Helper I
Default environment does NOT take 4 mins.