2.1 - Replication Flashcards

(5 cards)

1
Q

What is replication in distributed systems?

A

The process of copying data across multiple nodes to ensure reliability and availability.

Replication is crucial for maintaining data integrity and accessibility in distributed environments.

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

What is the difference between synchronous and asynchronous replication?

A

Synchronous replication waits for all replicas to acknowledge before confirming a write, while asynchronous does not.

This difference affects the consistency and performance of data updates.

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

What problem does replication lag cause?

A

Clients may see stale data due to delays in propagating updates to all replicas.

Replication lag can lead to inconsistencies in user experience and data accuracy.

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

What is leaderless replication?

A

A replication model where any node can accept writes, and consistency is achieved through quorum protocols.

Leaderless replication enhances fault tolerance and scalability.

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

What are common consistency anomalies with replication?

A

Reading stale data, reading out-of-order updates, and not reading your own writes.

These anomalies can complicate application logic and user interactions.

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