You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DynamoDB has a new on demand pricing model, where you pay per request and do not provision any capacity. Since the cost is only per-request and not based on requests per second, it does not make sense to throttle reads from those tables.
An on-demand table has provisioned capacity values of 0:
Hello,
I had the same issue and managed to modify the code adding this: this.onDemandReadCapacity = options.onDemandReadCapacity || 25;
to the dynamo-backup.js
and in the same file, in the _copyTable function i've added: var limit = Math.max((data.Table.ProvisionedThroughput.ReadCapacityUnits * readPercentage) | 0, 1); if (data.Table.BillingModeSummary.BillingMode === 'PAY_PER_REQUEST') { limit = self.onDemandReadCapacity; }
When creating the instance of DynamoBackup just add a property like: onDemandReadCapacity: 400
Thinking about doing a pull requests but the repo seems quite dead
DynamoDB has a new on demand pricing model, where you pay per request and do not provision any capacity. Since the cost is only per-request and not based on requests per second, it does not make sense to throttle reads from those tables.
An on-demand table has provisioned capacity values of 0:
The text was updated successfully, but these errors were encountered: