arXiv · 2509.14433
Fast and Compact Sketch-Based Dynamic Connectivity
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/\log\log 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.
Explore related subjects
Keep this discovery
Quinten De Man, Qamber Jafri, Daniel Delayo, Evan T. West, Michael A. Bender, David Tench. 2025-09-17. Fast and Compact Sketch-Based Dynamic Connectivity. https://arxiv.org/abs/2509.14433
Cite the original work for its findings. Save a collection to share your selection of sources.