incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Morton <aa...@thelastpickle.com>
Subject Re: Which node is coordinator node?
Date Wed, 07 Jul 2010 09:15:02 GMT
The first option, the coordinator node takes care of sending the work to the other nodes. It
will return to you when the write has been acknowledged by the number of nodes you specify
in the consistency level. 

Aaron

On 07 Jul, 2010,at 06:06 PM, ChingShen <chingshenchen@gmail.com> wrote:

Thanks aaron morton,

   I have an another question about replication. if I run a write operation on A node and
how does the replication work?  A node dispatches three request to B, C and D nodes respectively
to do write operation? or A node dispatches a request to B node, then B node forwards it to
C node, finally, C node forwards it to D node?

Thanks.

Shen

On Tue, Jul 6, 2010 at 8:04 PM, aaron morton <aaron@thelastpickle.com> wrote:
Which ever node the client connects to is the coordinator node. It will take care of sending
the messages to the nodes who will do the actual work.

If you have multiple nodes try a DNS round robin to distribute client connections around.
Aaron

On 6 Jul 2010, at 22:10, ChingShen wrote:

> Hi all,
>
>   I'm newbie in Cassandra, I have a question about which node is coordinator node in
my cluster.
>
> I have A, B, C, D, E, F and G nodes. if I run a write operation on "A" node, and key
range between A and B, so the A node is responsible to write the key to B, C and D nodes(RF=3)
? and does it mean A node is coordinator node?
>
> Thanks.
>
> Shen



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
    • Unnamed multipart/related (inline, None, 0 bytes)
View raw message