2014 · 41 citations · 24 references
ComputingComputer EngineeringComputer ScienceCompilersParallel ComputingProgramming LanguagesData ParallelismDistributed Data ProcessingParallel Computing SystemsParallel Programming ModelsParallel Runtime SystemsCode Generation By Rewrite RulesFunctional Data RepresentationGroup By OperationsImperative TransformationMapreduceMapreduce AlgorithmsRewrite SystemsTranslating Parallelism
We present an approach for automatic translation of sequential, imperative code into a parallel MapReduce framework. Automating such a translation is challenging: imperative updates must be translated into a functional MapReduce form in a manner that both preserves semantics and enables parallelism. Our approach works by first translating the input code into a functional representation, with loops succinctly represented by fold operations. Then, guided by rewrite rules, our system searches a space of equivalent programs for an effective MapReduce implementation. The rules include a novel technique for handling irregular loop-carried dependencies using group-by operations to enable greater parallelism. We have implemented our technique in a tool called Mold. It translates sequential Java code into code targeting the Apache Spark runtime. We evaluated Mold on several real-world kernels and found that in most cases Mold generated the desired MapReduce program, even for codes with complex indirect updates.
24
Sanjay Ghemawat · Communications of the ACM · 2008 · 18.5K citations · Full text
Spark: cluster computing with working sets
Matei Zaharia, Mosharaf Chowdhury, Michael J. Franklin et al. · 2010 · 4.2K citations
Vinod Kumar Vavilapalli, Arun C. Murthy, Chris Douglas et al. · 2013 · 1.8K citations
Evaluating MapReduce for Multi-core and Multiprocessor Systems
Colby Ranger, R. Raghuraman, Arun Penmetsa et al. · 2007 · 968 citations
Google’s MapReduce programming model — Revisited
Ralf Lämmel · Science of Computer Programming · 2007 · 491 citations