并行数据管理系统中连接位置的优化
Runtime Optimization of Join Location in Parallel Data Management Systems
摘要:
在并行系统上运行的应用程序通常需要将流式关系或存储关系与在并行数据存储系统中索引的数据联接。某些应用程序还计算连接元组上的UDF。连接可以在数据存储节点处完成,对应于减少侧连接,或者通过从存储系统提取数据到计算节点来完成,对应于映射侧连接。这两种方法都可能是次优的:reduce side joins可能会导致偏斜,而map side joins可能会导致大量数据被传输和复制。在本文中,我们提出的技术,使运行时的决定,这两个选项之间的每个键的基础上,以提高吞吐量的连接,占UDF计算,如果有的话。我们的技术是基于一个扩展的滑雪租赁算法,并提供最坏情况下的性能保证相对于我们所考虑的空间中的最佳点。我们的技术使用负载均衡,考虑到CPU,网络和I/O成本以及计算和存储节点上的负载。我们已经在Hadoop、Spark和Muppet流处理引擎上实现了我们的技术。我们的实验表明,我们的优化技术提供了一个显着的提高吞吐量超过现有的技术。
英文摘要:
Applications running on parallel systems often need to join a streaming relation or a stored relation with data indexed in a parallel data storage system. Some applications also compute UDFs on the joined tuples. The join can be done at the data storage nodes, corresponding to reduce side joins, or by fetching data from the storage system to compute nodes, corresponding to map side join. Both may be suboptimal: reduce side joins may cause skew, while map side joins may lead to a lot of data being transferred and replicated. In this paper, we present techniques to make runtime decisions between the two options on a per key basis, in order to improve the throughput of the join, accounting for UDF computation if any. Our techniques are based on an extended ski-rental algorithm and provide worst-case performance guarantees with respect to the optimal point in the space considered by us. Our techniques use load balancing taking into account the CPU, network and I/O costs as well as the load on compute and storage nodes. We have implemented our techniques on Hadoop, Spark and the Muppet stream processing engine. Our experiments show that our optimization techniques provide a significant improvement in throughput over existing techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。