dynamodb writes get provisionedthroughputexceeded at 3am
A nightly job writes about 200 items per second to a table with 5 WCU and gets ProvisionedThroughputExceededException partway through. It uses batchWriteItem with 25 items per call. The SDK retries automatically, I thought, but the job still fails after a few minutes. Table has on-demand backups and a GSI. What's the right way to handle this? The job runs in a container in ECS, in case that changes anything.
4 replies