Maintaining nonephemeral data

Nonephemeral type of data is not dependent on time and has usefulness throughout its existence in the system. Since this kind of data is time-independent, it is possible that the data can increase in due course of time. This can be problematic in Redis since data is stored in memory in Redis. Handling and maintaining this nonephemeral data is crucial for the maintenance of Redis since at the back of our minds, we have to keep the available memory and availability of data in mind.

Redis comes with some capabilities to handle the previously discussed scenarios, which is if the datastore grows at an alarming rate, as it can outgrow the memory available. In such scenarios, adding more RAM can solve the issue, or we can ...

Get Learning Redis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.