Amazon dax client not working as per TTL set on the item

0

I have raised a Stackoverflow question as well regarding this, you can find more info here - https://stackoverflow.com/questions/57492795/amazon-dax-client-not-working-as-per-ttl-set-on-the-item

I am not sure what I am doing wrong but I am not seeing consistent reads from DAX client in accordance with the TTL set on the item. Even after the TTL is expired, I still see the item being returned from the cache. Can you please let me know if there is anything I am missing here. The items exist in Dynamodb as well for some time even after the TTL time is passed.

質問済み 5年前563ビュー
1回答
0

Hi Mahendranaga,

TTL deletion may not always happen at expiry time. You can learn more about how TTL works with DynamoDB and DAX in our docs here:

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/howitworks-ttl.html

Here's the relevant excerpt:
DynamoDB typically deletes expired items within 48 hours of expiration. The exact duration within which an item truly gets deleted after expiration is specific to the nature of the workload and the size of the table. Items that have expired and have not been deleted still appear in reads, queries, and scans. These items can still be updated, and successful updates to change or remove the expiration attribute are honored.

Edited by: ArturoAtAWS on Aug 15, 2019 1:27 PM

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ