> 2. Even if consistent hashing is implemented in all memcached clients,
> do the implementations agree? In other words (could not avoid the pun
> here):

I did some looking into this before and found that there is great
disparity in consistent hashing implementations. At the time, I found
that the consistent hashing implementation in libmemcached was
incompatible with spymemcached (Java), and both were incompatible with
the original ketama implementation provided by last.fm
(http://www.last.fm/user/RJ/journal/2007/04/10/rz_libketama_-a_consistent_hashing_algo_for_memcache_clients).
Although it was a while ago, I was unable to find a matrix of
compatibility comparisons.

> 3. If I add/drop memcached servers, do I have to restart memcached
> clients.

This seems to vary from implementation to implementation.
GP


On Sun, Nov 16, 2008 at 4:34 PM, Soumen Sarkar <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am introducing memcached in a server side infrastructure comprising
> of C++, PHP and Python code. I understand that memcached clients are
> available in C/PHP/Python. However I have few questions:
>
> 1. Is consistent hashing implemented in all memcached clients (C, PHP
> and Python)
>
> 2. Even if consistent hashing is implemented in all memcached clients,
> do the implementations agree? In other words (could not avoid the pun
> here):
>
>      Is consistent hashing implemented consistently the same in all
> memcached clients by following a standard?
>
> If the answer is no, then I plan to use only libmemcached in the
> architecture with access from C++/PHP/Python.
>
> 3. If I add/drop memcached servers, do I have to restart memcached
> clients.
>
> Thanks so much for sharing your expertise.
>
> Best regards,
> Soumen Sarkar
>

Reply via email to