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' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -