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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠