Skip to content

Redis

Redis is an in-memory NoSQL database that stores information as key-value pairs, making it especially fast. In automation systems, it is often used as a cache and task queue, for example when running n8n in queue mode.

Source content checked . English translation published 2026-10-27.

In business automation

When an automation system receives many events at once, it needs a fast place to hold tasks that are waiting to run. Redis is often used for this purpose as a queue between the component that receives an event and the component that processes it.

Examples

These examples illustrate a possible workflow. Adapt the connections and rules to your own systems.

Distribute work across multiple n8n servers

In a self-hosted n8n queue mode setup, the main process receives the webhook and adds the execution to a Redis queue. Separate workers retrieve tasks from the queue and run them, so a sudden spike does not overwhelm event intake.

Relevant tools

n8n
In queue mode, the setup relies on Redis as a task queue. Check its availability and backup before moving to production.

What to check

  • Redis configured to store data only in memory may lose tasks on restart if persistence to disk is not configured.

Related terms

Sources