Connecting to the cluster with failover (was: data modeling question)

2009-12-07 Thread Mark Robson
2009/12/3 Coe, Robin robin@bluecoat.com So, considering that I currently have to take down a node to make a CF change, I'm wondering how to perform automatic failover from my application? Is there a mechanism by which I can request from Cassandra all the destination IP:ports for the

Re: Connecting to the cluster with failover (was: data modeling question)

2009-12-07 Thread Jonathan Ellis
Gary Dusbabek already did this, only better: https://issues.apache.org/jira/browse/CASSANDRA-535, http://issues.apache.org/jira/browse/CASSANDRA-596 On Mon, Dec 7, 2009 at 1:40 PM, Mark Robson mar...@gmail.com wrote: 2009/12/7 Ramzi Rabah rra...@playdom.com                TSocket socket = new

Re: Connecting to the cluster with failover (was: data modeling question)

2009-12-07 Thread Mark Robson
2009/12/7 Jonathan Ellis jbel...@gmail.com Gary Dusbabek already did this, only better: https://issues.apache.org/jira/browse/CASSANDRA-535, http://issues.apache.org/jira/browse/CASSANDRA-596 So is there now support in trunk for a remote clients api version of Cassandra, if so, are there any

Re: Connecting to the cluster with failover (was: data modeling question)

2009-12-07 Thread Jonathan Ellis
no pointers, just the example code in contrib I linked On Mon, Dec 7, 2009 at 1:46 PM, Mark Robson mar...@gmail.com wrote: 2009/12/7 Jonathan Ellis jbel...@gmail.com Gary Dusbabek already did this, only better: https://issues.apache.org/jira/browse/CASSANDRA-535,

data modeling question

2009-12-03 Thread Coe, Robin
I am evaluating Cassandra and playing with some data model ideas. One model I'm thinking about is to take privacy concerns into account, such that interleaving tenant data in the same column family is not allowed. Another reason I can think to keep the data for different tenants in separate CFs

Re: data modeling question

2009-12-03 Thread Jonathan Ellis
On Thu, Dec 3, 2009 at 3:22 PM, Coe, Robin robin@bluecoat.com wrote: I seem to recall some talk about dynamically setting a key space or maybe it was dynamically loading column families?  Is this already a feature request, to your knowledge, or should I open a Jira issue?

RE: data modeling question

2009-12-03 Thread Coe, Robin
. -Original Message- From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: December 3, 2009 4:32 PM To: cassandra-user@incubator.apache.org Subject: Re: data modeling question On Thu, Dec 3, 2009 at 3:22 PM, Coe, Robin robin@bluecoat.com wrote: I seem to recall some talk about dynamically

Re: data modeling question

2009-12-03 Thread Jonathan Ellis
On Thu, Dec 3, 2009 at 4:23 PM, Coe, Robin robin@bluecoat.com wrote: I *think* I like the idea of Cassandra pushing a CF change to its peers, as opposed to managing it by a separate admin task, simply because I wouldn't want a change managed by an application admin to be missed because of

Modeling question

2009-11-26 Thread gabriele renzi
hi everyone, in my team, we are considering using cassandra for our project in place of a (pseudo)relational solution, but I am not sure on how we should handle a couple of modeling issues. Basically, my problem is how to bring into cassandra a db where elements are in the form primary,

Re: Modeling question

2009-11-26 Thread gabriele renzi
On Thu, Nov 26, 2009 at 7:12 PM, Anthony Molinaro antho...@alumni.caltech.edu wrote: Unless you are using order preserving partitioning which might or might not be what you want, you won't be able to do a full scan.  Instead you should probably have two column families, one keyed by primary,