Redis eviction before max-memory is reached

42 views
Skip to first unread message

Owais Ahmad

unread,
Jul 28, 2016, 12:24:52 PM7/28/16
to Redis DB
Hello all,

How can I evict keys (and make more memory available for new keys) as soon as existing keys expire?

Regards,
Owais

Flarp Emerald

unread,
Aug 16, 2016, 10:38:21 PM8/16/16
to Redis DB
If you're asking how to remove keys when they expire, well, they do once they expire, so you'll have more memory once they expire - http://redis.io/commands/expire

If that's not what you meant, go ahead and clarify :D

Reply all
Reply to author
Forward
0 new messages