Fast and Compact Sketch-Based Dynamic Connectivity

📅 2025-09-17
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
Dynamic connectivity on large dense graphs poses a fundamental challenge: existing systems fail to simultaneously achieve low query latency, high update throughput, and small memory footprint. This paper presents the first dynamic connectivity algorithm provably optimal in all three dimensions—space complexity, query time, and parallel update efficiency. Leveraging graph sketching techniques and compact parallel data structures, we design CUPCaKE, a system that supports microsecond-scale connectivity queries, sustains over one million updates per second, and reduces memory consumption by an order of magnitude. Experimental evaluation demonstrates that CUPCaKE consistently outperforms state-of-the-art systems on dense graphs, achieving, for the first time, joint optimization across these three critical performance metrics.

Technology Category

Application Category

📝 Abstract
We study the dynamic connectivity problem for massive, dense graphs. Our goal is to build a system for dense graphs that simultaneously answers connectivity queries quickly, maintains a fast update throughput, and a uses a small amount of memory. Existing systems at best achieve two of these three performance goals at once. We present a parallel dynamic connectivity algorithm using graph sketching techniques that has space complexity $O(V log^3 V)$ and query complexity $O(log V/loglog V)$. Its updates are fast and parallel: in the worst case, it performs updates in $O(log^2 V)$ depth and $O(log^4 V)$ work. For updates which don't change the spanning forests maintained by our data structure, the update complexity is $O(log V)$ depth and $O(log^2 V)$ work. We also present CUPCaKE (Compact Updating Parallel Connectivity and Sketching Engine), a dynamic connectivity system based on our parallel algorithm. It uses an order of magnitude less memory than the best lossless systems on dense graph inputs, answers queries with microsecond latency, and ingests millions of updates per second on dense graphs.
Problem

Research questions and friction points this paper is trying to address.

Solving dynamic connectivity for massive dense graphs
Achieving fast queries, updates, and compact memory simultaneously
Overcoming existing systems' limitation of only two performance goals
Innovation

Methods, ideas, or system contributions that make the work stand out.

Parallel dynamic connectivity using graph sketching
Space complexity O(V log^3 V) with fast queries
CUPCaKE system with microsecond latency and high throughput
🔎 Similar Papers
2024-10-01arXiv.orgCitations: 0
Quinten De Man
Quinten De Man
PhD Student, University of Maryland
Parallel algorithmsDynamic algorithms
Q
Qamber Jafri
Stony Brook University
D
Daniel Delayo
Stony Brook University
E
Evan T. West
Stony Brook University
D
David Tench
Lawrence Berkeley National Lab
Michael A. Bender
Michael A. Bender
Stony Brook University
AlgorithmsData StructuresDatabasesBig DataParallel Computing