Ravi Sir's Cards › AWS
TTL vs a scheduled cleanup job
Enable TTL for eventual background removal of rows with expired numeric Unix timestamps. A rule or Scheduler can invoke Lambda to preview, flag or delete with conditions and observable results. For logical expiry, check the timestamp inside the app. Use a job when archiving, metrics or conditional changes matter.
Read card text
What this card says
DynamoDB TTL
Enable TTL for eventual background removal of rows with expired numeric Unix timestamps.
Scheduled job
A rule or Scheduler can invoke Lambda to preview, flag or delete with conditions and observable results.
Choose by need
For logical expiry, check the timestamp inside the app. Use a job when archiving, metrics or conditional changes matter.