What are some scenarios for which MPI is a better fit than MapReduce?

前端 未结 5 1430
执笔经年
执笔经年 2020-12-22 17:51

As far as I understand, MPI gives me much more control over how exactly different nodes in the cluster will communicate.

In MapReduce/Hadoop, each node does some com

5条回答
  •  悲&欢浪女
    2020-12-22 18:11

    I expect that MPI beats MapReduce easily when the task is iterating over a data set whose size is comparable with the processor cache, and when communication with other tasks is frequently required. Lots of scientific domain-decomposition parallelization approaches fit this pattern. If MapReduce requires sequential processing and communication, or ending of processes, then the computational performance benefit from dealing with a cache-sized problem is lost.

提交回复
热议问题