CommonGraph: Graph Analytics on Evolving Data

被引:17
作者
Afarin, Mahbod [1 ]
Gao, Chao [1 ]
Rahman, Shafiur [1 ]
Abu-Ghazaleh, Nael [1 ]
Gupta, Rajiv [1 ]
机构
[1] UC Riverside, CSE Dept, Riverside, CA 92521 USA
来源
PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, VOL 2, ASPLOS 2023 | 2023年
基金
美国国家科学基金会;
关键词
evolving graphs; iterative graph algorithms; work sharing;
D O I
10.1145/3575693.3575713
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We consider the problem of graph analytics on evolving graphs (i.e., graphs that change over time). In this scenario, a query typically needs to be applied to different snapshots of the graph over an extended time window, for example to track the evolution of a property over time. Solving a query independently on multiple snapshots is inefficient due to repeated execution of subcomputation common to multiple snapshots. At the same time, we show that using streaming, where we start from the earliest snapshot and stream the changes to the graph incrementally updating the query results one snapshot at a time is also inefficient. We propose CommonGraph, an approach for efficient processing of queries on evolving graphs. We first observe that deletion operations are significantly more expensive than addition operations for many graph queries (those that are monotonic). CommonGraph converts all deletions to additions by finding a common graph that exists across all snapshots. After computing the query on this graph, to reach any snapshot, we simply need to add the missing edges and incrementally update the query results. CommonGraph also allows sharing of common additions among snapshots that require them, and breaks the sequential dependency inherent in the traditional streaming approach where snapshots are processed in sequence, enabling additional opportunities for parallelism. We incorporate the CommonGraph approach by extending the KickStarter streaming framework. We implement optimizations that enable efficient handling of edge additions without resorting to expensive in place graph mutations, significantly reducing the streaming overhead, and enabling direct reuse of shared edges among different snapshots. CommonGraph achieves 1.38x-8.17x improvement in performance over Kickstarter across multiple benchmarks.
引用
收藏
页码:133 / 145
页数:13
相关论文
共 46 条
[1]   A Scalable Processing-in-Memory Accelerator for Parallel Graph Processing [J].
Ahn, Junwhan ;
Hong, Sungpack ;
Yoo, Sungjoo ;
Mutlu, Onur ;
Choi, Kiyoung .
2015 ACM/IEEE 42ND ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA), 2015, :105-117
[2]   DBpedia: A nucleus for a web of open data [J].
Auer, Soeren ;
Bizer, Christian ;
Kobilarov, Georgi ;
Lehmann, Jens ;
Cyganiak, Richard ;
Ives, Zachary .
SEMANTIC WEB, PROCEEDINGS, 2007, 4825 :722-+
[3]  
Backstrom L., 2006, P KDD 06, P44, DOI [10.1145/1150402.1150412, DOI 10.1145/1150402.1150412]
[4]   Improving Streaming Graph Processing Performance using Input Knowledge [J].
Basak, Abanti ;
Qu, Zheng ;
Lin, Jilan ;
Alameldeen, Alaa ;
Chishti, Zeshan ;
Ding, Yufei ;
Xie, Yuan .
PROCEEDINGS OF 54TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE, MICRO 2021, 2021, :1036-1050
[5]   Practice of Streaming Processing of Dynamic Graphs: Concepts, Models, and Systems [J].
Besta, Maciej ;
Fischer, Marc ;
Kalavri, Vasiliki ;
Kapralov, Michael ;
Hoefler, Torsten .
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2023, 34 (06) :1860-1876
[6]   Complex brain networks: graph theoretical analysis of structural and functional systems [J].
Bullmore, Edward T. ;
Sporns, Olaf .
NATURE REVIEWS NEUROSCIENCE, 2009, 10 (03) :186-198
[7]   Detecting tension in online communities with computational Twitter analysis [J].
Burnap, Pete ;
Rana, Omer F. ;
Avis, Nick ;
Williams, Matthew ;
Housley, William ;
Edwards, Adam ;
Morgan, Jeffrey ;
Sloan, Luke .
TECHNOLOGICAL FORECASTING AND SOCIAL CHANGE, 2015, 95 :96-108
[8]  
Cheng Raymond., 2012, EuroSys, P85
[9]   One Trillion Edges: Graph Processing at Facebook-Scale [J].
Ching, Avery ;
Edunov, Sergey ;
Kabiljo, Maja ;
Logothetis, Dionysios ;
Muthukrishnan, Sambavi .
PROCEEDINGS OF THE VLDB ENDOWMENT, 2015, 8 (12) :1804-1815
[10]   PolyGraph: Exposing the Value of Flexibility for Graph Processing Accelerators [J].
Dadu, Vidushi ;
Liu, Sihao ;
Nowatzki, Tony .
2021 ACM/IEEE 48TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA 2021), 2021, :595-608