分布式环境中提高协同定位性能的数据放置和路径选择
Data Placement and Replica Selection for Improving Co-location in Distributed Environments
摘要:
在许多应用领域中,对大规模数据分析的需求不断增加,导致分布式数据管理系统的数量急剧增加,包括并行关系数据库和支持MapReduce等替代框架的系统。因此,对稀缺的数据中心资源(如网络带宽)的竞争日益增加;此外,为计算设备供电的能量需求也急剧增长。正如我们经验表明,通过在大量机器上分散数据来增加执行并行性可以实现减少查询延迟的预期目标,但在大多数情况下,可能会显着增加总资源和能源消耗。然而,对于许多分析工作负载,最小化查询延迟通常并不重要;在这种情况下,我们认为我们应该专注于最小化平均查询跨度,即,通过将经常一起访问的数据项托管在一起,参与处理查询的平均机器数量。在这项工作中,我们利用的事实,大多数分布式环境需要使用复制的容错,我们设计的工作负载驱动的副本选择和放置算法,试图尽量减少平均查询跨度。我们建模的历史查询工作量跟踪一组数据项的超图,并制定和分析的问题,通过绘制连接到几个研究良好的图论概念的副本放置。我们开发了一系列的算法来决定哪些数据项进行复制,以及在哪里放置副本。我们通过展示一系列合成和真实工作负载的结果来展示我们提出的方法的有效性。我们的实验表明,仔细的数据放置和复制可以显着减少平均查询跨度,从而显着减少资源消耗。
英文摘要:
Increasing need for large-scale data analytics in a number of application domains has led to a dramatic rise in the number of distributed data management systems, both parallel relational databases, and systems that support alternative frameworks like MapReduce. There is thus an increasing contention on scarce data center resources like network bandwidth; further, the energy requirements for powering the computing equipment are also growing dramatically. As we show empirically, increasing the execution parallelism by spreading out data across a large number of machines may achieve the intended goal of decreasing query latencies, but in most cases, may increase the total resource and energy consumption significantly. For many analytical workloads, however, minimizing query latencies is often not critical; in such scenarios, we argue that we should instead focus on minimizing the average query span, i.e., the average number of machines that are involved in processing of a query, through colocation of data items that are frequently accessed together. In this work, we exploit the fact that most distributed environments need to use replication for fault tolerance, and we devise workload-driven replica selection and placement algorithms that attempt to minimize the average query span. We model a historical query workload trace as a hypergraph over a set of data items, and formulate and analyze the problem of replica placement by drawing connections to several well-studied graph theoretic concepts. We develop a series of algorithms to decide which data items to replicate, and where to place the replicas. We show effectiveness of our proposed approach by presenting results on a collection of synthetic and real workloads. Our experiments show that careful data placement and replication can dramatically reduce the average query spans resulting in significant reductions in the resource consumption.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。