Re: MailBox Impl

2013-07-19 Thread Vegard Berget
Hi, 1)  Counters will probably work for this.  Our experience with counters is that it is very accurate.  But read up on how repair/inconsistencies etc is handled.2)  You can not, as far as i know at least, have ttl on part of a counter.  What you can do, depending on how accurate it needs to be,

Re: MailBox Impl

2013-07-19 Thread CharSyam
: MailBox Impl 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 size

Re: MailBox Impl

2013-07-19 Thread Vladimir Prudnikov
To: user@cassandra.apache.org user@cassandra.apache.org Cc: Sent: Thu, 18 Jul 2013 21:30:08 + Subject: MailBox Impl 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

MailBox Impl

2013-07-18 Thread Kanwar Sangha
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 size. Will using

Re: MailBox Impl

2013-07-18 Thread sankalp kohli
Conter wont be updated when the old data is TTLed. I am not sure whether you can use triggers https://issues.apache.org/jira/browse/CASSANDRA-1311 On Thu, Jul 18, 2013 at 2:30 PM, Kanwar Sangha kan...@mavenir.com wrote: Hi - We are planning on using Cassandra for an IMAP based