By default eviction is disabled, and Upstash Redis will reject write operations once the maximum data size limit has been reached. However, if you are utilizing Upstash Redis as a cache, you have the option to enable eviction. Enabling eviction allows older data to be automatically removed from the cache (including Durable Storage) when the maximum size limit is reached. This ensures that the cache remains within the allocated size and can make room for new data to be stored. Enabling eviction is particularly useful when the cache is intended to store frequently changing or temporary data, allowing the cache to adapt to evolving data needs while maintaining optimal performance.Documentation Index
Fetch the complete documentation index at: https://upstash.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
-
You can enable eviction by checking Eviction checkbox while creating a new
database:

-
Or for an existing database by clicking Enable in Configuration/Eviction
box in the database details page:
