Difficulty: Medium
Correct Answer: All of the above.
Explanation:
Introduction / Context:Replication copies data across sites to improve availability, performance, and local autonomy. Deciding when to replicate requires weighing network bandwidth, heterogeneity, and read/write patterns—including tolerance for slightly stale data.
Given Data / Assumptions:
Concept / Approach:Replication is well-suited when bandwidth is limited (reduce round-trips), environments are heterogeneous (decouple updates), and the application can accept eventual consistency rather than strict real-time synchronization.
Step-by-Step Solution:
Evaluate each condition independently as a reason to replicate.Recognize that each favors local reads and asynchronous propagation.Select the option that consolidates all valid reasons.Verification / Alternative check:CAP-inspired designs and classic replication literature cite bandwidth constraints and staleness tolerance as drivers for replication strategies.
Why Other Options Are Wrong:
Common Pitfalls:Assuming replication always guarantees strict consistency; asynchronous models trade freshness for availability/performance.
Final Answer:All of the above.
Discussion & Comments