How does Aerospike hash the key to store on the cluster?


#1

Hi,

We want to know how does Aerospike hashes the keys to store on the cluster. Can we have same key name on difference namespace or set within same namespace without collision.

What are the essential parameters to hash function apart from the key itself.

Thanks, Manish


#2

Each namespace has its own keyspace.

Yes, you may have the same key in multiple sets.

The computation is something along the lines of:

ripemd160(SET_NAME, KEY_TYPE, KEY )