It depends on what your workload is and how you want to read the data.
If you want to get all the data for an article every time, and the number of
comments is not huge go with option 1.
Cheers
-
Aaron Morton
Freelance Cassandra Developer
@aaronmorton
http://www.thelastpickle.c
Method 1 may also result in very wide rows if you have lots and lots of tags
and comments. This is a very drastic inefficiency for Cassadra (but again,
it depends on your data).
On Mon, Oct 17, 2011 at 05:40, Chintana Wilamuna wrote:
> Hi,
>
> Does anyone have an idea about the pros/cons with mod
Hi,
Does anyone have an idea about the pros/cons with modeling your data
in the following way. First is you write all your data within a single
CF. Using the infamous blog example,
Posts = { // CF
slug-1: { // key to the row inside CF
title: "...",
body: ".