Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5573310489 for ; Tue, 24 Feb 2015 01:19:44 +0000 (UTC) Received: (qmail 33481 invoked by uid 500); 24 Feb 2015 01:19:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 33432 invoked by uid 500); 24 Feb 2015 01:19:41 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 33422 invoked by uid 99); 24 Feb 2015 01:19:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 01:19:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jonathan.haddad@gmail.com designates 209.85.214.179 as permitted sender) Received: from [209.85.214.179] (HELO mail-ob0-f179.google.com) (209.85.214.179) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Feb 2015 01:19:17 +0000 Received: by mail-ob0-f179.google.com with SMTP id wp4so40396634obc.10 for ; Mon, 23 Feb 2015 17:18:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=ub+dQpuZPn3U0WtUQRiE+DM2HcqbpBQO96bbWRaA9Jw=; b=m25pYIFjCjgn3U9Ise/QN5HP+X4oUnYsdPw3DC77TwqqN4LcyALBf/1HEEHKc/KZJk MSu5aYOkJmIG+do/hq5smtOYNLAdO6UD9Exqb0GmuNXApz2SZ3Y7KV7R6Pok+qm/wxbc nkXhxQ0QzJGBS+nNg9fy0ettgfOJwwlmtyR3Ek2yCDexvEgXBXdW9tP3IqfwPKH3Di6Y WnM0pR4okig6+zQ9kVgf7BWa5UuIwUJ80+fxscyn9LcC0XPvzDdYzfGbfmOPw9HRLWT8 vtfnAPB+MdMgP5US7fbm/g/s8lPKdGKq/WmH3d71CF45VTqn659YKSJ3zmtmWP4yaCUW d7fA== X-Received: by 10.182.85.225 with SMTP id k1mr9607854obz.20.1424740710267; Mon, 23 Feb 2015 17:18:30 -0800 (PST) MIME-Version: 1.0 References: From: Jonathan Haddad Date: Tue, 24 Feb 2015 01:18:29 +0000 Message-ID: Subject: Re: One node taking more resources than others in the ring To: "user@cassandra.apache.org" Content-Type: multipart/alternative; boundary=089e01229a16eebf99050fcb4b48 X-Virus-Checked: Checked by ClamAV on apache.org --089e01229a16eebf99050fcb4b48 Content-Type: text/plain; charset=UTF-8 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 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 > > --089e01229a16eebf99050fcb4b48 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable If you're not using prepared statements you won't get any token awa= re routing. That's an even better option than round robin since it redu= ces the number of nodes involved.
On Mon, Fe= b 23, 2015 at 4:48 PM Robert Coli <rcoli@eventbrite.com> wrote:
On Mon= , Feb 23, 2015 at 3:42 PM, Jaydeep Chovatia <chovatia.jaydeep@g= mail.com> wrote:
I have created different tables and my test application reads= /writes with CL=3DQUORUM. Under load I found that my one node is taking mor= e=C2=A0
resources (double CPU) than the other two. I have als= o 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, ro= und-robin them.

=3DRob
=C2=A0
--089e01229a16eebf99050fcb4b48--