80.4k views
2 votes
A live online game uses DynamoDB instances in the backend to store real-time scores of the participants as they compete against each other from various parts of the world. Which data consistency option it the most appropriate to implement?

B. Eventually consistent
A. Strongly consistent
C. Strong Eventual consistency
D. Optimistic consistency

1 Answer

2 votes

Final answer:

The most appropriate data consistency option to implement in the scenario of a live online game using DynamoDB instances to store real-time scores is Eventually consistent.

Step-by-step explanation:

The most appropriate data consistency option to implement in the scenario of a live online game using DynamoDB instances to store real-time scores is Eventually consistent. Eventually consistent means that the data will eventually be consistent across all instances, but there might be a slight delay before the updates are propagated. This is suitable for scenarios where immediate consistency is not crucial, and slight inconsistencies can be tolerated.

In a live online game, real-time scores need to be quickly updated and accessed by participants from different parts of the world. Strong consistency would require all instances to be immediately updated, which can introduce delays and increase latency. Optimistic consistency and Strong Eventual consistency are not commonly used options in the context of DynamoDB.

User Bohn
by
7.6k points