TY - JOUR
T1 - AnchorHash
T2 - A Scalable Consistent Hash
AU - Mendelson, Gal
AU - Vargaftik, Shay
AU - Barabash, Katherine
AU - Lorenz, Dean H.
AU - Keslassy, Isaac
AU - Orda, Ariel
N1 - Funding Information: Manuscript received April 30, 2019; revised April 20, 2020; accepted October 28, 2020; approved by IEEE/ACM TRANSACTIONS ON NETWORK-ING Editor K. Argyraki. Date of publication December 9, 2020; date of current version April 16, 2021. This work was supported in part by the Hasso Plattner Institute Research School, the Israel Science Foundation, under Grant 1119/19, in part by the Technion Hiroshi Fujiwara Cyber Security Research Center, and in part by the Israel Cyber Bureau. (Corresponding author: Gal Mendelson.) Gal Mendelson is with the Viterbi Faculty of Electrical Engineering, Technion, Haifa 3200003, Israel, and also with IBM Research, Haifa 3498825, Israel (e-mail: [email protected]). Publisher Copyright: © 1993-2012 IEEE.
PY - 2021/4
Y1 - 2021/4
N2 - Consistent hashing is a central building block in many networking applications, such as maintaining connection affinity of TCP flows. However, current consistent hashing solutions do not ensure full consistency under arbitrary changes or scale poorly in terms of memory footprint, update time and key lookup complexity. We present AnchorHash, a scalable and fully-consistent hashing algorithm. AnchorHash achieves high key lookup rate, low memory footprint and low update time. We formally establish its strong theoretical guarantees, and present an advanced implementation with a memory footprint of only a few bytes per resource. Moreover, evaluations indicate that AnchorHash scales on a single core to 100 million resources while still achieving a key lookup rate of more than 15 million keys per second.
AB - Consistent hashing is a central building block in many networking applications, such as maintaining connection affinity of TCP flows. However, current consistent hashing solutions do not ensure full consistency under arbitrary changes or scale poorly in terms of memory footprint, update time and key lookup complexity. We present AnchorHash, a scalable and fully-consistent hashing algorithm. AnchorHash achieves high key lookup rate, low memory footprint and low update time. We formally establish its strong theoretical guarantees, and present an advanced implementation with a memory footprint of only a few bytes per resource. Moreover, evaluations indicate that AnchorHash scales on a single core to 100 million resources while still achieving a key lookup rate of more than 15 million keys per second.
KW - Consistent hashing
KW - load balancing
UR - https://www.scopus.com/pages/publications/85097961649
U2 - 10.1109/TNET.2020.3039547
DO - 10.1109/TNET.2020.3039547
M3 - Article
SN - 1063-6692
VL - 29
SP - 517
EP - 528
JO - IEEE/ACM Transactions on Networking
JF - IEEE/ACM Transactions on Networking
IS - 2
M1 - 9288994
ER -