Speedy Scala Builds at Databricks
summary
Databricks migrates large Scala mono-repos onto Bazel-style builds, yielding concrete wins: test runs drop from ~150 minutes to ~25 minutes via sandboxed parallelism and up to 96x parallelism; CI compile time cuts 7x with a distributed build cache; cross-building generates per-version modules so upgrades (Scala 2.10→2.12) take about a quarter person-year and compiler speed doubles; remote caching and cloud dev boxes make clean builds effectively instant and give 5–6x faster tests and 1–2 second cold-start developer cycles.
AI-written summary · about
chapters (8)
- 0:00Introduction and team background
- 1:49Why speed up Scala builds
- 3:14Migration from SBT to Bazeel
- 8:20Bazeel adoption and test time improvements
- 10:49Dependency management in Bazeel
- 16:14Cross-building Scala versions
- 22:13Compiler performance optimizations
- 30:40Summary and conclusion








