最优无协调唯一标识符
Optimal Uncoordinated Unique IDs
AI总结:
本文首次系统研究无协调唯一标识符问题,提出并分析多种算法,在遗忘型和自适应型对手下分别实现最坏情况最优、对数近似最优及竞争最优的碰撞概率保障。
摘要:
在无协调唯一标识符问题(UUIDP)中,存在 $n$ 个独立的算法 $\mathcal{A}$ 实例,它们从全集 $\{1, \dots, m\}$ 中生成 ID,并且存在一个对手向这些实例请求 ID。目标是设计 $\mathcal{A}$,使其最小化在所有实例中同一 ID 被生成两次的概率,即最小化碰撞概率。关键之处在于,$\mathcal{A}$ 的各个实例之间无法进行任何通信。UUIDP 的解决方案通常被用作分布式数据库和键值存储中代理键生成的机制。尽管该问题具有实际意义,但我们尚未发现此前有关于 UUIDP 的理论研究。在本文中,我们开创了对 UUIDP 的系统性研究。我们分析了针对该问题的现有算法和新算法,并针对遗忘型对手和自适应型对手,使用最坏情况分析和竞争分析评估了它们的碰撞概率。特别地,我们提出了一个在遗忘型对手下最坏情况最优的算法,一个在自适应型对手下最坏情况与最优相差至多对数因子的算法,以及一个在遗忘型和自适应型对手下都具有竞争最优性的算法。
英文摘要:
In the Uncoordinated Unique Identifiers Problem (UUIDP) there are $n$ independent instances of an algorithm $\mathcal{A}$ that generates IDs from a universe $\{1, \dots, m\}$, and there is an adversary that requests IDs from these instances. The goal is to design $\mathcal{A}$ such that it minimizes the probability that the same ID is ever generated twice across all instances, that is, minimizes the collision probability. Crucially, no communication between the instances of $\mathcal{A}$ is possible. Solutions to the UUIDP are often used as mechanisms for surrogate key generation in distributed databases and key-value stores. In spite of its practical relevance, we know of no prior theoretical work on the UUIDP. In this paper we initiate the systematic study of the UUIDP. We analyze both existing and novel algorithms for this problem, and evaluate their collision probability using worst-case analysis and competitive analysis, against oblivious and adaptive adversaries. In particular, we present an algorithm that is optimal in the worst case against oblivious adversaries, an algorithm that is at most a logarithmic factor away from optimal in the worst case against adaptive adversaries, and an algorithm that is optimal in the competitive sense against both oblivious and adaptive adversaries.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。