01Chapter 1: How a Databricks cluster is builtThis chapter assumes you know basic Spark concepts (jobs, stages, tasks, partitions, shuffles). It also assumes you can run notebooks or jobs in a Databricks workspace and know what a cloud virtual machine instance type is.2 min read
02Chapter 2: Matching the cluster to the workloadThis chapter assumes you know basic Spark (jobs, stages, tasks, partitions, shuffles), can run notebooks and jobs in a Databricks workspace, and understand cloud instance types and spot versus on-demand pricing.2 min read
03Chapter 3: Choosing node types and instance familiesThis chapter assumes you know what a driver, worker, and executor are, and that you can read basic Spark UI output. You should also know the difference between on-demand and spot instances. Here you will pick a node type by matching an instance family to what limits your workload.2 min read
04Chapter 4: Cores, memory, and partitionsThis chapter assumes you know Spark jobs, stages, tasks, partitions, and shuffles, and that you can run a notebook on a Databricks cluster. It explains how cluster cores and memory relate to partitions, which is the basis for choosing a cluster size.2 min read
05Chapter 5: What a cluster costs: DBUs and infrastructureThis chapter assumes you know the driver and worker layout of a cluster, what a Spark task slot is, and the difference between on-demand and spot instances in a cloud provider. It covers how a cluster's bill is built, so that later sizing choices can be judged by cost.2 min read
06Chapter 6: Picking a starting size for a fixed clusterThis chapter assumes you know Spark jobs, stages, tasks, partitions and shuffles, and that you can run notebooks on Databricks. The goal is a reasonable first guess for a fixed-size cluster, which you then refine with measurements in later chapters.3 min read
07Chapter 7: How autoscaling worksThis chapter assumes you know Spark jobs, stages, tasks, and shuffles. It also assumes you have run notebooks or jobs on a Databricks cluster and know the difference between the driver and workers.2 min read
08Chapter 8: Setting minimum and maximum workersThis chapter assumes you know how autoscaling adds and removes workers, and that you can read a cluster specification in JSON. The two bounds you set decide how much the cluster costs at idle and at peak. They also decide how quickly it reacts to load.2 min read
09Chapter 9: When not to autoscale: streaming and other limitsThis chapter assumes you know Spark jobs, stages, and micro-batches. It also assumes you can read a Clusters API specification like the one in the previous chapters. Autoscaling adjusts the worker count between a minimum and a maximum. It works best for batch jobs whose load changes over time. In so2 min read
10Chapter 10: Stopping idle clusters automaticallyThis chapter assumes you know how to create a Databricks cluster, you understand that cost has a DBU part and a cloud infrastructure part, and you can read a Clusters API JSON specification.2 min read
11Chapter 11: Using spot instances safelySpot instances are spare cloud capacity sold at a steep discount. The cloud provider can reclaim them with short notice. This chapter assumes you know Spark stages, tasks and shuffles, and the difference between on-demand and spot pricing. It also assumes you have read the earlier chapters on the dr2 min read
12Chapter 12: Instance pools to shorten startupThis chapter assumes you know how to create a cluster, what autoscaling does, and the difference between on-demand and spot instances. Here you will see how instance pools cut cluster startup time and how they affect autoscaling and cost.3 min read
13Chapter 13: Enforcing limits with cluster policiesThis chapter assumes you know how to create a cluster, set autoscaling bounds, and set auto-termination. Here you will learn how a cluster policy makes those settings binding for a group of users.2 min read
14Chapter 14: Photon and the runtime engine settingThis chapter assumes you know basic Spark concepts (jobs, stages, tasks, shuffles) and how to create a cluster in the Databricks workspace. It covers what Photon changes, how to turn it on, and how it affects sizing and cost.2 min read
15Chapter 15: Reading utilization in the Spark UI and metricsThis chapter assumes you know Spark jobs, stages, tasks, partitions, and shuffles, and that you can run notebooks on a Databricks cluster. Sizing starts with evidence. The Spark UI and the cluster metrics tell you whether a cluster is undersized, oversized, or fine.2 min read
16Chapter 16: Tuning size with a measure-and-adjust loopThis chapter assumes you know Spark jobs, stages, tasks, and shuffles, and that you can run notebooks or jobs in Databricks. Earlier chapters gave you ways to pick a starting size. A starting size is a guess. This chapter shows how to turn it into a size you can defend.2 min read
17Chapter 17: Serverless compute and when it replaces manual sizingThis chapter assumes you know the driver and worker model, how autoscaling bounds work, and the cost model of DBUs plus cloud infrastructure from earlier chapters. It covers the one option where you stop choosing sizes at all.2 min read