Table of Contents
Fetching ...

Low-Latency Sliding Window Connectivity

Chao Zhang, Angela Bonifati, Tamer Özsu

TL;DR

This work tackles low-latency connectivity queries on streaming graphs under sliding windows by introducing a maximum spanning tree (MST) based indexing framework. Each window maintains one MST per connected component, enabling fast queries and efficient updates while completely eliminating the expensive replacement-edge searches that plague traditional fully dynamic connectivity approaches. By integrating diverse FDC structures (D-Tree, Link-Cut Tree) into the MST framework, the authors achieve amortized $O(\log n)$ time in the best cases and report dramatic improvements in query latency (up to $1172\times$) and throughput (up to $80\times$) with substantially lower memory usage across real and synthetic datasets. The proposed OMST variants demonstrate robust performance across varying workloads, window sizes, and slide intervals, making the approach practical for real-time streaming graph analytics.

Abstract

Connectivity queries, which check whether vertices belong to the same connected component, are fundamental in graph computations. Sliding window connectivity processes these queries over sliding windows, facilitating real-time streaming graph analytics. However, existing methods struggle with low-latency processing due to the significant overhead of continuously updating index structures as edges are inserted and deleted. We introduce a novel approach that leverages spanning trees to efficiently process queries. The novelty of this method lies in its ability to maintain spanning trees efficiently as window updates occur. Notably, our approach completely eliminates the need for replacement edge searches, a traditional bottleneck in managing spanning trees during edge deletions. We also present several optimizations to maximize the potential of spanning-tree-based indexes. Our comprehensive experimental evaluation shows that index update latency in spanning trees can be reduced by up to $458\times$ while maintaining query performance, leading to an $8\times$ improvement in throughput. Our approach also significantly outperforms the state-of-the-art in both query processing and index updates. Additionally, our methods use significantly less memory and demonstrate consistent efficiency across various settings.

Low-Latency Sliding Window Connectivity

TL;DR

This work tackles low-latency connectivity queries on streaming graphs under sliding windows by introducing a maximum spanning tree (MST) based indexing framework. Each window maintains one MST per connected component, enabling fast queries and efficient updates while completely eliminating the expensive replacement-edge searches that plague traditional fully dynamic connectivity approaches. By integrating diverse FDC structures (D-Tree, Link-Cut Tree) into the MST framework, the authors achieve amortized time in the best cases and report dramatic improvements in query latency (up to ) and throughput (up to ) with substantially lower memory usage across real and synthetic datasets. The proposed OMST variants demonstrate robust performance across varying workloads, window sizes, and slide intervals, making the approach practical for real-time streaming graph analytics.

Abstract

Connectivity queries, which check whether vertices belong to the same connected component, are fundamental in graph computations. Sliding window connectivity processes these queries over sliding windows, facilitating real-time streaming graph analytics. However, existing methods struggle with low-latency processing due to the significant overhead of continuously updating index structures as edges are inserted and deleted. We introduce a novel approach that leverages spanning trees to efficiently process queries. The novelty of this method lies in its ability to maintain spanning trees efficiently as window updates occur. Notably, our approach completely eliminates the need for replacement edge searches, a traditional bottleneck in managing spanning trees during edge deletions. We also present several optimizations to maximize the potential of spanning-tree-based indexes. Our comprehensive experimental evaluation shows that index update latency in spanning trees can be reduced by up to while maintaining query performance, leading to an improvement in throughput. Our approach also significantly outperforms the state-of-the-art in both query processing and index updates. Additionally, our methods use significantly less memory and demonstrate consistent efficiency across various settings.
Paper Structure (29 sections, 3 theorems, 10 figures, 1 table, 1 algorithm)

This paper contains 29 sections, 3 theorems, 10 figures, 1 table, 1 algorithm.

Key Result

lemma 1

If an edge $e$ is deleted from an MST during the window movement from $w_i$ to $w_{i+1}$, then all replacement edges for $e$ will also be deleted during the same window movement from $w_i$ to $w_{i+1}$

Figures (10)

  • Figure 1: Running example of sliding window connectivity.
  • Figure 2: Running example of maintaining a maximum spanning tree within window snapshots.
  • Figure 3: OMST S-Tree and OMST D-Tree.
  • Figure 4: Example of OMST LC-Tree, with preferred edges in green.
  • Figure 5: Query (Q) latency and window management (WM) latency results.
  • ...and 5 more figures

Theorems & Definitions (4)

  • definition 1: Maximum Spanning Tree
  • lemma 1
  • lemma 2
  • theorem 1