May 13, 2023

GroupByKey Vs ReduceByKey

 

GroupByKey 
ReduceByKey

Result in wide transformation & trigger shuffling

Result in wide transformation & trigger shuffling

Does not do map side combine

Does a map side combine

Amount of data sent over network in huge

Amount of data sent over network in less

Not optimized

More optimized due to sending less data over network

No comments:

Post a Comment