Spark performance & optimization
Joins, partitioning, skew, pruning, caching, and checkpoints.
0 / 6 readEst. 28 min remaining / 28 min total
Your progress could not be saved. Allow site storage and try again.
010203040506
Narrow vs. wide transformations
What causes a shuffle, and why it is the single most expensive thing Spark does.
Broadcast, sort-merge, and shuffle-hash joins
How Spark picks a join strategy, and the one production failure every team eventually hits.
Partition count, file sizing, and the small-file problem
Why 200 shuffle partitions is almost always wrong, and how directory layout can destroy a table.
Data skew and salting
The most misdiagnosed Spark problem, and the fix ladder from cheapest to manual.
Predicate pushdown vs. partition pruning
Two different skipping mechanisms, both defeated by the same mistake.
Caching vs. checkpointing
Keeping a result around versus cutting the lineage that produced it: two different tools for two different problems.