Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProvisionedThroughputExceededException: #20

Open
Lusitaniae opened this issue Jul 12, 2021 · 2 comments
Open

ProvisionedThroughputExceededException: #20

Lusitaniae opened this issue Jul 12, 2021 · 2 comments

Comments

@Lusitaniae
Copy link
Contributor

Lusitaniae commented Jul 12, 2021

The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API.

As far as I see the throughput flag is set to 1 by default in importDataCli function, so I guess I cannot adjust any parameter any further.

Is it possible to add better handling for these errors?

Rate limiting read requests to dynamo?

Maybe add some pauses in between requests (besides the retries managed by max-retries)

@Lusitaniae Lusitaniae changed the title ProvisionedThroughputExceededException: The level of configured provisioned throughput for the table was exceeded. Consider increasing your provisioning level with the UpdateTable API. ProvisionedThroughputExceededException: Jul 12, 2021
@mifi
Copy link
Owner

mifi commented Feb 26, 2022

I think the AWS SDK (which we use) already retries when it gets this error. Maybe it gave up retrying?
See https://stackoverflow.com/questions/31468379/how-to-solve-throughput-error-for-dynamodb

@mifi
Copy link
Owner

mifi commented Jul 2, 2022

I think it needs to rewritten to use aws-sdk-v3 instead, like I just did with cognito-backup: mifi/cognito-backup@431e707

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants