Category: nosql

ACID vs BASE

ACID

• Atomicity: Either all of a transaction happens or none of it happens.

• Consistency: A transaction takes the database from one consistent state to the next.

• Isolation: The effects of a transaction may not be visible to other transactions until the transaction has committed.

• Durability: Once the transaction is committed, it is permanent.
BASE

• Basically Available: This constraint states that the system does guarantee the availability of the data as regards CAP Theorem; there will be a response to any request.

• Soft State: The state of the system could change over time, so even during times without input there may be changes going on due to ‘eventual consistency,’ thus the state of the system is always ‘soft.’

• Eventual consistency: The system will eventually become consistent once it stops receiving input.

Advertisements