System Design Fundamentals
0% completed
ACID vs BASE Properties
A customer transfers 100 dollars to a friend. The bank's system takes the money from the customer's account, and then crashes before adding it to the friend's account. The 100 dollars has disappeared. No bank can accept that.
Databases have two well-known approaches to problems like this, and they make different trade-offs.
- ACID keeps every transaction strictly correct, even if the system must wait or refuse requests to do it.
- BASE keeps the system answering, even if some answers are briefly out of date.
.....
.....
.....
Like the course? Get enrolled and start learning!
K
knowledgeshop
· 3 months ago
There is major difference in what Consistentcy is in CAP theorem vs what is in ACID. In ACID we are talking about single transaction, rules and constraints in one single database and in CAP we are talking about nodes - about replicas agreeing, multiple machines (distributed systems). This should be corrected and informed.
Show 1 reply
Reading Progress
0%