Question-45: You have been given below information
- R = Consistency level for read operation
- W= Consistency level for the write operation
- N is the number of replicas
Which of the following would help in having highly or strong consistency level?
- R + W >N
- Get all Questions and Answer from here
- You need to have paid subscription to access all questions
- Thanks for considering Python Certification Material
Ans : A
Exp : Suppose we have setup replication factor as 3, then to have highly consistent data we should have R + w > 3, means at least 4. So what we can do that for read we can set 2 as well as for write 2. Which would be (R + W) 4 which is more than 3. It means while reading/writing at least two replica to respond to verify the value.
You can access to full explanation to question and answer from this page.