Any reason to limit one's self to a single high level java client?

2012-07-02 Thread David Leimbach
I recognize that behind the scenes there's connection pooling and all kinds of nice asynchronous dispatch of requests to cassandra, but is there any sort of reason to avoid using different Java clients in the same application? I'm noticing that some are better suited to certain kinds activity than

Re: cassandra queue

2012-06-28 Thread David Leimbach
Tried using Cassandra as a queue once. It's an attractive idea, having the data replicated and durably stored. However the problems we hit were with trying to utilize a secondary index for whether or not something had been processed or not. Since that index field was basically on a type with ari

Re: [ANN] Gossie, a Cassandra library for Go

2012-05-14 Thread David Leimbach
Looks nice! On Mon, May 14, 2012 at 3:22 AM, Carlos wrote: > Hello, > > I would like to introduce you to my Go Cassandra client/library, Gossie: > > https://github.com/carloscm/gossie > > My intention was to use my favorite database with my favorite language, > with a library that allowed me to

Re: Cassandra stucks

2012-05-11 Thread David Leimbach
What's the version number of Cassandra? On Fri, May 11, 2012 at 7:38 AM, Pavel Polushkin wrote: > Hello, > > ** ** > > We faced with a strange problem while testing performance on Cassandra > cluster. After some time all nodes went to down state for several days. Now > all nodes went back to

Re: Repair Process Taking too long

2012-04-10 Thread David Leimbach
I had this happen when I had really poorly generated tokens for the ring. Cassandra seems to accept numbers that are too big. You get hot spots when you think you should be balanced and repair never ends (I think there is a 48 hour timeout). On Tuesday, April 10, 2012, Frank Ng wrote: > I am no

Re: really bad select performance

2012-04-05 Thread David Leimbach
entire index row to the node that > is queried. > > -Chris > > - Original Message - > From: "David Leimbach" > > To: user@cassandra.apache.org > Sent: Monday, April 2, 2012 8:51:46 AM > Subject: Re: really bad select performance > > > This is all very

Re: System keyspace leak?

2012-04-03 Thread David Leimbach
#x27;m going to make VERY wide row. That tells me enough to say "don't do that!" :-) Dave On Tue, Apr 3, 2012 at 6:00 PM, David Leimbach wrote: > I've been trying to understand the overhead of create/drop keyspace on > Cassandra 1.0.8. It's not free,

System keyspace leak?

2012-04-03 Thread David Leimbach
I've been trying to understand the overhead of create/drop keyspace on Cassandra 1.0.8. It's not free, especially when I've managed to drive up the LiveDiskSpaceUsed for the Migrations CF in the "system" keyspace up to over 12 MB of disk. I've tried doing "nodetool -h localhost repair system" and

Re: really bad select performance

2012-04-02 Thread David Leimbach
This is all very hypothetical, but I've been bitten by this before. Does row_loaded happen to be a binary or boolean value? If so the secondary index generated by Cassandra will have at most 2 rows, and they'll be REALLY wide if you have a lot of entries. Since Cassandra doesn't distribute colum

Re: data model advice

2012-02-24 Thread David Leimbach
On Thu, Feb 23, 2012 at 7:54 PM, Martin Arrowsmith < arrowsmith.mar...@gmail.com> wrote: > Hi Franc, > > Or, you can consider using composite columns. It is not recommended to use > Super Columns anymore. > Yes, but why? Is it because composite columns effectively replace and simplify similar mo