background-image: url(../img/fp-tower/website-background-white.svg) class: center, middle .title[.dark-green[Analysis of global temperature
Part 1]] --- # Data processing
--- # Sequential iteration
--- # Sequential iteration
--- # Sequential iteration
--- # Sequential iteration
--- # Useful work
--- # Partition the dataset .center[
] --- # Partition the dataset .center[
] --- # Partition the dataset .center[
] --- # Partition the dataset .center[
] --- # Partition the dataset .center[
] --- # Partition the dataset .center[
] --- # Size the partitions appropriately .forty-seven-left[
] --- # Tasks may require different computing power
--- # Tasks may require different computing power
--- # Scales to more than one computer
--- # Important points
## 1. Size the partitions appropriately ## 2. Benchmark and tweak configuration for the task at hand --- # Important points
## 1. Size the partitions appropriately ## 2. Benchmark and tweak configuration for the task at hand ## 3. Parallel process .hl2[MUST] produce the .hl2[SAME] result as the sequential one --- background-image: url(../img/fp-tower/website-background-white.svg) class: middle, white # TemperatureNotebook.scala --- # Average temperature .sixty-two-left[.center[
]] --- # Sum temperatures per partition .sixty-two-left[.center[
]] --- # Sum temperatures per partition .sixty-two-left[.center[
]] --- # Sum temperatures per partition .sixty-two-left[.center[
]] --- # Sum-up all partitions .sixty-two-left[.center[
]] --- # Size .sixty-two-left[.center[
]] --- # Calculate size per partition .sixty-two-left[.center[
]] --- # Sum-up all partitions .sixty-two-left[.center[
]] --- # Average temperature in one pass .sixty-two-left[.center[
]] --- # Calculate sum and size per partition .sixty-two-left[.center[
]] --- # Calculate sum and size per partition .sixty-two-left[.center[
]] --- # Calculate sum and size per partition .sixty-two-left[.center[
]] --- # Sum-up all partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold partitions .sixty-two-left[.center[
]] --- # Fold intermediate results .sixty-two-left[.center[
]] --- # Fold intermediate results .sixty-two-left[.center[
]] --- # Fold intermediate results .sixty-two-left[.center[
]] --- # Fold intermediate results .sixty-two-left[.center[
]] --- background-image: url(../img/fp-tower/website-background-white.svg) class: middle, white # TemperatureExercises.scala