1

What is the default Time To Live (TTL) in the AWS Elasticache Redis Implementation?

I figured I could get it from the redis-cli, but looks like it doesn't support the CONFIG GET * syntax generally available in redis.

It's possible as well that it simply uses an LRU policy to expire, but I haven't found that stated in the docs.

3

There is no default ttl for Redis. You need to explicitly set ttl with expire commands. http://redis.io/commands/expire

It's possible as well that it simply uses an LRU policy to expire, but I haven't found that stated in the docs.

Default setting for LRU(or eviction) policy is described here: http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/CacheParameterGroups.Redis.html

  • maxmemory-policy
  • maxmemory-samples

are what you're looking for.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.