基于批量更新与异步读取的并行 k-核分解
Parallel $k$-Core Decomposition with Batched Updates and Asynchronous Reads
AI总结:
本文提出一种混合并发-并行动态 k-核数据结构,通过跟踪更新间的因果依赖关系,使异步读取与批量更新并发执行,在保持线性一致性和近似保证的同时,将读取延迟降低数个数量级,并显著提升核数估计准确度。
摘要:
维护动态 k-核分解是一个重要问题,它用于识别动态变化图中的稠密子图。Liu 等人 [SPAA 2022] 最近的工作提出了一种并行批量动态算法,用于维护近似的 k-核分解。在他们的解决方案中,读取和更新都需要被批量处理,因此每种类型的操作都可能因等待另一种类型完成而产生较高的延迟。为了应对大多数以读取为主的真实工作负载,本文提出了一种新颖的混合并发-并行动态 k-核数据结构,其中异步读取可以与批量更新并发进行,从而显著降低读取延迟。我们的方法基于跟踪更新之间的因果依赖关系,使得具有因果关系的更新组对并发读取者表现为原子操作。我们的数据结构保证了读取和更新的线性一致性与活性,并保持了与先前工作相同的近似保证。我们在 30 核机器上的实验评估表明,与批量动态算法相比,我们的方法将读取延迟降低了数个数量级,最高达到 4.05 × 10^5 倍。与未同步(非线性一致性)的基线相比,我们的读取延迟开销最多仅高出 3.21 倍,同时将核数估计的准确度提高了最高 52.7 倍。
英文摘要:
Maintaining a dynamic $k$-core decomposition is an important problem that identifies dense subgraphs in dynamically changing graphs. Recent work by Liu et al. [SPAA 2022] presents a parallel batch-dynamic algorithm for maintaining an approximate $k$-core decomposition. In their solution, both reads and updates need to be batched, and therefore each type of operation can incur high latency waiting for the other type to finish. To tackle most real-world workloads, which are dominated by reads, this paper presents a novel hybrid concurrent-parallel dynamic $k$-core data structure where asynchronous reads can proceed concurrently with batches of updates, leading to significantly lower read latencies. Our approach is based on tracking causal dependencies between updates, so that causally related groups of updates appear atomic to concurrent readers. Our data structure guarantees linearizability and liveness for both reads and updates, and maintains the same approximation guarantees as prior work. Our experimental evaluation on a 30-core machine shows that our approach reduces read latency by orders of magnitude compared to the batch-dynamic algorithm, up to a $\left(4.05 \cdot 10^{5}\right)$-factor. Compared to an unsynchronized (non-linearizable) baseline, our read latency overhead is only up to a $3.21$-factor greater, while improving accuracy of coreness estimates by up to a factor of $52.7$.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。