-
Notifications
You must be signed in to change notification settings - Fork 161
Closed
Labels
completedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilitygood-first-issueSomething that is suitable for those who want to start contributingSomething that is suitable for those who want to start contributingidempotencyThis item relates to the Idempotency UtilityThis item relates to the Idempotency Utility
Description
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
- This feature request meets Powertools for AWS Lambda (TypeScript) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Python, Java, and .NET
Future readers
Please react with 👍 and your use case to help us understand customer demand.
mikesnare
Metadata
Metadata
Assignees
Labels
completedThis item is complete and has been merged/shippedThis item is complete and has been merged/shippedfeature-requestThis item refers to a feature request for an existing or new utilityThis item refers to a feature request for an existing or new utilitygood-first-issueSomething that is suitable for those who want to start contributingSomething that is suitable for those who want to start contributingidempotencyThis item relates to the Idempotency UtilityThis item relates to the Idempotency Utility
Type
Projects
Status
Shipped