Перейти к содержимому

Apache Spark Shuffle, when it happens and why it is on of the most expensive operations in Spark

Alberto Gaytan

0:00 / 0:00

Apache Spark Shuffle, when it happens and why it is on of the most expensive operations in Spark

373 просмотра · 4 месяца назад
Alberto Gaytan
209 подписчиков
373 просмотра · 4 месяца назад
In this video, we explain Spark Shuffle in a simple visual way, including narrow vs wide transformations, shuffle write, shuffle read, stage boundaries, reduceByKey vs groupByKey, and strategies to reduce shuffle cost. You will learn: 00:00 What Spark Shuffle means 02:48 When shuffle happens 05:25 How shuffle WRITE works 07:25 How shuffle READ works 08:43 Why shuffle is expensive 10:35 How reduceByKey reduces shuffled data 11:57 How to reduce Shuffles (How broadcast joins and smart partitioning can improve performance) 14:42 Inside the Shuffle Engine This video is useful for Data Engineers, Spark beginners, big data learners, and anyone preparing for Spark or Data Engineering interviews.