Algorithm 1 Insert(x) |
Input. Output. true/false 1: 2: 3: for to do 4: calculate hash values 5: acquiring buckets corresponding to hash values from a hash ring 6: if contains an empty entry e then 7: 8: return true 9: end if 10: select a fingerprint e from any bucket 11: 12: 13: end for 14: return false |