Re: Cassandra Evaluation/ Benchmarking: Throughput not scaling as expected neither latency showing good numbers

2012-07-18 Thread Manoj Mainali
How kind of client are you using in YCSB? If you want to improve latency, try distributing the requests among nodes instead of stressing a single node, try host connection pooling instead of creating connection for each request. Check high level clients like hector or asyantax for use if you are no

Batch update efficiency with composite key

2012-07-18 Thread Leonid Ilyevsky
I have a question about efficiency of updates to a CF with composite key. Let say I have 100 of logical rows to update, and they all belong to the same physical wide row. In my naïve understanding (correct me if I am wrong), in order to update a logical row, Cassandra has to retrieve the whole p

Re: Cassandra Evaluation/ Benchmarking: Throughput not scaling as expected neither latency showing good numbers

2012-07-18 Thread Hontvári József Levente
On 2012.07.18. 7:13, Code Box wrote: The cassandra stress tool gives me values around 2.5 milli seconds for writing. The problem with the Cassandra Stress Tool is that it just gives the average latency numbers and the average latency numbers that i am getting are comparable in some cases. It is

Re: Batch update efficiency with composite key

2012-07-18 Thread Dave Brosius
Cassandra doesn't do reads before writes. It just places the updates in memtables. In effect updates are the same as inserts.Batches certainly help with network latency, and some minor amount of code repetitiion on the server side. - Original Message -From: "Leonid Ilyevsky" >;lilyev.

Re: Composite Column Expiration Behavior

2012-07-18 Thread rohit bhatia
Hi, I don't think that composite columns have "parent columns". your point might be true for supercolumns .. but each composite column is probably independent.. On Wed, Jul 18, 2012 at 9:14 PM, Thomas Van de Velde wrote: > Hi there, > > I am trying to understand the expiration behavior of compos

Re: Composite Column Expiration Behavior

2012-07-18 Thread Thomas Van de Velde
I answered my own question with a test: Using default limit of 100 --- RowKey: test => (column=89b81b00-d0f3-11e1-8d4c-000c29d2a972:A, value=, timestamp=1342628020428000, ttl=10) => (column=89b81b00-d0f3-11e1-8d4c-000c29d2a972:B, value=, timestamp=1342628020428000, ttl=30) 1 Row

Can't change replication factor in Cassandra 1.1.2

2012-07-18 Thread Douglas Muth
Hi folks, I have an interesting problem in Cassandra 1.1.2, a Google Search wasn't much help, so I thought I'd ask here. Essentially, I have a "problem keyspace" in my 2-node cluster that keeps me from changing the replication factor on a specific keyspace. It's probably easier to show what I'm s

An experiment using Spring Data w/ Cassandra (initially via JPA/Kundera)

2012-07-18 Thread Brian O'Neill
This is just an FYI. I experimented w/ Spring Data JPA w/ Cassandra leveraging Kundera. It sort of worked: https://github.com/boneill42/spring-data-jpa-cassandra http://brianoneill.blogspot.com/2012/07/spring-data-w-cassandra-using-jpa.html I'm now working on a pure Spring Data adapter using Ast

Re: An experiment using Spring Data w/ Cassandra (initially via JPA/Kundera)

2012-07-18 Thread Roshan
Hi Brian This is basically a wonderful news for me, because we are using lots of spring support in the project. Good luck and keep post. Cheers /Roshan. -- View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/An-experiment-using-Spring-Data-w-Cassandra

Cassandra startup times

2012-07-18 Thread Ben Kaehne
Good evening, I am interested in improving the startup time of our cassandra cluster. We have a 3 node cluster (replication factor of 3) in which our application requires quorum reads and writes to function. Each machine is well specced with 24gig of ram, 10 cores, jna enabled etc. On each serv

Re: An experiment using Spring Data w/ Cassandra (initially via JPA/Kundera)

2012-07-18 Thread Vivek Mishra
Thanks. Team is working on to extend support for SimpleJPARepository(including implementation for ManagedType). -Vivek On Thu, Jul 19, 2012 at 9:06 AM, Roshan wrote: > Hi Brian > > This is basically a wonderful news for me, because we are using lots of > spring support in the project. Good luck

Re: Tripling size of a cluster

2012-07-18 Thread Mariusz Dymarek
Hi again, we have now moved all nodes to correct position in ring, but we can see higher load on 2 nodes, than on other nodes: ... node01-05 rack1 Up Normal 244.65 GB 6,67% 102084710076281539039012382229530463432 node02-13 rack2 Up Normal 240.26 GB 6,67% 107756082858297180096735292

random partitioner and key scan

2012-07-18 Thread Patrik Modesto
Hi, I know that RandomPartitioner does MD5 of a key and the MD5 is then used for key distribution AND key ordering. I was just wondering if it's possible to have RandomPartitioner just for key distribution and OrderedPartitioner just for per-node key ordering. That would solve the often requested