EAGr:支持大型动态图上连续自我中心聚集映射
EAGr: Supporting Continuous Ego-centric Aggregate Queries over Large Dynamic Graphs
摘要:
在这项工作中,我们提出了EAGr,一个系统,用于支持大量的连续邻域为基础的(“自我为中心”)聚合查询大,高度动态,快速发展的图形。这样的查询的示例包括社交网络中的个性化定制趋势的计算、金融交易网络中的异常/事件检测、时空网络中的本地搜索和警报,仅举几例。支持这种连续查询的关键挑战包括在这些情况下通常会看到的高更新率,需要同时执行的大量查询以及严格的低延迟要求。我们提出了一个灵活的,通用的,可扩展的内存框架,用于执行不同类型的以自我为中心的聚合查询在大型动态图与低延迟。我们的框架是围绕聚合覆盖图的概念构建的,聚合覆盖图是一种预编译的数据结构,它对接收到更新/查询时要执行的计算进行编码。覆盖图使得能够跨多个以自我为中心的查询(对应于图中的节点)共享部分聚合,并且还允许聚合的部分预计算以最小化查询延迟。我们提出了几个高度可扩展的技术,用于构建一个覆盖图的聚合功能,并设计增量算法处理底层图形的结构变化。我们还提出了一个最佳的,多项式时间的算法,使预先计算的决策覆盖图,并评估一种方法,以逐步适应这些决定的工作量的变化。虽然我们的方法是自然并行化,我们专注于一个单机部署,并表明我们的技术可以很容易地处理图形的大小高达3.2亿个节点和边缘,并实现更新/查询吞吐量超过500 K/s使用一个单一的,功能强大的机器。
英文摘要:
In this work, we present EAGr, a system for supporting large numbers of continuous neighborhood-based ("ego-centric") aggregate queries over large, highly dynamic, and rapidly evolving graphs. Examples of such queries include computation of personalized, tailored trends in social networks, anomaly/event detection in financial transaction networks, local search and alerts in spatio-temporal networks, to name a few. Key challenges in supporting such continuous queries include high update rates typically seen in these situations, large numbers of queries that need to be executed simultaneously, and stringent low latency requirements. We propose a flexible, general, and extensible in-memory framework for executing different types of ego-centric aggregate queries over large dynamic graphs with low latencies. Our framework is built around the notion of an aggregation overlay graph, a pre-compiled data structure that encodes the computations to be performed when an update/query is received. The overlay graph enables sharing of partial aggregates across multiple ego-centric queries (corresponding to the nodes in the graph), and also allows partial pre-computation of the aggregates to minimize the query latencies. We present several highly scalable techniques for constructing an overlay graph given an aggregation function, and also design incremental algorithms for handling structural changes to the underlying graph. We also present an optimal, polynomial-time algorithm for making the pre-computation decisions given an overlay graph, and evaluate an approach to incrementally adapt those decisions as the workload changes. Although our approach is naturally parallelizable, we focus on a single-machine deployment and show that our techniques can easily handle graphs of size up to 320 million nodes and edges, and achieve update/query throughputs of over 500K/s using a single, powerful machine.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。