Blog
    Business Automation8 min

    n8n Queue Mode: How to Scale Business Workflows with Redis and Workers

    Abstract illustration of a message queue distributing tasks to several workers in an automation flow
    November 1, 2026Team 42bites
    n8nQueue ModeScalabilityRedisWorkflow AutomationProcess Optimization

    n8n queue mode separates whoever receives requests from whoever runs the workflows: the main instance puts executions on a Redis queue and several workers process them in parallel. It is the recommended setup when workflows become numerous or heavy, because it allows horizontal scaling, absorbs spikes and isolates failures.

    When You Need Queue Mode

    In regular mode a single n8n instance receives webhooks, schedules triggers and runs workflows. For modest volumes that is plenty. Signs that you have hit the limit include a slow interface during executions, webhooks timing out at peak times, long executions blocking others and high memory use when processing large files.

    The Architecture in Brief

    • Main instance: interface, triggers and schedules; puts executions on the queue.
    • Redis: the queue broker, the meeting point between main and workers.
    • Workers: separate processes that pick executions from the queue and run them.
    • PostgreSQL: shared database for workflows, credentials and executions; SQLite is not suitable for this mode.
    • Optional webhook processors: instances dedicated to receiving webhooks, behind a load balancer.

    All instances must share the same credential encryption key and the same n8n version. Configuration details and environment variables should be checked in the official documentation for the version you use.

    Sizing Workers and Concurrency

    Each worker runs a configurable number of executions in parallel. A value that is too high exhausts memory and connections to external APIs, one that is too low leaves resources idle. Start with a cautious value, for example 5-10, and tune by watching CPU, memory and queue wait times. Adding a worker is simpler and safer than enlarging a single machine.

    Reliability: What Happens When a Worker Fails

    With a queue, if a worker stops, waiting executions stay in Redis and are picked up by the others. Executions running at the moment of failure need care: idempotent workflows and duplicate checks prevent double effects. Redis and PostgreSQL become critical components and need backups, persistence and monitoring.

    Monitoring and Cost

    Watch queue length, average wait time, error rate and worker memory use. A queue that keeps growing means you need more workers or more efficient workflows. With containers and orchestrators you can add workers at peak hours and remove them at night, keeping costs in check.

    When to Stay in Regular Mode

    For a few dozen light workflows, queue mode adds needless complexity: two more services to maintain, update and secure. Adopt it when there is a measurable need for capacity or isolation.

    Key takeaway: n8n queue mode, with Redis, PostgreSQL and workers sized on real load, lets business automation grow without slowdowns, provided you design idempotent workflows and monitor the queue.

    Want to Run n8n in Production at Scale?

    We design and secure reliable n8n architectures, from the first workflow to high volume.