Question

the MapReduce Framework supports Mapper and Reducer parallelism. Compare this to Multithreading.

the MapReduce Framework supports Mapper and Reducer parallelism. Compare this to Multithreading.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The MapReduce Framework supports Mapper and Reducer parallelism. Compare this to Multithreading.

What are Mapper and Reducer Parallelism?

MapReduce is mechanism of programming in big data where we categorize data processing logic into four phases which are Mapping, Partitioning, Shuffling and Reducing which acts on data subsets (data splits). These phases are in series i.e. Partitioning starts after completion of Mapping, Shuffling starts after the completion of partitioning and so on. Now in order to improve the efficiency of map-reduce algorithms what we do is, store data in distributed file systems where data segments are stored logically in single place but physically it could be at different systems and then processing is done in each of the nodes parallely. Here the concurrency of the processing is with the data segments, which facilitates faster data processing.

What is Multithreading?

Here we create sub-unit of processing a larger unit of a system (both inter and intra systems) called thread which are directly linked with the physical hardware. When we device a mechanism to run multiple threads for some large processing demand, we refer such a system to be multithreaded one. In this case same set of data is shared across all the threads and with proper communication and control policies we mitigate the locking of the data across different threads.

Comparison:

From above discussion get a clear picture that MapReduce is mechanism of breaking data into segments and performing processing on each of the segments afterwards. Multithreading is mechanism of parallel processing in over same set of data. In MapReduce the challenge of the algorithms is to properly distribute the data across the file system and In Multithreading the challenge is to manage resource sharing across different processing unit with a larger system.

Add a comment
Know the answer?
Add Answer to:
the MapReduce Framework supports Mapper and Reducer parallelism. Compare this to Multithreading.
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT