Benchmarking n8n before go-live

Published n8n benchmarks show what was measured in a test setup, not what your workflows will do. This page explains how to benchmark your own workflows before go-live and turn the results into a sizing decision.

On this page

Benchmarking n8n before go-live: why your workflows decide the capacity

Benchmark your own workflows on a setup that matches production, using n8n's benchmarking approach as the method and its published results only as a reference point. That is how you find out how many main instances, workers and database resources you need before real webhooks, schedules and AI workflows arrive. The published results were measured on specific workflows, hardware, database and configuration, so no published number transfers directly to your environment. Start by writing down the topology you will run. If you use queue mode, the n8n queue mode documentation describes the main instance passing executions through Redis to workers that read and write PostgreSQL, and each of those components can become the limit.

Four factors move results more than any headline figure. Execution volume sets the arrival rate, but bursts matter more than daily averages, so model peak hours and schedules that fire at the same time. Workflow shape changes the cost of each run: a workflow with many HTTP calls, waits or sub-workflows holds worker capacity differently from a single webhook that writes one record. Payload size changes memory use, especially for large JSON and binary files, and where binary data is stored changes database and disk load. The database itself, with its connection limits and growing execution data, often reaches its limit before CPU does, so it belongs in every test.

Build the test from your own traffic. Capture the mix of webhook, schedule and AI workflows from your design or current process, run the same n8n version you plan to deploy, and keep the encryption key shared across main, worker and webhook processes as queue mode requires. Run each scenario long enough for queue depth, memory and PostgreSQL connections to settle, then record the throughput at which executions begin to wait. Size from those measured results with headroom agreed with your operations team, and repeat the test after major workflow or database changes. Confirm the exact test parameters and hardware behind n8n's published results before comparing any figure with your own.

How a benchmark run moves through queue mode

A benchmark run starts with load generated against the trigger and webhook entry points on the main instance, or on dedicated webhook processors if you run them. The main instance hands each execution to Redis, which holds the queue until a worker takes it. Workers read workflow and credential data from PostgreSQL, run the workflow, and write execution results back. Measure the main instance, Redis, the worker pool and PostgreSQL as separate components, because a bottleneck in one of them can look like a slowdown in another.

Components a benchmark must measure separately in queue mode.

What the published single and multi-instance tests measured

Read the test definition before you read any result. n8n publishes benchmark material covering single-instance and multi-instance setups, and the numbers in it only mean something once you know the conditions behind them. Before you compare your own capacity to anything published, record the workflow types used in the tests, the trigger types that started executions (webhooks, schedules or manual runs), the hardware, the database engine, the n8n version and the load pattern, including how fast requests arrived and whether they came in steady bursts or a ramp. A result from a simple webhook-to-response workflow on a single process says little about a multi-step workflow that calls external APIs and writes large payloads.

Pin the n8n version you test against. Benchmark behavior can shift between releases, so a test run on one version does not automatically describe another. Choose the release line you intend to run in production, then check the n8n release notes for the version in use and note any changes to execution handling, queue behavior or database access that could affect throughput. Record the exact version string in every test log so that a later upgrade can be compared against a known baseline rather than against memory.

Copy the exact test parameters from n8n's benchmarking material and store them next to your own runs. Do not carry any throughput, latency or instance count from published results into your sizing plan, and confirm each parameter in the source material yourself, including the test duration, the concurrency settings and the database configuration. Keep the published parameters and your environment's parameters in separate columns of the same record, so that any gap between the two is visible to the people who approve the go-live plan.

Which test setup answers which sizing question

This table pairs each n8n test setup with the sizing question it answers, what must match production, and what to confirm before the run. Read each row against your own topology, because a benchmark only predicts production for the architecture it actually reproduces.

Test setupSizing question it answersMust match productionConfirm before the run
Single instance with regular executionsHow many executions one main process handles before queueing, slowdown or memory pressure appearsSame n8n version, database, hardware, execution data settings and workflow mixWhether production runs in regular mode and which workflows dominate volume
Queue mode with main and workersHow much throughput each added worker contributes and where the database or Redis becomes the limitWorker count, worker concurrency setting, PostgreSQL pool size, Redis placementShared encryption key on main, workers and webhook processors, and Redis connectivity from every node
Queue mode with separate webhook processorsWhether webhook intake keeps up during bursts without slowing scheduled and manual runsWebhook processor count, load balancer routing for webhook paths, production webhooks disabled on mainWhich webhook paths reach processors, and that the shared encryption key is set on each processor
Multi-main for high availabilityHow failover and leader behavior affect trigger handling and recovery timeMulti-main topology, shared database and Redis, identical configuration on each mainLicensing: multi-main is limited to Enterprise self-hosted deployments, so confirm entitlement before testing

Which factors change benchmark results

A benchmark only predicts production if the test matches production's shape. The six factors below each move throughput, latency or database load, so changing one between runs makes results incomparable. Hold the rest constant and record every value with each run.

Workflow shape and step count

Throughput depends on how many nodes each execution runs and how many of them touch external systems or the database. A ten-node workflow and a ten-node workflow with branches and merges load the worker differently. Record the node count, branching and sub-workflow calls for each test workflow, and reuse the same versions of the workflows across every run. Count executions as one run of the whole workflow, so compare step counts rather than execution counts when you size.

Trigger mix: webhooks, schedules, polling

Webhooks arrive when a caller decides, so bursts are common and they hit the webhook path first. Schedules fire at fixed times and can line up into a spike at the top of the hour. Polling adds steady background load even when no data changes. Reproduce the mix you expect in production, including the burst pattern, because a flat load test can hide the peak that causes queue backlog.

Payload and binary file size

Large JSON bodies and binary files use more memory and take longer to pass between nodes, and they add write pressure when binary data is stored in the database or on disk. A benchmark with small test payloads can pass while production files exhaust memory. Use payload sizes drawn from real samples, and rerun the test with the largest expected size. Keep the same sample files for every run so differences come from the platform, not the input.

Code node and JavaScript or Python use

Custom code runs on the worker's Node.js process, so heavy loops, large transformations or synchronous work block other executions on that process. A workflow that uses only built-in nodes behaves differently from one that runs custom logic on every item. Note which Code node steps run, how many items they process and whether any call external libraries. Compare runs with identical code, because a small change in a transformation can move CPU use noticeably.

Database and connection settings in PostgreSQL

Every execution reads and writes PostgreSQL, so the connection pool size, the number of workers and the database host set a ceiling that a benchmark can hit before n8n does. Changing pool settings, instance size or PostgreSQL parameters between runs makes results impossible to compare. Record the pool settings, database resources and any proxy or pooler in the path. Check the database's own connection and lock metrics during each run, not only n8n's throughput.

Queue mode docs

Execution data saving and pruning settings

Saving successful and failed execution data writes more rows and larger records to the database, and that cost grows as history builds up during a long test. Pruning jobs that run during a test add their own load. Decide which execution data to save in production, set the same pruning age and count in every run, and start each test from a known database size. Otherwise the second run measures a larger database than the first.

How to size from your own runs

This sequence turns a benchmark into an instance and worker count for your own workloads. It starts with representative traffic and ends with a sizing decision backed by measured load points, not published numbers.

  1. Select workflows that represent production traffic

    Pick the workflows that carry real volume, including the webhook-triggered flows, scheduled jobs and any that call slow external systems or handle large payloads. Have the workflow owner confirm execution frequency per workflow from your current logs or history, and record the share of total executions each one accounts for. Done when you have a written traffic mix that adds up to your expected peak, with the heaviest workflows marked. Sizing from one simple test workflow will not describe your production load.

  2. Freeze the n8n version and configuration

    Record the exact n8n version, the execution mode, the concurrency setting, database type, binary data mode, execution pruning settings and any environment variables that affect performance. Keep this configuration unchanged for the whole test series, and change only one variable per run when you investigate. Check that the version you test is the version you plan to deploy, since n8n ships minor releases frequently. Done when a configuration file or change record captures every setting and every test run references it.

  3. Build a test environment that matches production

    Deploy a non-production environment with the same topology as planned production: the same queue mode layout, the same number of main, webhook and worker processes, the same PostgreSQL version and sizing class, and the same Redis setup. Load the workflows from step one with realistic credentials stubs or sandbox endpoints for external systems, and seed the database with a volume of execution history comparable to production. Done when a smoke test runs every benchmark workflow successfully and the team can see queue, CPU, memory and database connection metrics for every process. Results from a smaller topology do not transfer directly to production.

  4. Run a baseline at low load

    Send a light, steady mix of the production workflows and let the environment reach a stable state. Record throughput, execution duration per workflow, queue depth, CPU, memory, event loop lag if you collect it, and open PostgreSQL connections. Repeat the run to confirm the numbers are consistent. Done when two or more baseline runs produce similar results and you have a reference point for healthy operation. Review the n8n logs for errors or warnings during these runs so that any later issue can be tied to a load change.

  5. Step up load while watching the key signals

    Increase the arrival rate of executions in defined steps, holding each level long enough for queues and resource metrics to settle. At each step, watch queue depth in Redis, worker CPU and memory, main and webhook process response times, and the number of active PostgreSQL connections against the pool limit. Stop the step when queues grow without draining or when any resource stays at its ceiling. Done when you have a load table that links each traffic level to every measured signal. Confirm that the queue drains after each step ends, because a queue that never recovers is a capacity limit.

  6. Record where failures or delays begin

    Identify the first load level where execution latency rises sharply, queue depth stops draining, workflows fail, or webhook responses slow or time out. Note which resource hit its limit first, such as CPU on workers, memory on the main process, or database connections. Review n8n logs and PostgreSQL logs for pool exhaustion, out-of-memory events or lost connections at that point. Done when you can name the bottleneck for that load level and attach the supporting log excerpts and metric graphs to the test record.

  7. Convert results into instance and worker counts

    Divide the sustainable load at the bottleneck by the per-instance or per-worker throughput you measured, then add headroom for peaks, failover and growth. Confirm the headroom figure with the operations and business owners, since it reflects their tolerance for delay during spikes. Check that the chosen worker concurrency and PostgreSQL pool size still fit together after scaling. Done when you have a written sizing recommendation with the tested workloads listed, the version and configuration referenced, and a plan to rerun the benchmark after significant workflow or version changes. This sizing is valid only for the workloads tested. A new workflow mix, a new n8n version or different external latency needs a new test.

Security and data handling during benchmark runs

Benchmark runs push real volume through real workflows, so the test environment can leak data or credentials just as production can. The cards below cover the controls to set before the first run and the cleanup to finish after the last one.

Use synthetic or masked data

Load tests should run on synthetic or masked records, not copies of production customer or patient data. Generated payloads that match the real field sizes, nesting and binary file sizes give you realistic load without moving personal or health data into a lower-trust environment. Check that the generator produces the same JSON shape and attachment sizes your workflows handle in production, because those factors drive memory use.

Separate test credentials

Create dedicated test accounts and API keys for every service a benchmark workflow touches. Never reuse production credentials in the test instance, since a load test that loops over a credential can trigger rate limits, lock accounts or write bad records into live systems. Ask the owner of each system to confirm that the test identities have only the permissions the scenario needs.

Route outbound calls to stubs

Point HTTP Request and integration nodes in test workflows at stub endpoints or sandboxes that return fixed responses. This keeps the measurement focused on n8n itself and prevents load from reaching third-party systems or partner APIs. Confirm that no test workflow still uses a production base URL, including values copied into environment variables or credential records during setup.

Match encryption key handling

Credentials stored in the database are encrypted with the instance encryption key. The test instance should follow the same key handling as production, with the key stored in your secrets system and never in a shared file. In queue mode, the main instance's encryption key must be shared with all worker and webhook processor nodes so they can read credentials, so include every worker in the test topology when you configure it.

Queue mode docs

Remove or lock down afterward

When the run ends, either destroy the test instances, workers and their databases, or lock them down by disabling public webhooks, revoking test credentials and restricting network access. Retained execution data and binary files can hold sample payloads long after the benchmark. Record which artifacts you kept, where they are stored and who can open them, so the test environment does not become an unmanaged copy of production.

Reading results for single instance and queue mode

On a single instance, one n8n main process receives triggers and webhooks and also runs the executions. That means every workflow you test competes for the same event loop and the same memory. When throughput flattens or latency climbs, the cause usually shows up on that one process, so you read the process metrics alongside the execution timings rather than the execution count alone.

  • Event loop pressure: Rising event loop delay during a run means the process is busy with work that blocks other work, including webhook acknowledgements.
  • Memory growth: Heap usage that climbs across the run and does not fall back suggests large payloads or retained execution data, not a steady-state limit.
  • Concurrency limits: The production concurrency setting caps how many executions run at once, so a plateau at a fixed count often reflects that cap rather than hardware.
  • Trigger timing: Webhook response times that grow while executions are queued indicate the main process is absorbing load it should be handing off.
  • Repeatability: Run the same scenario several times on the same host to separate real limits from noise caused by other processes.

Before you accept a result, confirm which concurrency setting was active during the run and record it with the numbers.

Limits of benchmarks and what to confirm in your environment

Published benchmark results describe one test setup at one point in time. The cards below cover the gaps between that setup and your own platform, so the numbers you take into capacity planning match the workloads, release and licensing terms you will actually run.

Published setups may not match yours

A published test records the hardware, database, network, workflow mix and payload sizes used by its authors. Your workflows may call slower external APIs, handle larger JSON or binary payloads, or run more Code node steps per execution. Before relying on any figure, ask n8n for the full test configuration and compare each factor with your own inventory. Treat a result as a starting point for your own runs, not as a guarantee for your deployment.

Queue mode docs

Execution counts are not capacity

n8n counts an execution as one run of a whole workflow, regardless of how many steps it contains. Plan limits describe what your subscription allows, while capacity describes how many executions your hardware and database can process within a target latency. Confirm with n8n how your plan counts executions, then separately measure throughput on your own workers. Mixing these two numbers leads to oversized licenses or undersized infrastructure.

n8n pricing page

Release changes can move results

n8n ships minor releases roughly weekly under semantic versioning, so the build you benchmark may differ from the one you deploy. Scheduler, queue and execution-data behavior can change between releases. Record the exact version used in each test, repeat key runs on the release you intend to run in production, and ask n8n which changes in your target release affect execution handling before go-live.

Release notes

Licensing limits test topologies

The Sustainable Use License permits use for your own internal business purposes, but it does not cover every use. Files with .ee in their name require a valid Enterprise License. Multi-main high availability is restricted to Enterprise self-hosted deployments. Before building a test that uses multi-main or other paid topology, confirm with n8n that your license and internal test use are covered, and do not present results from a topology you cannot run in production.

n8n license text

Cloud and on-premises latency differ

Benchmarks run on one cloud network, storage class or data center may not reflect your private cloud, virtualized hosts or restricted network. Database round trips, Redis latency, object storage access and outbound calls to external services all change execution times. Ask your platform team to measure these paths in your environment, including storage latency for binary data and the connection limits your network enforces, and rerun the benchmark after any infrastructure change.

Questions teams ask before they benchmark n8n

How much effort does an n8n benchmark take before go-live?

Effort depends mainly on how many workflows you test, how closely the test environment matches production, and how many test cycles the results require. A few representative workflows on a single instance take far less work than a queue-mode topology with several workers, a Redis broker, PostgreSQL and separate webhook processors, because each added component adds settings to vary and results to explain. Expect one cycle to establish a baseline, then repeat cycles after each change to concurrency, database settings or hardware. Most of the cost is staff time for building test data, running load profiles and reading metrics, plus any partner fee. When you ask for a quote, ask which inputs (workflow count, topology and cycles) drive the total so you can see what moves the price.

Can our own team run an n8n benchmark without outside help?

Yes, if your team has load testing experience and PostgreSQL skills. Running the test is the easier part: you need a load generator, a repeatable set of workflows and a way to send webhook or schedule traffic at controlled rates. The hard part is interpreting results in queue mode. A slow run can come from main instance webhook handling, worker concurrency that exhausts database connections, Redis latency, slow external APIs or large payloads written to execution data, and the metrics often point to several of these at once. Read the queue mode documentation before you start so the topology and shared encryption key requirements are clear. If nobody on the team has tuned PostgreSQL under concurrent write load, that is the usual reason to bring in help.

What does your team need to provide for an n8n benchmark?

Four inputs decide whether the results mean anything. First, an inventory of production workflows covering trigger type, nodes called, expected payload sizes, external systems, execution frequency and which workflows must finish within a set time. Second, a test environment that matches production in topology, database, Redis, worker count, container resources and the network path to external services. Third, access to metrics, logs and database statistics during every run, so bottlenecks can be traced to a cause. Fourth, an agreed go-live target written down before testing starts, such as the peak execution rate and latency the business accepts. Provide sanitized test data as well, and confirm internally before copying any workflow that processes personal data from production into a lower environment. Without these inputs, the benchmark measures a different system from the one you will run.

How long does an n8n benchmark take before go-live?

The duration depends on scope: how many workflows and trigger types are tested, how many topologies are compared, how many test cycles are needed and how quickly a matching environment can be provisioned. Environment setup and workflow inventory often take longer than the load runs, so plan them first. No single duration fits every deployment, so ask for a written timeline with milestones: inventory review, environment build, baseline run, tuning cycles, final report and retest after changes. Confirm which dates depend on your side, such as access approvals, change windows and metric exports, because delays there usually move the go-live date more than test time does. A timeline is only useful if it names the go-live target it is working toward.

What does a DeployOpen quote for n8n benchmarking follow from?

A DeployOpen quote follows from the written scope, which is agreed before work starts. DeployOpen does not publish a price list. The scope should state which workflows and trigger types are included, which topologies and environments are tested, how many test cycles are planned, what the deliverables are (such as a report with measured limits, bottleneck analysis and sizing recommendations) and what the client provides. Cost has a one-time part for the benchmark itself, and a recurring part if you want repeat runs after upgrades or workflow changes, which can be covered by a retainer. Ask whether environment provisioning, data preparation and retesting are priced separately so you can compare quotes on the same basis.

Can we use n8n's published benchmark results directly for our sizing?

No. Use the published results as a reference for method only, and do not treat them as a capacity figure for your deployment. Published tests measure specific workflows, hardware, database setup and load profiles, and your results will change with the factors that matter most in practice: nodes per workflow, payload size, binary data handling, external API response times, database write volume from execution data, worker concurrency and the number of workers. Borrow the method from them: define the load profile, fix the configuration, record metrics and change one variable per run. Then size from your own runs using your own workflows. If you cite published numbers in a capacity plan, state the conditions they were measured under and confirm them against your environment.

How DeployOpen scopes and delivers n8n benchmarking

DeployOpen approaches benchmarking n8n as a fixed-scope piece of work tied to your workflows, your queue layout and your target volumes, rather than a generic load test. The written scope defines what is measured, in which environment and what the final sizing report must answer before go-live.

How we scope

  • Agree in writing which workflows, trigger types and execution volumes the benchmark must represent.
  • Define the deployment under test, including single instance or queue mode, worker count and database.
  • Record the success criteria for latency, throughput and error rate before any test run starts.
  • Confirm which external systems the workflows call, so test stubs or sandboxes can be planned.

How we build

  • Build a test environment in your infrastructure that matches the production topology under review.
  • Create representative test data and workflow fixtures, including payload sizes you expect in production.
  • Run repeated tests at increasing load, varying one factor at a time such as concurrency or worker count.
  • Capture n8n and database metrics during each run so results can be traced to specific bottlenecks.

How we hand over

  • Deliver a written report with test design, raw results, observed limits and the configuration tested.
  • Document a sizing method your team can repeat, including how to rerun the benchmark after workflow changes.
  • Walk your platform and operations engineers through the results and the assumptions behind them.
  • List the open risks and the settings to revisit before production traffic arrives.

How we support

  • Retest after your team changes configuration, workflows or infrastructure, as covered by the agreed scope.
  • Ongoing support, upgrades and continuous testing are available as a retainer for teams running n8n at volume.
  • Ask any provider to confirm in writing who runs the tests, where data is stored and who owns the results.
  • Confirm with your own change process how benchmark results feed into release approvals.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.