Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 84777 invoked from network); 1 Sep 2010 07:10:19 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 1 Sep 2010 07:10:19 -0000 Received: (qmail 71053 invoked by uid 500); 1 Sep 2010 07:10:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 70880 invoked by uid 500); 1 Sep 2010 07:10:13 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 70871 invoked by uid 99); 1 Sep 2010 07:10:12 -0000 Received: from Unknown (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 07:10:12 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of manirajv06@gmail.com designates 209.85.213.172 as permitted sender) Received: from [209.85.213.172] (HELO mail-yx0-f172.google.com) (209.85.213.172) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Sep 2010 07:09:48 +0000 Received: by yxl31 with SMTP id 31so1792015yxl.31 for ; Wed, 01 Sep 2010 00:09:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=GZQ+2RZGeeMdph+ePnHyxtTkN7zNw8KJVc/U6tn8I4U=; b=tGCRJRnVwM+00u1Q0N7EaE/q2w6oG2+ojlC7K45iLaAunc9SV7UqfiI+bRb1tXsehC CpprB2OnuyRzivJz4gRcI86Mw3eSEmv/7HG86RxVepeaGFSF1RjtR9lInF1WSEW/5VST AhSXEA4cQ9vGH5MuLQ6eNm40a/xH9e4XNn6Bg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=uGp775tPwU82kCQE/u+XUAe8WsjjOftF5L8sli9ItqlE9RD5BYyzsj9Lg3usdH4qJV fCR6RdN6aw3zAKJ348RX9L5KH/InHnfWt+EVti5eGf203PpNBx9WspEwzEAPx33BnPh5 q9CyM8SnWNrMA2CiVmIluIq/VODSZpDymOPfQ= MIME-Version: 1.0 Received: by 10.151.145.21 with SMTP id x21mr3211083ybn.244.1283324967975; Wed, 01 Sep 2010 00:09:27 -0700 (PDT) Received: by 10.231.173.133 with HTTP; Wed, 1 Sep 2010 00:09:27 -0700 (PDT) Date: Wed, 1 Sep 2010 12:39:27 +0530 Message-ID: Subject: Need help in cassandra data model.. From: Manikandan R To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=0015174becfcd8fa6a048f2d6050 X-Virus-Checked: Checked by ClamAV on apache.org --0015174becfcd8fa6a048f2d6050 Content-Type: text/plain; charset=ISO-8859-1 Hello Everyone, I am doing study on cassandra to make use of it for the below problem - My current system has many components. To complete any transaction(request), it has to pass through all the components. While it passes through, there is no clear visibility to know what is happening behind each component at any given point. Trying to create a new component using cassandra, which receives the status of the transaction(request) from other components for any given transaction(request) id, so that it can viewed online in real time. Here is the model, I have in my mind: Transactions: { 100: { //transaction id as key t1: { //Say, at time t1 status: "Received the request. Doing validation"; mode: "debug"; }; t2 : { // Say, at time t2 status: "dropped:1000|absent=2000"; dropped: 1000; absent: 2000; mode: "info"; }; 101: { //transaction id as key t1: { //Say, at time t1 status: "Doing External Verification..." mode: "debug"; }; t2 : { // Say, at time t2 status: "valid:2000|invalid:1000"; valid: 1000; invalid: 1000; mode: "info"; }; } Status can delivered to the users depending on the SLA. Based on the mode, it can be displayed to users. Users who has access to see detailed status, can see all the mode's status, where as, user who want to see only reports, can see the mode with "info". Please let me know your thoughts. Thanks, Mani --0015174becfcd8fa6a048f2d6050 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Everyone,

I am doing study on cassandra to make use of it for = the below problem -

My current system has many components. To complete any=20 transaction(request), it has to pass through all the components. While=20 it passes through, there is no clear visibility to know what is=20 happening behind each component at any given point.

Trying to create a new component using cassandra, which receives the status of the transaction(request) from other components for any given=20 transaction(request) id, so that it can viewed online in real time.

Here is the model, I have in my mind:

Transactions: {

=A0= =A0=A0 100: { //transaction id as key

=A0=A0=A0=A0=A0=A0=A0=A0 t1: {= //Say, at time t1

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 status: &= quot;Received the request. Doing validation";
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mode: "debug";
=A0=A0= =A0=A0=A0=A0=A0=A0 };

=A0=A0=A0=A0=A0=A0=A0=A0 t2 : { // Say, at tim= e t2
=A0 =A0 =A0 =A0 =A0
=A0 =A0 =A0 =A0 =A0 =A0=A0 status: "dr= opped:1000|absent=3D2000";
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 dro= pped: 1000;
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 absent: 2000;
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mode: "info";
=A0=A0=A0= =A0=A0=A0=A0=A0 };



=A0=A0=A0 101: { //transaction id as key

=A0=A0=A0=A0=A0=A0=A0=A0 t1: { //Say, at time t1

=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 status: "Doing External Verifi= cation..."
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 mode: "debu= g";
=A0=A0=A0=A0=A0=A0=A0=A0 };

=A0=A0=A0=A0=A0=A0=A0=A0 t2 : { // Say, at time t2
=A0 =A0 =A0 =A0 =A0
=A0 =A0 =A0 =A0 =A0 =A0=A0 status: "valid:2000|invalid:1000";
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 valid: 1000;
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 invalid: 1000;
=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0 mode: "info";
=A0=A0=A0=A0=A0=A0=A0=A0 };
}

Status can delivered to the users d= epending on=20 the SLA. Based on the mode, it can be displayed to users. Users who has=20 access to see detailed status, can see all the mode's status, where as,= =20 user who want to see only reports, can see the mode with "info". =

Please let me know your thoughts.

Thanks,
Mani
--0015174becfcd8fa6a048f2d6050--