February 2018
Intermediate to advanced
382 pages
11h 33m
English
In the recipe Managing keys in Chapter 2, Data Types, we learned that Redis keys can be deleted by using the DEL or UNLINK command. Besides deleting keys manually, we can also ask Redis to delete keys automatically by setting the timeout on keys. In this recipe, we will illustrate how to set the timeout on Redis keys and explain the key expiration mechanism in Redis.
Read now
Unlock full access