An Efficient Memoization Engine for Concurrent Graph Query Processing
Sen Gao, Shengliang Lu, Shixuan Sun, Yuchen Li, Bingsheng He
Abstract
Concurrent graph query (CGQ) processing has been used to solve a wide range of graph applications. By analyzing real-world workloads of CGQs, we observe significant repeated computations among the queries. In this work, we present KGraph, a novel graph processing memoization engine to efficiently handle CGQs on large graphs by performing memoization on graphs. However, the efficacy of memoization in optimizing CGQs on large graphs is constrained by substantial computational and memory overheads, coupled with the potential amount of sharing opportunities. Thus, we develop two novel approaches in KGraph to address the memoization overhead. First, we develop a fine-grained memoization method, which only maintains query results within their associated graph partitions. This approach not only reduces the overhead but also enhances the potential for sharing. Secondly, we selectively perform memoization on pivotal queries, those with a high likelihood of promoting substantial computation sharing among CGQs, while avoiding the excessive overhead associated with managing unnecessary memoization across a large number of queries. We comprehensively analyze KGraph's performance using five popular CGQ applications. Experimental results show that our system achieves an average speedup of 4.2× over the state-of-the-art CGQ systems.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext cabb6390-0f98-4378-922c-62dbd61fdca0Builds on9
- GraphWalker: An I/O-Efficient and Resource-Friendly Graph Analytic System for Fast and Scalable Random WalksRui Wang, Yongkun Li, Hong Xie, Yinlong Xu et al.USENIX ATC 2020 · 64 citations
- Traversing Large Graphs on GPUs with Unified MemoryPrasun Gera, Hyojong Kim, Piyush Sao, Hyesoon Kim et al.VLDB 2020 · 58 citations
- Tripoline: generalized incremental graph processing via graph triangle inequalityXiaolin Jiang, Chengshuo Xu, Xizhe Yin, Zhijia Zhao et al.EuroSys 2021 · 33 citations
- ThunderRW: An In-Memory Graph Random Walk EngineShixuan Sun, Yuhang Chen, Shengliang Lu, Bingsheng He et al.VLDB 2021 · 31 citations
- Random Walks on Huge Graphs at Cache EfficiencyKe Yang, Xiaosong Ma, Saravanan Thirumuruganathan, Kang Chen et al.SOSP 2021 · 26 citations
Related papers
- Core Graph: Exploiting Edge Centrality to Speedup the Evaluation of Iterative Graph QueriesXiaolin Jiang, Mahbod Afarin, Zhijia Zhao, Nael B. Abu-Ghazaleh et al.EuroSys 2024 · 8 citations
- Locality Sensitive Hashing for Optimizing Subgraph Query Processing in Parallel Computing SystemsPeng Peng, Shengyi Ji, Zhen Tian, Hongbo Jiang et al.KDD 2023 · 1 citation
- Aquila: A High-Concurrency System for Incremental Graph QueryZiqi Zou, Hao Zhang, Jiaxin Yao, Kangfei Zhao et al.VLDB 2026
- PairGraph: An Efficient Search-space-aware Accelerator for High-performance Concurrent Pairwise QueriesYutao Fu, Zhongtian Long, Yu Zhang, Zirui He et al.DAC 2025 · 1 citation
- CGgraph: An Ultra-fast Graph Processing System on Modern Commodity CPU-GPU Co-processorPengjie Cui, Haotian Liu, Bo Tang, Ye YuanVLDB 2024 · 18 citations
