cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "raoyixuan (Shandy)" <>
Subject RE: about the insert data
Date Thu, 13 Jan 2011 01:46:23 GMT
So you mean the coordinator node is just responsible for routing the request. where the request
will be Routed? whether the coordinator node route the request to the first replica to insert
the data?


-----Original Message-----
From: [] On Behalf Of Peter Schuller
Sent: Thursday, January 13, 2011 2:02 AM
Subject: Re: about the insert data

> Firstly, the data will be inserted by the coordinate node.
> Secondly, it will find the first replica node based by the partitioner ,such randompartitioner,
> Thirdly, it will replicate the data based by the replica factor

Replicate placement is entirely independent of which node you talk to.
The one talk to, the co-ordinator node, is responsible for routing the
requests appropriately. The replication strategy decides where data

As a client, you don't have to worry about which node you're talking
to except for spreading the load out over nodes in some fashion.

/ Peter Schuller

View raw message