HARDWARE AUDIT // NodeFlow Diagnostics
FlowiseAI BullMQ Queue Mode vs Langflow Celery Scaling
FlowiseAI shares one V8 heap per worker container, while Langflow spawns multiple prefork Python workers—making --max-tasks-per-child and RAM headroom critical.
| Benchmark Metric | Option A | Option B |
|---|---|---|
| Primary Runtime & Queue | Node.js 20 + BullMQ + Redis 7 | Python 3.11 + Celery Prefork + Redis 7 |
| Dominant Failure Mode | FATAL ERROR: JS Heap Out of Memory | Celery worker hang & C-heap RSS leak |
| Critical Config Guardrail | NODE_OPTIONS=--max-old-space-size | --concurrency=2..6 --max-tasks-per-child=50 |
| Recommended Production VPS | KVM 4 (16 GB) for up to 30 flows | KVM 4/8 (16-32 GB) for multi-worker Celery |
NodeFlow Diagnostics Verdict: FlowiseAI BullMQ scales efficiently on 16 GB KVM 4 with tuned NODE_OPTIONS; Langflow Celery teams ingesting >10,000 PDF pages should enforce worker recycling and target KVM 4 or KVM 8.