Re: Questions about data modeling

2010-06-24 Thread Dmitrii Dimandt
Indeed. So simple it didn't even cross my mind :) Thank you! On Thu, Jun 24, 2010 at 5:00 PM, wrote: > About the most popular item, you could probably store the k most popular > items in a ColumnFamily with appropriate columns, and every time someone > casts a vote, check whether they need updat

Questions about data modeling

2010-06-24 Thread Dmitrii Dimandt
I'm currently trying to wrap my head around Cassandra which is definitely not easy for a mind deeply entrenched in SQL :) I see how blogs/tweets etc. can be modeled in Cassandra. However, I have a sightly different problem. Let's say we let the user see a random item(article/picture/recipe/you-