CAP Theory Flashcards

1
Q

CAP

A

Consistency,
Availability,
Partition Tolerance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is CAP Theory

A

CAP theory states that a distributed system can achieve at most two out of three guarantees:

Consistency,
Availability,
Partition Tolerance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Consistency

A

All nodes see the same data at the same time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Consistency Relevance

A

Ensures all users see most up-to-date state

Difficult to achieve due to decentralized nature of DApps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Availability

A

Every request recieves a (non-error) reponse regardless of the individual nodes state

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Availability Relevance

A

DApps must ensure high availability, meaning the system should be able to process transactions, even if some nodes are down or delayed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Partition Tolerance

A

System continues to operate despite arbitrary partitioning (communication breaks) in the network.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Partition Tolerance Relevance

A

The system needs to function even when parts of the network can’t communicate with each other.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly