Skip to content

DynamoDB TTL Experience: "get" method must return null when item has expired #310

@hffmnn

Description

@hffmnn

Hi,

I am trying to add a rate limiter to an app with the RateLimiterDynamo class. The key and expire get written to the table but expired items don't get deleted. When searching for TTL and DynamoDB it brings up a lot of threads that say, that one shouldn't rely on TTL values of DynamoDB, e.g. this on Stackoverflow.

I wonder:

  • if anyone else has experienced the same and found a workaround
  • is anyone useing RateLimiterDynamo in production

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions