You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Jaydeep Chovatia <ch...@gmail.com> on 2015/02/24 00:42:18 UTC
One node taking more resources than others in the ring
Hi,
I have three node cluster with RF=1 (only one Datacenter) with following
size:
Datacenter: DC1
===============
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
-- Address Load Tokens Owns Host ID
Rack
UN <IP1> 4.02 GB 1 33.3% <ID1> RAC1
UN <IP2> 4.05 GB 1 33.3% <ID2> RAC2
UN <IP3> 4.05 GB 1 33.3% <ID3> RAC3
I have created different tables and my test application reads/writes with
CL=QUORUM. Under load I found that my one node is taking more
resources (double CPU) than the other two. I have also verified that there
is no other process causing this problem.
My hardware configuration on all nodes is same around Linux + 64-bit + 24
core + 64GB + 1TB
My Cassandra version is 2.0 and JDK 1.7
Jaydeep
Re: One node taking more resources than others in the ring
Posted by Robert Coli <rc...@eventbrite.com>.
On Mon, Feb 23, 2015 at 5:18 PM, Jonathan Haddad <jo...@jonhaddad.com> wrote:
> If you're not using prepared statements you won't get any token aware
> routing. That's an even better option than round robin since it reduces the
> number of nodes involved.
Fair statement. Thrust of my comment is "don't send all connections to that
node." :D
=Rob
Re: One node taking more resources than others in the ring
Posted by Jonathan Haddad <jo...@jonhaddad.com>.
If you're not using prepared statements you won't get any token aware
routing. That's an even better option than round robin since it reduces the
number of nodes involved.
On Mon, Feb 23, 2015 at 4:48 PM Robert Coli <rc...@eventbrite.com> wrote:
> On Mon, Feb 23, 2015 at 3:42 PM, Jaydeep Chovatia <
> chovatia.jaydeep@gmail.com> wrote:
>
>> I have created different tables and my test application reads/writes with
>> CL=QUORUM. Under load I found that my one node is taking more
>> resources (double CPU) than the other two. I have also verified that
>> there is no other process causing this problem.
>>
>
> My bold prediction is that you are sending all client connections to this
> node. Don't do that, round-robin them.
>
> =Rob
>
>
Re: One node taking more resources than others in the ring
Posted by Robert Coli <rc...@eventbrite.com>.
On Mon, Feb 23, 2015 at 3:42 PM, Jaydeep Chovatia <
chovatia.jaydeep@gmail.com> wrote:
> I have created different tables and my test application reads/writes with
> CL=QUORUM. Under load I found that my one node is taking more
> resources (double CPU) than the other two. I have also verified that there
> is no other process causing this problem.
>
My bold prediction is that you are sending all client connections to this
node. Don't do that, round-robin them.
=Rob