Menu

Course · Distributed processing

Apache Spark

Understand how Spark turns your code into jobs, stages and tasks, and why partitions, shuffles and data skew drive performance.

Lessons
4
Interview questions
9
Projects & case studies
12
Reading time
~1 h

About this course

Spark is a distributed processing engine. Your code builds a plan; Spark splits it into stages at shuffle boundaries and runs each stage as parallel tasks over partitions. Most tuning comes down to controlling how much data moves between executors and how evenly it is spread.

Start with partitions and shuffles, then move to join strategies and Adaptive Query Execution.

Your progress

Saved in this browser only

Practise

Course structure

Lessons

Work through the lessons in order. Completed lessons show a tick; lessons you have opened are outlined.

Start here

The complete overview of the course in one read.

  1. Apache Spark Architecture and Execution ModelHow Apache Spark works end to end: driver and executors, cluster managers, the Catalyst optimiser, jobs, stages and tasks, shuffles, memory and adaptive execution.Intermediate2 min

Intermediate

Patterns used in production pipelines.

  1. Spark Execution Model: Jobs, Stages and TasksHow Spark turns DataFrame code into jobs, stages and tasks, how the driver and executors divide the work, and how to read the Spark UI to find slow stages.Intermediate3 min

Advanced

Performance, internals and edge cases.

  1. Spark Partitions, Shuffles and Data SkewLearn how Spark splits data into partitions, why shuffles are expensive, how to recognise data skew and which fixes (AQE, broadcast, salting) apply.Advanced4 min
  2. Spark Adaptive Query Execution and OptimizationHow Adaptive Query Execution re-plans Spark queries at run time: coalescing shuffle partitions, switching join strategies and splitting skewed partitions.Advanced2 min

Projects and case studies

Apply what you learned and prepare material to discuss in interviews.

Projects

System design case studies

Resources

Cheat sheets

Related courses

Plan your learning

Search
Filter by type