Re: How many KeySpace will you use in a single application?

2010-04-10 Thread Benoit Perroud
One point in using several keyspaces is that replication factor is per keyspace. If you have a part of your application which generate a lot of data whoss can be lost (some non critical logs?), then a dedicated keyspace with a smaller replication factor can be a good thing. Kind regards,

Re: Worst case #iops to read a row

2010-04-10 Thread Scott Shealy
thanks , that is helpful S. - Original Message From: Jonathan Ellis jbel...@gmail.com To: user@cassandra.apache.org Sent: Fri, April 9, 2010 11:39:26 AM Subject: Re: Worst case #iops to read a row worst case is 2 or 3, depending on row size: one seek to read the right row index block

Re: How many KeySpace will you use in a single application?

2010-04-10 Thread Jonathan Ellis
Yes, one keyspace per app is the normal way to design things. On Fri, Apr 9, 2010 at 11:17 PM, Dop Sun su...@dopsun.com wrote: Hi, a question troubles me now: how many KeySpaces one application is better to use? The question is coming out since 0.6, Cassandra introduced a new API named as

RE: How many KeySpace will you use in a single application?

2010-04-10 Thread Dop Sun
Thanks, I note it down. -Original Message- From: Jonathan Ellis [mailto:jbel...@gmail.com] Sent: Saturday, April 10, 2010 9:10 PM To: user@cassandra.apache.org Subject: Re: How many KeySpace will you use in a single application? Yes, one keyspace per app is the normal way to design

RE: How many KeySpace will you use in a single application?

2010-04-10 Thread Dop Sun
So, if my understanding is correct, in this case, the small replication factor key space is a online back system, or BCP environment. :) Very good one. Actually, one of the things which make me a little bit uncomfortable is BCP: once something goes wrong, how to take it back? In the

Forced Failover Test for 0.6.0-RC1

2010-04-10 Thread Mark Greene
Hi, I'm testing out failover for 0.6.0-RC1 and seeing varied behavior in Cassandra's ability to replay the commit log after a forced failure. My test is this: 1) Run ./cassandra -f 2) Insert a value through the CLI and immediately force a shutdown of cassandra after I see the Value inserted

Re: Forced Failover Test for 0.6.0-RC1

2010-04-10 Thread Jonathan Ellis
http://wiki.apache.org/cassandra/Durability On Sat, Apr 10, 2010 at 10:38 AM, Mark Greene green...@gmail.com wrote: Hi, I'm testing out failover for 0.6.0-RC1 and seeing varied behavior in Cassandra's ability to replay the commit log after a forced failure. My test is this: 1) Run

Re: Forced Failover Test for 0.6.0-RC1

2010-04-10 Thread Mark Greene
Ah ok. Sorry for the RTFM fail John ;-). For my test with a single node, batch would make sense if I needed better durability but with a cluster it's less of a concern with replication. Thanks. -Mark On Sat, Apr 10, 2010 at 11:49 AM, Jonathan Ellis jbel...@gmail.com wrote:

Re: cascal - high level scala cassandra client (yes - another one)

2010-04-10 Thread Chris Shorrock
Just want to ping this thread and let anyone interested know that I just released version 1.1 which adds the ability to map the results of a Cascal list (or get) into a scala object (annotated accordingly). It's pretty simplistic at current as I developed it for my company's own internal needs,

Re: Starting Cassandra Fauna

2010-04-10 Thread Nirmala Agadgar
Hi, I tried to dig in problem and found 1) DIST_URL is pointed to http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandra-0.6.0-beta2-bin.tar.gz and it has no resource in it.( in Rakefile of Cassandra Gem) DIST_URL =

Re: Starting Cassandra Fauna

2010-04-10 Thread Jeff Hodges
Did you try master? We fixed this around the 7th, but haven't made a release yet. -- Jeff On Sat, Apr 10, 2010 at 10:10 AM, Nirmala Agadgar nirmala...@gmail.com wrote: Hi, I tried to dig in problem and found 1) DIST_URL is pointed to

Re: How to perform queries on Cassandra?

2010-04-10 Thread dir dir
I have already read the API spesification. Honestly I do not understand how to use it. Because there are not an examples. For example I have a column like this: UserNamePassword usr1abc usr2xyz usr3opm suppose I want query the user's password