1)Tokens are equally distributed to all nodes, soon after cluster is up and running (Before even any key spaces are created). Murmer3 algorithm is used to create and assign tokens.
Who is assigning these tokens? . Is DataStax assigning these tokens automatically using above algorithm or is there any partitioner in server dealing with it?
- Is partitioner a software , part of the application connectivity driver, or server side component?
- While inserting record in appropriate node, partitioner can generate hash value for the value of partition key(Example EmployeeNumber = ‘123’) , and compare the hash value with token ranges of each and every node to figure out qualified node and send data to appropriate node. Driver is performing above task, if DC Aware policty is set. Does it mean partioner is integrated into driver?
- Also Possible that oneNode can have more data , if partition allocated to this node has more records. Partitioner don’t have control on it. Hence partitioner can’t equally distribute data among nodes, but only assign data to responsible node. Is this correct?