Single-process SQLite n8n deployments stall whenever bursty CRM webhooks collide with multi-megabyte JSON Code nodes or AI chains. On BotFoundry, we size EXECUTIONS_MODE=queue topologies with dedicated webhook listeners, Redis AOF brokers, and PostgreSQL 16 workers on 8 GB to 32 GB DDR5 KVM slices.
Public rates retrieved 2026-11-12 from official vendor pricing pages cited below; promotional & renewal prices may change — always verify exact specs, term length, and renewal rates on the vendor’s official checkout page.
1. Decoupling Fast HTTP 200 Webhook Ingestion from Slow Worker Nodes on BotFoundry
Stripe, Shopify, and Telegram gateways retry or drop webhooks if your endpoint takes longer than 3–5 seconds to acknowledge. Running dedicated n8n webhook containers enqueues jobs into Redis immediately while background worker replicas process LLM prompts and file buffers asynchronously.
2. Enforcing EXECUTIONS_DATA_PRUNE=true in BotFoundry PostgreSQL Configurations
Saving full JSON execution snapshots across 50,000 daily runs bloats execution_entity by 15–25 GB per week. Set EXECUTIONS_DATA_SAVE_ON_SUCCESS=none on high-frequency workflows and prune completed records older than 168 hours (7 days).
3. Co-Locating Vector Stores or Browserless Sidecars Under BotFoundry 16 GB–32 GB Tiers
Adding Qdrant/pgvector embeddings or a headless Chromium container beside n8n adds 2.5–4.0 GB of steady resident memory — making the jump from 8 GB (KVM 2) to 16 GB (Hostinger KVM 4) essential.
How much RAM does BotFoundry budget per n8n worker replica at concurrency 10?
We allocate 1.0 to 1.5 GB RAM per n8n worker container (--concurrency=10) with explicit Docker memory: 1536M caps so a single runaway JavaScript Code node cannot crash PostgreSQL.
Why does BotFoundry require Redis --appendonly yes for n8n Queue Mode?
Without Append-Only File (AOF) persistence, an unplanned container restart wipes every queued webhook payload waiting in BullMQ memory.
Does Hostinger KVM support Ubuntu 24.04 1-Click n8n Queue Mode templates?
Yes — Hostinger offers official 1-Click n8n and Queue Mode OS templates on KVM 1/2/4/8 plans; verify current promotional rates on their official checkout page.
BotFoundry memory math for headless Chromium BrowserContexts, Docker --shm-size=2g shared memory pools, tini zombie reaping, and flat-bandwidth KVM nodes.