You can choose your distribution method by setting MEMCACHED_BEHAVIOR_DISTRIBUTION
The possible values are : MEMCACHED_DISTRIBUTION_MODULA MEMCACHED_DISTRIBUTION_CONSISTENT or MEMCACHED_DISTRIBUTION_CONSISTENT_KETAMA (exactly the same) MODULA uses the modulo to distribute the keys. CONSISTENT uses the consistent hashing (ketama). I let you have a look on the internet if you want to understand better how they work. Cheers Nico On 7 juin, 14:47, niharika <[email protected]> wrote: > Please guide me .. > > I am using memcahed and want to understand how the keys are > distributed to the servers.... > what algorithm is used to distribute it ??/
