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.
Learning a Partitioning Advisor with Deep Reinforcement Learning
Microsoft Azure SQL数据仓库或Amazon Redshift等商业数据分析产品为云中的OLAP式工作负载提供了即用型横向扩展数据库解决方案。虽然云提供商通常会完全自动化数据库集群的配置,但客户通常仍然需要做出重要的设计决策,这些决策通常由数据库管理员做出,例如选择分区方案。在本文中,我们介绍了一种基于深度强化学习(DRL)的分析OLAP风格工作负载的学习分区顾问。其主要思想是DRL代理通过监视不同工作负载和分区方案的奖励来根据经验学习决策。我们评估我们的经验教训分区顾问在不同的数据库模式和工作负载的不同复杂性的实验评估。在评估中,我们表明,我们的顾问不仅能够找到优于现有自动分区设计方法的分区,而且还可以轻松地适应不同的部署。这在云设置中尤其重要,客户可以轻松地将其集群迁移到一组新的(虚拟)机器。
On Demand Memory Specialization for Distributed Graph Databases
在本文中,我们提出了DN-树,这是一种数据结构,建立有损摘要的频繁数据访问模式的查询在分布式图数据管理系统。这些紧凑的表示允许我们在分布式系统中有效地通信数据结构。我们利用这种数据结构与一个新的\textit{Dynamic Data Partitioning}战略(DYDAP),分配的部分图根据历史数据访问模式,并保证一个小的网络通信和分布式图查询的计算负载平衡。该方法能够动态地适应新的工作负载,并在查询分布发生变化时进行演化。我们的实验表明,DYDAP产生的吞吐量高达一个数量级高于以前的方法的基础上缓存专门化,在各种情况下,和系统的平均响应时间除以2。