Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 64509 invoked from network); 9 Dec 2009 15:49:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Dec 2009 15:49:56 -0000 Received: (qmail 27530 invoked by uid 500); 9 Dec 2009 15:49:56 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 27513 invoked by uid 500); 9 Dec 2009 15:49:56 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 27504 invoked by uid 99); 9 Dec 2009 15:49:56 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 15:49:56 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jbellis@gmail.com designates 209.85.220.216 as permitted sender) Received: from [209.85.220.216] (HELO mail-fx0-f216.google.com) (209.85.220.216) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 09 Dec 2009 15:49:54 +0000 Received: by fxm8 with SMTP id 8so5831720fxm.27 for ; Wed, 09 Dec 2009 07:49:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=oigaa0TvA6soyM12FwVXGtKxwzjTxayFE8ud6fmWKZM=; b=CVTRID6NvnW21DtX1Sl8WoLqx0s/3iRLA/MkKIKGQ+aABexMwC6fEgJM3yXIzzrRvm LI6xfz4A0SKeAm/62fKhIvZGkYmn9RL6s8uS+14phXjqAAJoy+OmwS2l3zvqQgmkIx8Z 6AA487t9R7BVfwCOBmFWbjNv2a8tURhUjAolU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=fUbjUc5H6bcRoW0KCLS6OyQrg9JNg9Cm5yTzG1dSQ/fQhba2c2Wf9vYKvQsntUoGU7 gg5Itdjjt/DBvn6dwywS4xRdpwtjDud9OFubX4SFLdZs15qCB9YhWozy/rlyUQ+Adsuz K4Uys3Mr3tfO1yFycPJ4xthHkCChTEXKHBEjo= MIME-Version: 1.0 Received: by 10.216.86.16 with SMTP id v16mr1053269wee.162.1260373773171; Wed, 09 Dec 2009 07:49:33 -0800 (PST) In-Reply-To: <200912091230449689726@sina.com> References: <200912091230449689726@sina.com> From: Jonathan Ellis Date: Wed, 9 Dec 2009 09:49:13 -0600 Message-ID: Subject: Re: about load balance To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable LoadBalance is implemented as (1) leave the ring, (2) rejoin in the new position. Look at StorageService.loadBalance. StorageLoadBalancer is there for when we automate the balance process for nodes that are under-loaded relative to the rest of the cluster. It won't be hard to turn on, but we want to get the core node movement stuff very solid before enabling that. -Jonathan On Tue, Dec 8, 2009 at 10:30 PM, XL.Pan wrote: > hi: > =A0 Does cassandra support the load balance? Is=A0StorageLoadBalancer in = charge > of this job? I find so many codes have beed commented out in this class. > > > 2009-12-09 > ________________________________ > XL.Pan