计算机科学 > 程序设计语言
[提交于 2016年11月23日]
标题:Leveraging Parallel Data Processing Frameworks with Verified Lifting
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Many parallel data frameworks have been proposed in recent years that let sequential programs access parallel processing. To capitalize on the benefits of such frameworks, existing code must often be rewritten to the domain-specific languages that each framework supports. This rewriting-tedious and error-prone-also requires developers to choose the framework that best optimizes performance given a specific workload. This paper describes Casper, a novel compiler that automatically retargets sequential Java code for execution on Hadoop, a parallel data processing framework that implements the MapReduce paradigm. Given a sequential code fragment, Casper uses verified lifting to infer a high-level summary expressed in our program specification language that is then compiled for execution on Hadoop. We demonstrate that Casper automatically translates Java benchmarks into Hadoop. The translated results execute on average 3.3x faster than the sequential implementations and scale better, as well, to larger datasets.
提交历史
来自:EPTCS[v1] 2016年11月23日 星期三 03:16:38 UTC