Hey Brian,

could you please elaborate more on consistent hashing, is there any
algorithm or standard practise available to follow in a case where we
need to add server, without/close-to-negligible remapping of keys?

Thanks.

-sag


On Feb 2, 10:00 pm, Brian Aker <[email protected]> wrote:
> Hi!
>
> On Jan 28, 2010, at 10:06 PM, nEosAg wrote:
>
> > 1. If i changed my Hashing policy to "consistent" then what will be
> > the impact on code, memecache Data etc.
>
> pecl/memcache uses CRC/modular, while libmemcached by default will use 
> "one-at-a-time"/Modula by default. If you switch to crc then the two 
> libraries should be compatible. The CRC is based on the code found in 
> Postgres.
>
> If you use "consistent" then the two will not map at all (well... by chance).
>
> Cheers,
>         -Brian

Reply via email to