Discussion on the Application of CAP Principle in Distributed Network System
Content
If the system emphasizes consistency, then system design can be based on ACID principles
Namely Atomicity (atomicity), Consistency (consistency), Isolation (isolation), Durability (persistence).
The ACID principle describes the consistency requirements for distributed databases, while paying the price of availability.
• Atomicity: Each operation is atomic, either successful or not executed;
• Consistency: The state of the database is consistent, there is no intermediate state;
• Isolation: various operations do not affect each other;
• Durability: The change of state is permanent and will not fail
Correspondingly, there is a BASE principle, (Basic Availiability, Soft state, Eventually Consistency) which emphasizes availability.