storing comments in cassandra - data model question

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

storing comments in cassandra - data model question

mobiledreamers
I am trying to store comments in a column family 

The key would be the url where the comment was made
say '/showphoto/31' or some similar key

How would one go about modeling this column family

the comment has the following attributes or columns
1. ip, username, comment

What should be the name of the columns for this column family comments

If someone can share the data-model and the queries to be used in python thrift api
it would be useful to someone on the cassandra group

Thanks a lot