DynamoDB Provisioned Write Throughput Calculator | Best Performance

Calculate Provisioned Write Throughput for DynamoDB | Best Performance

Prev Question Next Question

Question

Company B is writing 10 items to the Dynamo DB table every second.

Each item is 15.5Kb in size.

What would be the required provisioned write throughput for best performance? Choose the correct answer from the options below.

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Answer - B.

As per the documentation, when working with write capacity, the rule is to divide the item size by 1KB.Hence, 15.5 divided by 1 is 15.5

When we round-off to the nearest 1KB value, it's 16.Since we are writing 10 items per second, we need to multiply 10*16 = 160.

For more information on Read and Write capacity, please refer to the below link-

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ProvisionedThroughput.html

To calculate the required provisioned write throughput for best performance, we need to use the following formula:

Required Write Throughput = (Item Size * Write Frequency)/1KB

Where:

  • Item Size is the size of each item (15.5KB in this case)
  • Write Frequency is the number of items written per second (10 in this case)
  • 1KB is the size of a single write operation in DynamoDB.

So, substituting the values:

Required Write Throughput = (15.5 * 10)/1 = 155

Therefore, the correct answer is option C: 155.