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, Benoit.

Re: Worst case #iops to read a row

2010-04-10 Thread Scott Shealy
thanks , that is helpful S. - Original Message From: Jonathan Ellis 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 one seek to read t

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 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 “login”, w

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 thing

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 traditional

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" co

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 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 ./cassandra -f > 2) Inse

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 wrote: > http://wiki.apache.org/cassandra/Dur

Re: How to perform queries on Cassandra?

2010-04-10 Thread Peter Chang
I'm going to eventually want to do something similar so I took particular note of a thread that came up earlier in this forum. I haven't fully investigated it but I think it's a great start for what you need to do. http://www.mail-archive.com/user@cassandra.apache.org/msg00201.html

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

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 = " http://apache.osuosl.org/incubator/cassandra/0.6.0/apache-cassandr

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 wrote: > 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-

Recovery from botched compaction

2010-04-10 Thread Anthony Molinaro
Hi, This is sort of a pre-emptive question as the compaction I'm doing hasn't failed yet but I expect it to any time now. I have a cluster which has been storing user profile data for a client. Recently I've had to go back and reload all the data again. I wasn't watching diskspace, and on one

[no subject]

2010-04-10 Thread Marc Sturlese

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 u

Re: How to perform queries on Cassandra?

2010-04-10 Thread Paul Prescod
This tutorial may help. http://www.sodeso.nl/?p=251 Cassandra is very early software...not even version 1.0 yet. You'll need to figure out a lot yourself by reading blog posts, examples, comparing to API documentation, etc. Cassandra is an entirely different model in almost every way, and not ent