Re: MailBox Impl

2013-07-19 Thread Vladimir Prudnikov
t; > - Original Message - > > From: > > user@cassandra.apache.org > > To: > > "user@cassandra.apache.org" > > Cc: > > Sent: > > Thu, 18 Jul 2013 21:30:08 + > > Subject: > > MailBox Impl > > > > > > Hi -

Re: MailBox Impl

2013-07-19 Thread CharSyam
olumnkey. I don't know if this solves anything for you, but maybe you can use part of that idea for something? > .vegard, > > - Original Message - > From: > user@cassandra.apache.org > To: > "user@cassandra.apache.org" > Cc: > Sent: > Thu, 18 J

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, i

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 wrote: > Hi - We are planning on using Cassandra for an IMAP based > implementation. There are some

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 the