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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

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