arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.12531cs.DScs.DBcs.NI
收藏

SALSA:自调整精益流分析

SALSA: Self-Adjusting Lean Streaming Analytics

Ran Ben Basat, Gil Einziger, Michael Mitzenmacher, Shay Vargaftik

摘要:

计数器是许多数据绘制方案的基本构建块,其将项散列到少量计数器并考虑冲突以提供频率和其他度量的良好近似。大多数现有的方法依赖于固定大小的计数器,这在空间方面可能是浪费的,因为计数器必须足够大以消除任何溢出的风险。相反,有些解决方案使用小的、固定大小的计数器,这些计数器可能会溢出到二级结构中。本文采取了不同的方法。我们提出了一个简单而通用的方法称为SALSA的动态调整计数器的大小,并显示其有效性。SALSA从小计数器开始,溢出的计数器简单地与它们的邻居合并。因此,SALSA可以在给定的空间中允许更多的计数器,并根据需要扩展它们以表示大的数字。我们的评估表明,在一个小的开销为代价的合并逻辑,SALSA显着提高了流行的计划(如计数最小草图和计数草图)在各种任务的准确性。我们的代码是开源的[1]。

英文摘要:

Counters are the fundamental building block of many data sketching schemes, which hash items to a small number of counters and account for collisions to provide good approximations for frequencies and other measures. Most existing methods rely on fixed-size counters, which may be wasteful in terms of space, as counters must be large enough to eliminate any risk of overflow. Instead, some solutions use small, fixed-size counters that may overflow into secondary structures. This paper takes a different approach. We propose a simple and general method called SALSA for dynamic re-sizing of counters and show its effectiveness. SALSA starts with small counters, and overflowing counters simply merge with their neighbors. SALSA can thereby allow more counters for a given space, expanding them as necessary to represent large numbers. Our evaluation demonstrates that, at the cost of a small overhead for its merging logic, SALSA significantly improves the accuracy of popular schemes (such as Count-Min Sketch and Count Sketch) over a variety of tasks. Our code is released as open-source [1].

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑