Design Pattern - Tag Cloud / Inverted Index

2009-12-27 Thread August Zajonc
Just getting up to speed with Cassandra and the terminology and concepts. Lots of fun. Apologies for a beginner question. Focusing on how the data will be used is very helpful in coming up with a model. I have a question about a design pattern I expect is relatively common. It's the tag pattern

Re: Design Pattern - Tag Cloud / Inverted Index

2009-12-27 Thread Jeff Zhang
I think this is a typical paradigm that's suit for many-to-many relationship Jeff Zhang On Sun, Dec 27, 2009 at 12:52 AM, August Zajonc augu...@augustz.com wrote: Just getting up to speed with Cassandra and the terminology and concepts. Lots of fun. Apologies for a beginner question.

Re: Design Pattern - Tag Cloud / Inverted Index

2009-12-27 Thread Mark Robson
2009/12/27 August Zajonc augu...@augustz.com Looking at the data model a simple solution is two column families, one containing items as the row-key with tags as columns, and a second with tags as the row-key with items as columns. This gives me fast access at the cost of 2x the writes

Re: Design Pattern - Tag Cloud / Inverted Index

2009-12-27 Thread August Zajonc
On Sun, Dec 27, 2009 at 11:38 AM, Mark Robson mar...@gmail.com wrote: 2009/12/27 August Zajonc augu...@augustz.com Looking at the data model a simple solution is two column families, one containing items as the row-key with tags as columns, and a second with tags as the row-key with items as