MapReduce & Bulk Synchronous Parallel (BSP)
Programming models for large-scale parallel data processing: MapReduce structures computation as map and reduce phases with automatic distribution and fault tolerance; BSP organizes computation into supersteps with global synchronization.
Method
MapReduce: user supplies map (key-value → intermediate key-values) and reduce (grouped intermediates → outputs); framework handles partitioning, shuffle, fault tolerance. BSP: processors compute locally, communicate, then barrier-synchronize; Pregel-style graph processing is a notable instance. Modern successors (Spark, Flink, Beam) generalize these ideas.
Applications
Large-scale log analysis, indexing, ETL, graph processing (PageRank, connected components), machine learning feature pipelines, any embarrassingly parallel or iteratively synchronized data workload.
Advantages
Simple programming models; automatic parallelism and fault tolerance; proven at massive scale; foundational for modern data infrastructure.
Limitations
MapReduce’s rigid two-phase structure is inefficient for iterative algorithms; BSP barriers can waste time with stragglers; both require careful data partitioning; not ideal for low-latency or highly interactive workloads. BSP is a parallel-computation model; automatic fault tolerance depends on its implementation.
Alternatives
Spark (RDDs/DataFrames), Flink, Dryad, MPI for HPC, actor models, streaming systems. Top Algorithms & Models — Part 2 (101–200) Research Compendium
Editorial clarification
BSP is a parallel-computation model; automatic fault tolerance depends on its implementation.
Sources
Educational reference only, not professional advice.
All algorithms