A scenario for a platform engineer · Staff and up
Five minutes of waiting for two minutes of work
Patch · Your teammate
Friday, 08:15
Three hundred small Databricks jobs run through the day. Each one waits about five minutes for its job cluster to start, then works for two. The teams complain that results arrive late.
What do you do?
Tap the one you would do. The answer opens below.
Show the best callThe best call
Run them on serverless compute for jobs, in its default performance optimized mode.
Runs typically start in under a minute, and there are no machines to size or keep warm.
Why
A classic job cluster has to get machines from the cloud and start them for each run. Serverless compute is run by Databricks, and in its default performance optimized mode a run typically starts in under a minute. Pools are the classic way to cut the wait, at the price of idle instances.
Read it in the Databricks docs (opens in a new tab)The other two
- Works, at a price. Start the job clusters from a pool of idle instances.
- The wait drops to a minute or two. You pay the cloud for the idle machines that sit in the pool.
- A poor call. Run them all on one all-purpose cluster that never stops.
- No waiting. The jobs pay the higher interactive rate around the clock and slow each other down.
The words in this scenario
- Job cluster.
- Compute that is started for one run of a job and stopped when the run ends. In the docs (opens in a new tab)
- Serverless compute.
- Compute that Databricks runs and scales for you. There are no machines to choose or to keep warm. In the docs (opens in a new tab)
- Pool.
- A set of machines kept idle and ready, so that a cluster that starts from the pool does not wait for the cloud to hand out new ones. In the docs (opens in a new tab)
- All-purpose cluster.
- Compute that people start and share for interactive work, such as notebooks. It keeps running until someone stops it or it has sat idle for its auto termination time. In the docs (opens in a new tab)
Go deeper on brickster.ai
- Serverless: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- Workflows: what changed recentlyNews, releases, videos and questions on it, gathered daily.
- Follow cost optimizationNews, releases, videos and questions on it, gathered daily.
More scenarios
- A cluster ran all weekend · platform engineer
- The nightly jobs run on the shared cluster · platform engineer
- The job died with an out of memory error · platform engineer
- All 47 scenarios
Had one like this at work? Send it to us: the best tickets come from real incidents.
Checked against the Databricks documentation on . brickster.ai is independent and is not affiliated with Databricks.