Redis Evict Block

The Redis Evict block removes old or unused data from the cache to free up memory and ensure that old data is not retrieved. This is useful when cached data becomes outdated due to updates or changes in the underlying data source and helps free up memory.

To evict data from the Redis cache, identify the cache key that stores the data to be removed. Then, configure the Redis Evict block by specifying this key to target the correct data. Finally, execute the Redis Evict block to remove the data from the cache, to ensure future requests fetch the latest information.

Configuring the RedisEvict block

To configure the RedisEvict block,

  1. From the dataflow canvas, click on the node and select the RedisEvict block.
  2. In the Block name field, enter the block name.
    Note: Block names cannot contain spaces or special characters, except for underscores (_). Use camelCase or snake_case formatting.
  3. In the Keys field, click +Add field to enter the key name. The key is the name specified in the Key field during caching.
  4. Configure the Input execution logic, Cachable feature and define the execution path as per the requirement.
  5. Click Done.
Configuring the Redis Evict block

Configuring the Redis Evict block