arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.08356cs.DBcs.DC
收藏

CUTTANA:面向更快分布式图数据库与分析的可扩展图划分方法

CUTTANA: Scalable Graph Partitioning for Faster Distributed Graph Databases and Analytics

Milad Rezaei Hajidehi, Sraavan Sridhar, Margo Seltzer

AI总结:

针对大规模图无法单存、现有流式划分质量低的问题,提出带缓冲、粗化细化技术的CUTTANA流式划分器,在保证延迟相当的同时提升划分质量,优化图分析与数据库性能。

摘要:

图划分在各类分布式图处理应用中发挥着核心作用,包括图分析、图神经网络训练以及分布式图数据库。需要分布式部署的图通常规模过大,无法装入单台机器的主存。这一挑战使得传统内存式图划分器不再可行,进而催生了流式解决方案。流式划分器生成的划分质量较低,因为它们仅基于部分信息工作,且必须在尚未完整获取顶点邻域视图的情况下做出过早决策。我们提出了CUTTANA,这是一种流式图划分器,能够对Web级/Twitter级的大规模图进行划分,且划分质量优于现有流式解决方案。CUTTANA采用了一种新颖的缓冲技术,可避免将顶点过早分配到分区;同时采用可扩展的粗化与细化技术,能够获取完整的图视图,从而改进流式划分器生成的中间分配结果。我们实现了CUTTANA的并行版本,其划分延迟与现有流式划分器几乎持平。\n我们的实验分析表明,在边割和通信量两个指标上,CUTTANA的划分质量始终优于现有最先进的流式顶点划分器。我们还评估了在分布式图分析和数据库中使用CUTTANA及其他划分器所产生的工作负载延迟。在大多数场景(不同算法、数据集)下,CUTTANA的表现均优于其他方法。在分析应用中,与各类流式划分器(HDRF、Fennel、Ginger、HeiStream)相比,CUTTANA将运行时性能提升了最高59%。在图数据库任务中,CUTTANA可将查询吞吐量提升最高23%,且不会损害尾延迟。

英文摘要:

Graph partitioning plays a pivotal role in various distributed graph processing applications, including graph analytics, graph neural network training, and distributed graph databases. Graphs that require distributed settings are often too large to fit in the main memory of a single machine. This challenge renders traditional in-memory graph partitioners infeasible, leading to the emergence of streaming solutions. Streaming partitioners produce lower-quality partitions because they work from partial information and must make premature decisions before they have a complete view of a vertex's neighborhood. We introduce CUTTANA, a streaming graph partitioner that partitions massive graphs (Web/Twitter scale) with superior quality compared to existing streaming solutions. CUTTANA uses a novel buffering technique that prevents the premature assignment of vertices to partitions and a scalable coarsening and refinement technique that enables a complete graph view, improving the intermediate assignment made by a streaming partitioner. We implemented a parallel version for CUTTANA that offers nearly the same partitioning latency as existing streaming partitioners. Our experimental analysis shows that CUTTANA consistently yields better partitioning quality than existing state-of-the-art streaming vertex partitioners in terms of both edge-cut and communication volume metrics. We also evaluate the workload latencies that result from using CUTTANA and other partitioners in distributed graph analytics and databases. CUTTANA outperforms the other methods in most scenarios (algorithms, datasets). In analytics applications, CUTTANA improves runtime performance by up to 59% compared to various streaming partitioners (HDRF, Fennel, Ginger, HeiStream). In graph database tasks, CUTTANA results in higher query throughput by up to 23%, without hurting tail latency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑