Discussion about this post

User's avatar
gaurav's avatar

I think leaderless replication with Quoram r+w > n doesn't guaranty strong consistency. There are few edge cases, like

1. If a write happens concurrently with a read, the write may be reflected on only some of the replicas. In this case, it’s undetermined whether the read returns the old or the new value.

2. If a write succeeded on some replicas but failed on others (for example because the disks on some nodes are full), and overall succeeded on fewer than w replicas, it is not rolled back on the replicas where it succeeded. This means that if a write was reported as failed, subsequent reads may or may not return the value from that write.

And many more!

Expand full comment
Harshit Garg's avatar

Hi Arpit, Thanks for sharing the article. One suggestion: Just like you mentioned the pros of using this setup, it would be better if you can also highlight the cons of this [one i suppose is slow writes and reads]. Since there is always a tradeoff, it will help us to know both sides.

Expand full comment
2 more comments...

No posts