internalsGet Pro

Module 18 · Lesson 6 of 13Pro

Autoscaling and spot capacity for data jobs

Level
Advanced
Topic
Scale, performance and cost
Reading time
17 min

When you finish this page you can

  1. Sort a data platform’s parts into those that can run on spot capacity and those that stay on on-demand, from what each loses when a machine is taken away.
  2. Configure Spark on Kubernetes so a reclaimed spot node moves its shuffle blocks instead of rerunning map tasks, with the driver pinned to on-demand nodes.
  3. Estimate what a lost TaskManager costs a streaming job against its freshness target, and say when Flink’s adaptive scheduler helps.
  4. Choose between more clusters and a bigger size for a Snowflake warehouse, and work out the credits each costs.
  1. Shuffles: the most expensive step in Spark17 min
  2. Scaling and operating streaming jobs18 min
  3. Case: Razorpay’s 21% cut to its Spark bill16 min

Half the nodes on spot by April

At 10:00 IST on Monday 5 March 2029, Kartly’s platform team brings one line to the data council: move half of the data platform’s Kubernetes node-hours to spot capacity by April. Almost every node in the Mumbai clusters runs on on-demand prices, many of them around the clock.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan