Feedback wanted: support for Redis in Idempotency #3183
Labels
discussing
The issue needs to be discussed, elaborated, or refined
feature-request
This item refers to a feature request for an existing or new utility
idempotency
This item relates to the Idempotency Utility
need-customer-feedback
Requires more customers feedback before making or revisiting a decision
Use case
The Idempotency utility currently supports only DynamoDB as persistence layer.
With AWS announcing Amazon ElastiCache for Valkey, we would like to understand if there's demand for the Idempotency utility in Powertools for AWS Lambda (TypeScript) supporting Redis-compatible persistence layers.
Important
We are opening this issue to gauge demand for this feature. If you're interested please leave a 👍 under this issue. If you'd like, consider also leaving a comment with your use case. If you are not comfortable sharing details in public, you can also do so by emailing us at aws-powertools-maintainers@amazon.com with your work email.
Solution/User Experience
From a customer perspective, using ElastiCache as persistence layer should be as transparent as possible and the DX should look the same as today except that instead of instantiating a
DynamoDBPersistenceLayer
, you'd be instantiating anElastiCachePersistenceLayer
(Name TBD).Below a high level example of how it'd look like:
Note
The API shown above is just for illustration purposes and might be different in the final implementation. We however welcome comments and feedback if you have any.
Alternative solutions
The feature is already available in Powertools for AWS Lambda (Python), so we should use that as reference.
Acknowledgment
Future readers
Please react with 👍 and your use case to help us understand customer demand.
The text was updated successfully, but these errors were encountered: