cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drew Kutcharian <d...@venarc.com>
Subject Data modeling users table with CQL
Date Mon, 20 Jan 2014 22:14:48 GMT
Hey Guys,

I’m new to CQL (but have been using C* for a while now). What would be the best way to model
a users table using CQL/Cassandra 2.0 Lightweight Transactions where we would like to have:
- A unique TimeUUID as the primary key of the user
- A unique email address used for logging in

In the past I would use Zookeeper and/or Astyanax’s "Uniqueness Constraint” but I want
to see how can this be handled natively.

Cheers,

Drew


Mime
View raw message