Hi,

I'm quite an amateur on Memcached, please excuse me if my understanding is 
not correct. I'm trying to connect to AWS ElastiCache Memcached servers 
from my Spring service. As per my understanding cache key hashing is done 
at two locations.
1. client side to decide the Memcache node
2. at Memcache node to get the value corresponding to the key

For hashing in Memcached server, I found that two possible algorithms are 
Jenkins and Murmur. [1] For client-side hashing, I see several default 
algorithms provided in net.spy.memcached.DefaultHashAlgorithm class. But I 
cannot see Murmur algorithm in the Java client library as a default 
algorithm. I'm trying to add Murmur as a custom implementation and load it 
to my application. 

Can you please let me know, whether there is a reason for not including 
Murmur in client-side even though its there in the Server side. I have read 
that Murmur3 is a better algorithm to use for non-crypto hashing but has it 
proved otherwise for this "node selection" scenario. Also please correct me 
if my understanding is not correct.

[1]. 
https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/ParameterGroups.Memcached.html

Thanks,
Eranda

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"memcached" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to