From user-return-35406-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Thu Jul 18 21:30:38 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4535910515 for ; Thu, 18 Jul 2013 21:30:38 +0000 (UTC) Received: (qmail 21996 invoked by uid 500); 18 Jul 2013 21:30:35 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 21931 invoked by uid 500); 18 Jul 2013 21:30:35 -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 21923 invoked by uid 99); 18 Jul 2013 21:30:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 21:30:35 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kanwar@mavenir.com designates 206.225.165.116 as permitted sender) Received: from [206.225.165.116] (HELO HUB024-nj-1.exch024.serverdata.net) (206.225.165.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jul 2013 21:30:29 +0000 Received: from MBX024-E1-NJ-6.exch024.domain.local ([10.240.10.56]) by HUB024-NJ-1.exch024.domain.local ([10.240.10.30]) with mapi id 14.03.0123.003; Thu, 18 Jul 2013 14:30:09 -0700 From: Kanwar Sangha To: "user@cassandra.apache.org" Subject: MailBox Impl Thread-Topic: MailBox Impl Thread-Index: Ac6D/M72OnHBPNyvTCiRFcLgSXJO0g== Date: Thu, 18 Jul 2013 21:30:08 +0000 Message-ID: <57C7C3CBDCB04F45A57AEC4CB21C0CCD1DBDEA22@mbx024-e1-nj-6.exch024.domain.local> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [38.122.186.90] Content-Type: multipart/alternative; boundary="_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DBDEA22mbx024e1nj6exch_" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org --_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DBDEA22mbx024e1nj6exch_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi - We are planning on using Cassandra for an IMAP based implementation. = There are some questions that we are stuck with - 1) Each user will have a pre-defined mailbox size (say 10 MB). We need= to maintain a field to check if the mail-box size exceeds the predefined s= ize. Will using the counter family be appropriate ? 2) Also, we need to have retention for only 10 days. After 10 days, th= e previous days data will be removed. We plan to have TTL defined per messa= ge. But if we do that, how does the counter in question 1 get updated with = the space cleaned due to deletion ? 3) Do we NOT have TTL and manage the deletions within the application = itself ? Thanks, Kanwar --_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DBDEA22mbx024e1nj6exch_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi  - We are planning on u= sing Cassandra for an IMAP based implementation. There are some questions t= hat we are stuck with –

 

1) &nbs= p;    Each user will have a p= re-defined mailbox size (say 10 MB). We need to maintain a field to check i= f the mail-box size exceeds the predefined size. Will using the counter fam= ily be appropriate ?

2) &nbs= p;    Also, we need to have r= etention for only 10 days. After 10 days, the previous days data will be re= moved. We plan to have TTL defined per message. But if we do that, how does= the counter in question 1 get updated with the space cleaned due to deletion ?

3) &nbs= p;    Do we NOT have TTL and = manage the deletions within the application itself ?

 

Thanks,

Kanwar

  <= /p>

--_000_57C7C3CBDCB04F45A57AEC4CB21C0CCD1DBDEA22mbx024e1nj6exch_--