Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4F5E569FA for ; Mon, 4 Jul 2011 21:41:27 +0000 (UTC) Received: (qmail 431 invoked by uid 500); 4 Jul 2011 21:41:27 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 410 invoked by uid 500); 4 Jul 2011 21:41:26 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 402 invoked by uid 500); 4 Jul 2011 21:41:26 -0000 Delivered-To: apmail-incubator-cassandra-commits@incubator.apache.org Received: (qmail 397 invoked by uid 99); 4 Jul 2011 21:41:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 21:41:26 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Jul 2011 21:41:23 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id F1EC5351; Mon, 4 Jul 2011 21:41:02 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Mon, 04 Jul 2011 21:41:02 -0000 Message-ID: <20110704214102.23014.6135@eos.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Update_of_=22StorageConfiguration=22_by_Al?= =?utf-8?q?exisLeQuoc?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for= change notification. The "StorageConfiguration" page has been changed by AlexisLeQuoc: http://wiki.apache.org/cassandra/StorageConfiguration?action=3Ddiff&rev1=3D= 58&rev2=3D59 = * '''replica_placement_strategy''' and '''replication_factor''' = + =3D=3D=3D Pre-0.8.1 =3D=3D=3D Strategy: Setting this to the class that implements {{{IReplicaPlacementS= trategy}}} will change the way the node picker works. Out of the box, Cassa= ndra provides {{{org.apache.cassandra.locator.RackUnawareStrategy}}} and {{= {org.apache.cassandra.locator.RackAwareStrategy}}} (place one replica in a = different datacenter, and the others on different racks in the same one.) = Note that the replication factor (RF) is the ''total'' number of nodes on= to which the data will be placed. So, a replication factor of 1 means that= only 1 node will have the data. It does '''not''' mean that one ''other''= node will have the data. = Defaults are: 'org.apache.cassandra.locator.RackUnawareStrategy' and '1'.= RF of at least 2 is highly recommended, keeping in mind that your effectiv= e number of nodes is (N total nodes / RF). + = + =3D=3D=3D 0.8.1 =3D=3D=3D + Strategy: Setting this to the class that implements {{{IReplicaPlacementS= trategy}}} will change the way the node picker works. Out of the box, Cassa= ndra provides {{{org.apache.cassandra.locator.SimpleStrategy}}}, {{{org.apa= che.cassandra.locator.LocalStrategy}}} and {{{org.apache.cassandra.locator= .NetworkTopologyStrategy}}} (place one replica in a different datacenter, a= nd the others on different racks in the same one.) + = + Note that the replication factor (RF) is the ''total'' number of nodes on= to which the data will be placed. So, a replication factor of 1 means that= only 1 node will have the data. It does '''not''' mean that one ''other''= node will have the data. + = + Defaults are: 'org.apache.cassandra.locator.NetworkTopologyStrategy' and = '1'. RF of at least 2 is highly recommended, keeping in mind that your effe= ctive number of nodes is (N total nodes / RF). = =3D=3D per-ColumnFamily Settings =3D=3D * '''comment''' and '''name'''