Meep Hashing: Ultrafast and Compact Minimal Perfect Hashing for Practical Large-Scale Lookup Systems
Shouqian Shi, Diancheng Luo, Jacques Liao, Yi Liu, Xingsheng Zhao, Matthew Fahrbach, Chen Qian
摘要
Minimal perfect hashing (MPH) is a class of algorithms that maps a set of N keys to the range 0, 1, …, N -1 without collisions. MPH is widely employed in modern large-scale applications including distributed storage indexes, network packet classification, genomic encoding in Bioinformatics, etc. In practice, these systems are often augmented with alien-key filters to ensure robustness against unexpected inputs. This paper introduces Meep hashing, a novel minimal perfect hashing algorithm designed for ultrafast lookup with an integrated alien-key filtering mechanism. Among existing lookup systems, Meep achieves the lowest on-average and tail lookup latency while maintaining a memory footprint comparable to the most compact perfect hashing data structures. It supports configurable target false positive rates for alien-key filtering, enabling flexible trade-offs between accuracy and efficiency. The performance advantages of Meep are realized through a hybrid orchestration of Cuckoo-based and probing-based hashing techniques, combined with a collision resolution strategy that handles four distinct collision types with minimal or zero additional overhead. We implement Meep and evaluate its efficacy in lookup speed, memory footprint, and construction time using microbenchmarks. Experimental results show that Meep hashing is consistently 50% to 200% faster than the other MPHs and 100% faster than the other MHTs. Meep achieves more than 7 billion queries per second under Zipfian query key distribution on a single machine with 20 parallel lookup threads.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- PTHash: Revisiting FCH Minimal Perfect HashingGiulio Ermanno Pibiri, Roberto TraniSIGIR 2021 · 被引用 34 次
- MapEmbed: Perfect Hashing with High Load Factor and Fast UpdateYuhan Wu, Zirui Liu, Xiang Yu, Jie Gui 等KDD 2021 · 被引用 14 次
- Constructing Minimal Perfect Hash Functions Using SAT TechnologySean A. Weaver, Marijn HeuleAAAI 2020 · 被引用 6 次
- GPH: An Efficient and Effective Perfect Hashing Scheme for GPU ArchitecturesJiaping Cao, Le Xu, Man Lung Yiu, Jianbin Qin 等SIGMOD 2025 · 被引用 4 次
- Extendible RDMA-Based Remote Memory KV Store with Dynamic Perfect Hashing IndexZirui Liu, Xian Niu, Wei Zhou, Yisen Hong 等ICDE 2025 · 被引用 1 次
