Lune

SIGMOD2021Top-tier venue

RisGraph: A Real-Time Streaming System for Evolving Graphs to Support Sub-millisecond Per-update Analysis at Millions Ops/s

Guanyu Feng, Zixuan Ma, Daixuan Li, Shengqi Chen, Xiaowei Zhu, Wentao Han, Wenguang Chen

Abstract

Evolving graphs in the real world are large-scale and constantly changing, as hundreds of thousands of updates may come every second. Monotonic algorithms such as Reachability and Shortest Path are widely used in real-time analytics to gain both static and temporal insights and can be accelerated by incremental computing. Existing streaming systems adopt the incremental computing model and achieve either low latency or high throughput, but not both. However, both high throughput and low latency are required in real scenarios such as financial fraud detection.

This paper presents RisGraph, a real-time streaming system that provides low-latency analysis for each update with high throughput. RisGraph addresses the challenge with localized data access and inter-update parallelism. We propose a data structure named Indexed Adjacency Lists and use sparse arrays and Hybrid Parallel Mode to enable localized data access. To achieve inter-update parallelism, we propose a domain-specific concurrency control mechanism based on the classification of safe and unsafe updates.

Experiments show that RisGraph can ingest millions of updates per second for graphs with several hundred million vertices and billions of edges, and the P999 processing time latency is within 20 milliseconds. RisGraph achieves orders-of-magnitude improvement on throughput when analyses are executed for each update without batching, and performs better than existing systems with batches of up to 20 million updates.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

27 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Spruce: a Fast yet Space-saving Structure for Dynamic Graph Storage cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
  • CommonGraph: Graph Analytics on Evolving Data cites Improving Streaming Graph Processing Performance using Input Knowledge
  • LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites Spruce: a Fast yet Space-saving Structure for Dynamic Graph Storage
  • LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers27

  1. CommonGraph: Graph Analytics on Evolving DataMahbod Afarin, Chao Gao, Shafiur Rahman, Nael B. Abu-Ghazaleh et al.ASPLOS 2023 · 32 citations
  2. Fast Continuous Subgraph Matching over Streaming Graphs via Backtracking ReductionRongjian Yang, Zhijie Zhang, Weiguo Zheng, Jeffrey Xu YuSIGMOD 2023 · 31 citations
  3. LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSRSong Yu, Shufeng Gong, Qian Tao, Sijie Shen et al.SIGMOD 2025 · 25 citations
  4. Improving Streaming Graph Processing Performance using Input KnowledgeAbanti Basak, Zheng Qu, Jilan Lin, Alaa R. Alameldeen et al.MICRO 2021 · 20 citations
  5. Spruce: a Fast yet Space-saving Structure for Dynamic Graph StorageJifan Shi, Biao Wang, Yun XuSIGMOD 2024 · 19 citations

Builds on1

  1. LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List ScansXiaowei Zhu, Marco Serafini, Xiaosong Ma, Ashraf Aboulnaga et al.VLDB 2020 · 53 citations

Related papers

  1. ACGraph: Accelerating Streaming Graph Processing via Dependence HierarchyZihan Jiang, Fubing Mao, Yapu Guo, Xu Liu et al.DAC 2023 · 8 citations
  2. JetStream: Graph Analytics on Streaming Data with Event-Driven Hardware AcceleratorShafiur Rahman, Mahbod Afarin, Nael B. Abu-Ghazaleh, Rajiv GuptaMICRO 2021 · 31 citations
  3. Spade: A Real-Time Fraud Detection Framework on Evolving GraphsJiaxin Jiang, Yuan Li, Bingsheng He, Bryan Hooi et al.VLDB 2023 · 31 citations
  4. DZiG: sparsity-aware incremental processing of streaming graphsMugilan Mariappan, Joanna Che, Keval VoraEuroSys 2021 · 47 citations
  5. MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming GraphsSiyuan Zhang, Zhenying He, Yinan Jing, Kai Zhang et al.SIGMOD 2024 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines