cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "raoyixuan (Shandy)" <raoyix...@huawei.com>
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?

whether 

-----Original Message-----
From: scode@scode.org [mailto:scode@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

Mime
View raw message