What is the MOST cost-effective way to delete posts that are older than 48 hours?

1 Comment

  1. Patrick
    Author

    I have a feeling that the answer is:
    For each item, add a new attribute of type Number that has a timestamp that is set to 48 hours after the blog post creation time. Configure the DynamoDB table with a TTL that references the new attribute.

Leave a Reply to Patrick Cancel reply

Your email address will not be published. Required fields are marked *

7 − 1 =