cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kallin Nagelberg <kallin.nagelb...@gmail.com>
Subject Re: unique key generation
Date Mon, 07 Feb 2011 22:11:14 GMT
Maybe I can just use java5's UUID.. Need to research how this is
effective across multiple clients..

On Mon, Feb 7, 2011 at 4:57 PM, Kallin Nagelberg
<kallin.nagelberg@gmail.com> wrote:
> Hey,
>
> I am developing a session management system using Cassandra and need
> to generate unique sessionIDs (cassandra columnfamily keys). Does
> anyone know of an elegant/simple way to accomplish this? I am not sure
> about using time based uuids on the client as there a chance that
> multiple clients could generate the same ID. I've heard suggestions of
> using zookeeper as a source for the IDs, but was just hoping that
> there might be something simpler for my purposes.
>
> Thanks,
> -Kal
>

Mime
View raw message