Current location - Music Encyclopedia - Dating - There are two modes of distributed system: CP and AP. How to understand the advantages and disadvantages of these two models?
There are two modes of distributed system: CP and AP. How to understand the advantages and disadvantages of these two models?
To analyze the advantages and disadvantages of CP and AP, we must first understand what CAP is.

C consistency, strong consistency. A- availability, availability P- partition fault tolerance, partition fault tolerance.

P is necessary in distribution, so there are two distribution modes: CP and AP. The purpose of AP is strong usability and weak consistency; CP is strong consistency and weak availability. You can understand strength as strength and weakness.