Skip to main content
OPS LIVE NODEFLOW DIAGNOSTICS // FLOWISEAI & LANGFLOW BASELINE: 2026-10-21 | V8 HEAP + REDIS QUEUE MODE + MAKE HYBRID
FlowiseAgent
FlowiseAgent Disclosure: Outbound /go/ links marked rel="sponsored" may earn a referral fee at zero checkout surcharge (Disclosures).
Fix Guides // NodeFlow Diagnostics

Enabling Flowise MODE=queue with Redis & BullMQ Workers

Decoupling web API requests from heavy LLM/RAG execution via MODE=queue eliminates event-loop freezes and lets you scale worker containers independently.

Measured Stack Telemetry & Memory Profile

In Queue Mode, flowise-main serves the UI and enqueues predictions/upserts into Redis in <180 ms, while flowise-worker pulls jobs asynchronously with controlled WORKER_CONCURRENCY. Combined with Postgres 16, multi-agent RAG runs reliably without dropping client sockets.

Subsystem / SignalMeasured TargetOperational Impact
API Enqueue Latency80 - 180 msNever blocks UI or webhook listeners
Recommended Worker Concurrency2 - 4 per workerPrevents V8 heap spikes per container
Minimum VPS Tier for Queue ModeKVM 4 (16 GB / 4 vCPU)Runs main + worker + Redis + Postgres + Qdrant

Step-by-Step Triage & Config Remediation

  1. Add Redis 7 Alpine service: Start redis:7-alpine with --appendonly yes and --maxmemory 1024mb in docker-compose.yml.
  2. Switch MODE=queue in .env: Set MODE=queue, REDIS_URL=redis://redis:6379, and QUEUE_NAME=flowise-queue across all Flowise containers.
  3. Launch flowise-worker container: Run flowiseai/flowise-worker with WORKER_CONCURRENCY=3 and shared .env credentials.
MODE=queue
QUEUE_NAME=flowise-queue
REDIS_URL=redis://redis:6379
WORKER_CONCURRENCY=3
REMOVE_ON_AGE=86400
REMOVE_ON_COUNT=500

Diagnostic FAQ

Do flowise-main and flowise-worker need the exact same FLOWISE_SECRETKEY_OVERWRITE?

Yes. Both containers must share identical encryption keys and database credentials to decrypt stored API keys.

Can I scale to two worker containers on KVM 8?

Yes. On a 32 GB KVM 8 (8 vCPU), running 2 worker containers with WORKER_CONCURRENCY=3 handles up to 60 active flows.

Related Fix Guides Guides

FlowiseAgent: Size V8 heap & Redis workers before deploying Deploy KVM VPS