incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary <daxia...@gmail.com>
Subject Digg's data model
Date Fri, 19 Mar 2010 19:16:28 GMT
I am a newbie to bigtable like model and have a question as follows. Take
Digg as an example, I want to find a list users who dug a URL and also want
to find a list of URLs a user dug. How should the data model look like for
the queries to be efficient? If I use the username and the URL for two rows,
when a user digs a URL, I will have to update two rows so I need a
transaction to keep data consistent.

Any thoughts?

Thanks,
Gary

Mime
View raw message