重访分布式流的最优随机抽样
Optimal Random Sampling from Distributed Streams Revisited
摘要:
我们给出了一个改进的算法,从一个大的数据流中抽取随机样本时,输入元素分布在多个站点,通过一个中央协调器进行通信。在任何时间点,协调器所持有的元素集合都代表了迄今为止所观察到的所有元素集合中的均匀随机样本。当与以前的工作相比,我们的算法渐近提高系统中发送的消息的总数,以及协调器所需的计算。我们还提出了一个匹配的下限,表明我们的协议发送的消息的最佳数量的一个常数的因素,具有很大的概率。作为一个副产品,我们得到了一个改进的算法,发现在多个分布式站点的沉重打击。
英文摘要:
We give an improved algorithm for drawing a random sample from a large data stream when the input elements are distributed across multiple sites which communicate via a central coordinator. At any point in time the set of elements held by the coordinator represent a uniform random sample from the set of all the elements observed so far. When compared with prior work, our algorithms asymptotically improve the total number of messages sent in the system as well as the computation required of the coordinator. We also present a matching lower bound, showing that our protocol sends the optimal number of messages up to a constant factor with large probability. As a byproduct, we obtain an improved algorithm for finding the heavy hitters across multiple distributed sites.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。