Accelerating Prolly Trees: Simplified Chunking for Rapid Updates

View at publisher
Authors: Abhimanyu Rawat, Tarun Kumar Vangani, Vanesa Daza
Cited by: 0
References: 5

Abstract

Amidst the growing reliance on Conflict-free Replicated Data Types (CRDTs) for synchronizing data across distributed networks, our research introduces a novel implementation of Prolly trees that addresses a critical instability in classical designs: cascading rechunking, where a single insertion can trigger boundary changes propagating through multiple chunks, causing O ( N ) restructuring operations in the worst case. Our optimized design provides strong update locality guarantees, ensuring each insertion affects at most one chunk plus an O ( H ) anchor path update, requiring \(\leq 2H\) hash computations while preserving the expected tree height of \(\lceil\log_{1/P_{b}}N\rceil\) with high probability (where H is tree height, \(P_{b}=1/Q\) is the boundary probability, Q is expected chunk size, and N is the number of elements). We achieve these measurable guarantees through three key innovations: (1) a deterministic chunking algorithm that eliminates cascading effects by localizing boundary decisions, (2) anchor nodes along the rightmost path that maintain structural stability during sequential insertions, and (3) a batch insertion mechanism that amortizes update costs. Developed in Golang for execution speed and Python for adaptability, our implementation demonstrates that these theoretical guarantees translate to significant practical improvements: 30–50% reduction in insertion time for DoltHub workloads and multiple-fold performance increases for Canvas operations. Comprehensive benchmarking validates our core claim of bounded update complexity, consistently showing \(\leq 2H\) hash operations per insertion across diverse workloads while maintaining logarithmic height even under adversarial patterns, establishing our design as a robust solution for production environments requiring predictable performance in blockchain and distributed synchronization applications.

Fields of Study & Subjects

Distributed systems and fault tolerance Peer-to-Peer Network Technologies Modular Robots and Swarm Intelligence

Publication details

Journal / source
Distributed Ledger Technologies Research and Practice
Volume
6
Issue
1
Pages
1–24
Publication date
7 January 2026
Language
EN