Skip to content

Feature request: DynamoDb idempotency causes hot partions #3781

Closed
@elliottohara

Description

@elliottohara

Use case

We have an existing dynamodb table that we're using for our system that has a composite key (pk, sk)... When you set the sortKeyAttribute, we end up with all idempotency checks for a given lambda sharing a partition - resulting in hot partitions.

Solution/User Experience

Ideally we'd like the ability to inject or override the getKey method so we can control how the row is created, or just change the basic implementation to not create hot partitions with busy lambdas.

Alternative solutions

Acknowledgment

Future readers

Please react with 👍 and your use case to help us understand customer demand.

Metadata

Metadata

Assignees

No one assigned

    Labels

    completedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilitygood-first-issueSomething that is suitable for those who want to start contributingidempotencyThis item relates to the Idempotency Utility

    Type

    No type

    Projects

    Status

    Shipped

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions