nosql - how Cassandra chooses the coordinator node and the replication nodes? -


how cassandra client chooses coordinator node? coordinator node stores data sent client before replicating?

the coordinator node typically chosen algorith takes "network distance" account. node can act coordinator, , @ first requests sent nodes driver knows about. once connects , understands topology of cluster, may change "closer" coordinator.

the coordinator stores data locally (on write) if ends being 1 of nodes responsible data's token range.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -