QuestionQ237

VerifiedDevelopment and Ingestion

A data engineering team is developing a new data transformation notebook. While building it, they need fast testing, rapid code iteration, and easy debugging. Once complete, the notebook will run nightly as a scheduled job with no manual intervention. They want to optimize for development speed.

Which type of compute should they use during the development phase?

Explanation

Interactive (all-purpose) compute clusters are designed for iterative development work: they allow multiple users/notebooks to attach to a running cluster, support fast re-execution of cells, and provide rich debugging capabilities, which is ideal for the rapid test-and-debug cycle described. Once the notebook is finalized and moved to unattended nightly execution, Databricks recommends switching to job (classic job) compute, which is more cost-effective because it is provisioned only for the duration of the job and terminates afterward — but that is a separate, later stage, not the development stage in question. Instance pools only reduce cluster startup/scaling latency and are not themselves a distinct compute type for notebook development, and SQL warehouses are intended for SQL-based analytics/BI queries rather than general-purpose data transformation notebook development.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!