|
|
|
|
|
by simon2Q
3559 days ago
|
|
"Everything after "Basically" is misleading and inaccurate. The conclusions here are not logical: The existence of some restrictions does not imply "Transactions are a lie", since that makes us think ALL transaction semantics are suspended, which is very far from the case. There are good reasons for the design and restrictions in the BDR design, offering performance about x100 what is possible with eager consensus. Real world pragmatism, with production tools to ensure no inconsistencies exist in the database. The BDR tools allow you to trap and handle run-time issues, so it is not a theoretical debate or a mysterious issue, just a practical task for application authors to check their apps work. "Consistent reads are a lie". Reads from multiple nodes at the same time are not guaranteed to be consistent - but this is multi-master - why would you read two nodes when all the data is on one node? The whole point is to put the data you need near the users who need it, so this is designed to avoid multiple node reads. I could go on, and will do in a longer post elsewhere, but the main purpose of my retort is to show that the conclusions drawn here are not valid. Let's see how the hacker news method of consensus decides what is correct in this case. |
|
But you have a point. Not all semantics are suspended, only atomicity, isolation and consistency.
Durability has become probabilistic, because merge conflicts with a concurrent mutation from another host can discard our change.
>offering performance about x100 what is possible with eager consensus
And what's the performance gain over regular asynchronous master-slave replication? All nodes have to process all mutations at some point, no?
>but this is multi-master - why would you read two nodes when all the data is on one node?
The "why" is because my use-case requires consistent reads and the business risk of inconsistent reads is unacceptable.
I am guessing you are working on the project? It scares me that you are asking this question.
It remains to be seen how many people are happy with such trade-off. I claim total ignorance here - it could be millions :)