cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cassandra Wiki] Update of "StorageConfiguration" by AlexisLeQuoc
Date Mon, 04 Jul 2011 21:41:02 GMT
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=diff&rev1=58&rev2=59

  
   * '''replica_placement_strategy''' and '''replication_factor'''
  
+ === Pre-0.8.1 ===
  Strategy: Setting this to the class that implements {{{IReplicaPlacementStrategy}}} will
change the way the node picker works. Out of the box, Cassandra 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 onto 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 effective number of nodes is (N total nodes
/ RF).
+ 
+ === 0.8.1 ===
+ Strategy: Setting this to the class that implements {{{IReplicaPlacementStrategy}}} will
change the way the node picker works. Out of the box, Cassandra provides {{{org.apache.cassandra.locator.SimpleStrategy}}},
{{{org.apache.cassandra.locator.LocalStrategy}}} and  {{{org.apache.cassandra.locator.NetworkTopologyStrategy}}}
(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 onto 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 effective number of nodes is (N total nodes
/ RF).
  
  == per-ColumnFamily Settings ==
   * '''comment''' and '''name'''

Mime
View raw message