Re: Consolidating records and TTL

2014-06-05 Thread Charlie Mason
count > table and update both the total and the last_tx_id. You can then delete > ledger entries if needed. Don’t forget to ensure that only one client > thread is doing this at a time. > > Hope that helps. > Aaron > > > - > Aaron Morton > New Ze

Consolidating records and TTL

2014-06-03 Thread Charlie Mason
Hi All. I have a system thats going to make possibly several concurrent changes to a running total. I know I could use a counter for this. However I have extra meta data I can store with the changes which would allow me to reply the changes. If I use a counter and it looses some writes I can't rec

Re: Avoiding High Cell Tombstone Count

2014-05-28 Thread Charlie Mason
y/communityserver-components-postattachments/00-09-20-52-14/BuildingOnQuicksand_2D00_V3_2D00_081212h_2D00_pdf.pdfparticularly > section 6.2) > - use a TTL to keep the table tame if it's high volume > > This 'immutable' approach plays much nicer with Cassandra's strong points. > > > On Sun,

Avoiding High Cell Tombstone Count

2014-05-25 Thread Charlie Mason
Hi All, I have a table which has one column per user. It revives at lot of updates to these columns through out the life time. They are always updates on a few specific columns Firstly is Cassandra storing a Tombstone for each of these old column values. I have run a simple select and seen the fo

Re: Avoiding email duplicates when registering users

2014-05-11 Thread Charlie Mason
If you are worried about the over head of malicious bulk registration, you could develop some rate limiting to restrict the sign ups to X signups per hour from the same IP. Also you could use a CAPTCHA system to make lots of requests hard to create. The other thing that works well is automating th

Very Slow Node Startup

2014-03-04 Thread Charlie Mason
Hi All, I have single node cluster I use for development on my local machine. After apt package upgrades and hard reboots the node takes a very long time to restart. The node will always eventually come back up however it takes ages sometimes. It seems to be CPU bound as all 4 cores are maxed out

Re: Optimal Way to Tune For Searchs For Missing Keys

2014-01-10 Thread Charlie Mason
11:11 PM, Robert Coli wrote: > On Thu, Jan 9, 2014 at 1:42 PM, Charlie Mason wrote: > >> There are a lot more reads than writes on this particular table. All of >> the queries are just for the partition key. Most of the queries are for >> partition keys that don't ex

Optimal Way to Tune For Searchs For Missing Keys

2014-01-09 Thread Charlie Mason
Hi All, Does anyone have any suggestions about how to improve performance in the below use case? I have a very simple table with a single Partition Key, and one Cluster key. My app is periodically writing new entries in the table and deleting old ones. There are a lot more reads than writes on t

Re: Doing joins between column familes

2010-05-26 Thread Charlie Mason
On Wed, May 26, 2010 at 7:45 PM, Dodong Juan wrote: > > So I am not sure if you guys are familiar with OCM . Basically it is an ORM > for Cassandra. Been testing it > In case anyone is interested I have posted a reply on the OCM issue tracker where this was also raised. http://github.com/charlie

OCM 0.6 Released

2010-04-18 Thread Charlie Mason
Hi All, This is a just quick post to announce OCM 0.6.0. This release provides compatibility with Hector 0.6 and therefore Cassandra 0.6. The API hasn't changed so all you need to do is recompile your OCM Spec files using the latest version of the compiler and use the latest version of the Base L

Re: Which client API to choose?

2010-03-29 Thread Charlie Mason
On Wed, Mar 24, 2010 at 5:07 PM, Peter Chang wrote: > Hector is the way to go if you're using java. I'm using it right now and > it's made things worlds easier. > The reason why it wasn't bundled was because it's a separate and relatively > new project. I think it's under a month old and it was do

Re: Announcing OCM - The Object Cassandra Mapper

2010-03-22 Thread Charlie Mason
o remember to implement it everywhere you might update that column. Charlie M > On Mon, Mar 22, 2010 at 12:07 AM, Charlie Mason > wrote: >> >> Hi All, >> >> I am going to be using Cassandra for a project I am working on. To >> enable me to use it more easily

Announcing OCM - The Object Cassandra Mapper

2010-03-21 Thread Charlie Mason
Hi All, I am going to be using Cassandra for a project I am working on. To enable me to use it more easily I have built a relatively simple ORM to simplify access to Cassandra and to provide some extra functionality. When I say ORM I am not talking about developing a Hibernate for Cassandra, OCM i