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?
whether -----Original Message----- From: sc...@scode.org [mailto:sc...@scode.org] On Behalf Of Peter Schuller Sent: Thursday, January 13, 2011 2:02 AM To: user@cassandra.apache.org 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 lives. 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