Thrill:用C++实现高性能并行分布式批处理数据
Thrill: High-Performance Algorithmic Distributed Batch Data Processing with C++
摘要:
我们提出的设计和第一个性能评估的Thrill -一个通用的大数据处理框架的原型,一个方便的数据流风格的编程接口。Thrill与Apache Spark和Apache Flink有些相似,但至少有两个主要区别。首先,Thrill基于C++,由于直接的本机代码编译,更友好的缓存内存布局和显式的存储管理,因此具有性能优势。特别是,Thrill使用模板元编程将后续本地操作链编译成单个二进制例程,而无需中间缓冲,并且具有最小的间接性。其次,Thrill使用数组而不是多集作为其主要的数据结构,它支持其他操作,如排序、前缀求和、窗口扫描或组合多个数组的相应字段(压缩)。我们使用HiBench套件中的五个内核将Thrill与Apache Spark和Apache Flink进行了比较。Thrill始终比其他框架快,通常快几倍。同时,源代码具有类似的简单性和抽象性
英文摘要:
We present the design and a first performance evaluation of Thrill -- a prototype of a general purpose big data processing framework with a convenient data-flow style programming interface. Thrill is somewhat similar to Apache Spark and Apache Flink with at least two main differences. First, Thrill is based on C++ which enables performance advantages due to direct native code compilation, a more cache-friendly memory layout, and explicit memory management. In particular, Thrill uses template meta-programming to compile chains of subsequent local operations into a single binary routine without intermediate buffering and with minimal indirections. Second, Thrill uses arrays rather than multisets as its primary data structure which enables additional operations like sorting, prefix sums, window scans, or combining corresponding fields of several arrays (zipping). We compare Thrill with Apache Spark and Apache Flink using five kernels from the HiBench suite. Thrill is consistently faster and often several times faster than the other frameworks. At the same time, the source codes have a similar level of simplicity and abstraction
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。