Skip to content

Use a Retryer instead of retry loops for DynamoDB #1152

Closed
@bboreham

Description

@bboreham

The DynamoDB client disables retries and then wraps everything in a loop to do retries.
Disabling retries came in #153; the backoff loop has gone through many iterations since #119.

The stated reason is that we want to monitor retries.

From my experiences using the DynamoDB API elsewhere, I think it would be far cleaner to implement a Retryer which adds the required monitoring, let the AWS SDK do retries, and take out the explicit loops.

Noted at #792 (comment).

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions