Cassandra cluster performance

2016-12-21 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
Hi all, I’m working on a project and we have Java benchmark test for testing the performance when using Cassandra database. Create operation on a single node Cassandra cluster is about 15K operations per second. Problem we have is when I set up cluster with 2 or more nodes (each of them are on

Re: Cassandra cluster performance

2016-12-21 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
of the test servers? Cheers Ben On Thu, 22 Dec 2016 at 09:26 Branislav Janosik -T (bjanosik - AAP3 INC at Cisco) mailto:bjano...@cisco.com>> wrote: Hi all, I’m working on a project and we have Java benchmark test for testing the performance when using Cassandra database. Create operat

Re: Cassandra cluster performance

2016-12-22 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
s your partition key or is it possible all your test data is going to a single partition? - have you tried manually running a few inserts to see if you get any errors? Cheers Ben On Thu, 22 Dec 2016 at 11:48 Branislav Janosik -T (bjanosik - AAP3 INC at Cisco) mailto:bjano...@cisco.com>>

Re: Cassandra cluster performance

2017-01-03 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
Hi, No we are not using async writes. From: kurt Greaves Reply-To: "user@cassandra.apache.org" Date: Friday, December 23, 2016 at 12:17 AM To: "user@cassandra.apache.org" Subject: Re: Cassandra cluster performance Branislav, are you doing async writes?

Re: Cassandra cluster performance

2017-01-03 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
TEXT," + "parentId TEXT," + ")"; "CREATE TABLE IF NOT EXISTS onem2m.Children_" + i + "(" + "parentResourceId TEXT," + "childName TEXT," + "childResourceId TEXT," + "nex

Re: Cassandra cluster performance

2017-01-08 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
should be a massive difference. On 4 Jan 2017 10:05, "Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)" mailto:bjano...@cisco.com>> wrote: Hi, Our column family definition is "CREATE TABLE onem2m.cse(" + "name TEXT PRIMARY KEY," +

Re: Cassandra cluster performance

2017-01-09 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
e.org" Date: Sunday, January 8, 2017 at 8:01 PM To: "user@cassandra.apache.org" Cc: Abhishek Kumar Maheshwari Subject: Re: Cassandra cluster performance Can you share your benchmarking code? On Sun, Jan 8, 2017 at 5:51 PM Branislav Janosik -T (bjanosik - AAP3 INC at Cisco) mailt

Cluster scaling

2017-02-06 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
Hi all, I have a cluster of three nodes and would like to ask some questions about the performance. I wrote a small benchmarking tool in java that mirrors (read, write) operations that we do in the real project. Problem is that it is not scaling like it should. The program runs two tests: o

Cluster scaling

2017-02-08 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
Hi all, I have a cluster of three nodes and would like to ask some questions about the performance. I wrote a small benchmarking tool in java that mirrors (read, write) operations that we do in the real project. Problem is that it is not scaling like it should. The program runs two tests: o

Composite partition key token

2017-02-08 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
Hi, I would like to ask how to calculate token for composite partition key using java api? For partition key made of one column I use cluster.getMetadata().newToken(newBuffer); But what if my key looks like this PRIMARY KEY ((parentResourceId,timeRT), childName)? I read that “:” is a separator

Re: Cluster scaling

2017-02-08 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
s, Jan Am 08.02.2017 um 16:39 schrieb Branislav Janosik -T (bjanosik - AAP3 INC at Cisco): Hi all, I have a cluster of three nodes and would like to ask some questions about the performance. I wrote a small benchmarking tool in java that mirrors (read, write) operations that we do in the rea

Re: Cluster scaling

2017-02-08 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
ness requirement 3. RF depends on fault tolerance needed Thanks Anuj On Wed, 8 Feb, 2017 at 9:09 PM, Branislav Janosik -T (bjanosik - AAP3 INC at Cisco) wrote: Hi all, I have a cluster of three nodes and would like to ask some questions about the performance. I wrote a small benchmarking

Re: Composite partition key token

2017-02-09 Thread Branislav Janosik -T (bjanosik - AAP3 INC at Cisco)
2017 08:58 PM, Branislav Janosik -T (bjanosik - AAP3 INC at Cisco) wrote: > > Hi, > > I would like to ask how to calculate token for composite partition key > using java api? > > For partition key made of one column I use > cluster.getMeta