Skip to main content

Performance

On average, NRAI (self-hosted) can handle 95 flow executions per second on a single instance (including PostgreSQL and Redis) with under 300ms latency.
It can scale up much more with increasing instance resources and/or adding more instances.

The result of 5000 requests with concurrency of 25

Benchmarking

Here is how to reproduce the benchmark:
  1. Run NRAI with PostgreSQL and Redis with the following environment variables:
  1. Create a flow with a Catch Webhook trigger and a webhook Return Response action. Simple Webhook Flow
  2. Get the webhook URL from the webhook trigger and append /sync to it.
  3. Install a benchmark tool like ab:
  1. Run the benchmark:
  1. Check the results:
Instance specs used to get the above results:
  • 16GB RAM
  • AMD Ryzen 7 8845HS (8 cores, 16 threads)
  • Ubuntu 24.04 LTS
These benchmarks are based on running NRAI in SANDBOX_CODE_ONLY mode. This does not represent the performance of NRAI Cloud, which uses a different sandboxing mechanism to support multi-tenancy. For more information, see Sandboxing.