Prev Question
Next Question

You are experiencing performance issues writing to a DynamoDB table. Your system tracks high scores for video games
on a marketplace. Your most popular game experiences all of the performance issues. What is the most likely problem?

A.
DynamoDB’s vector clock is out of sync, because of the rapid growth in request for the most popular game.

B.
You selected the Game ID or equivalent identifier as the primary partition key for the table.

C.
Users of the most popular video game each perform more read and write requests than average.

D.
You did not provision enough read or write throughput to the table.

Explanation:
The primary key selection dramatically affects performance consistency when reading or writing to DynamoDB. By
selecting a key that is tied to the identity of the game, you forced DynamoDB to create a hotspot in the table partitions,
and over-request against the primary key partition for the popular game. When it stores data, DynamoDB divides a table’s
items into multiple partitions, and distributes the data primarily based upon the partition key value. The provisioned
throughput associated with a table is also divided evenly among the partitions, with no sharing of provisioned throughput
across partitions.
http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GuidelinesForTables.html#GuidelinesForTables.
UniformWorkload

Prev Question
Next Question

Leave a Reply

Your email address will not be published. Required fields are marked *