3 ms·
Good article. I've stopped using bank transfers as an example for Acid transactions, and instead talk about social features: - if I change a privacy setting i
by morgo 10y ago
Good article.
I've stopped using bank transfers as an example for Acid transactions, and instead talk about social features:
- if I change a privacy setting in Facebook or remove access to a user, these changes should be atomic and durable
- transactions offer a good semantic of which to make these changes. They can be staged in queries, but nothing is successful until after a commit.
- without transactions durability is hard to offer. You would essentially need to make each query flush to disk, rather tha each transaction. Much more expensive.