DEV Community

Discussion on: Explain MapReduce like I'm five

Collapse
 
anv1th profile image
Anvith Bhat • Edited

You've been given homework that consists of solving 2 riddles and solving 3 math problems. Spongebob show is gonna be on TV in 2 hours. You know you can complete the 3 math problems in 2 hours but you aren't good at solving riddles and trying so would mean you wouldn't get to watch your favorite show.

Luckily your best bud Tod is nearby and he's good with riddles. So you ask him to solve the riddles. He manages to give you answers to the two questions easily and you manage to solve the math problems just in time thereby completing the homework.

Map is when you decide what you and your best bud ought to do.
Reducing is when you obtain the answers to your own tasks which contribute to your homework completion