The partitioner *is* the method by which Cassandra selects the node to write to. Even if the client picks a node and requests a write there, Cassandra will still do the write where it knows it belongs. Every node is a gateway to do anything, anywhere in the cluster.
On 2010-03-29 23:31, Carlos Sanchez wrote: > Would it be best then for the client to select the node to write to when > using OPP in order to evenly distributes the keys? > > On Mar 29, 2010, at 6:05 PM, David Timothy Strauss wrote: > >> OPP should only affect write speed if OPP's tendency to unevenly distribute >> load causes some nodes to be overworked. >> >> In other words, OPP vs. RP on a single node system should have no real >> effect. >> >> -----Original Message----- >> From: Carlos Sanchez <carlos.sanc...@riskmetrics.com> >> Date: Mon, 29 Mar 2010 18:58:50 >> To: user@cassandra.apache.org<user@cassandra.apache.org> >> Subject: Write times >> >> Are writes on OrderPreservingPartitioner always slower than >> RandomPartitioner? Is the replication factor a 'factor' in the write times? -- David Strauss | da...@fourkitchens.com | +1 512 577 5827 [mobile] Four Kitchens | http://fourkitchens.com | +1 512 454 6659 [office] | +1 512 870 8453 [direct]
signature.asc
Description: OpenPGP digital signature