Skip to main content
Version: 0.4

TechEmpower: HTTP servers

15 Nov 2026, main f766bf8. The TechEmpower Framework Benchmarks (TFB) measure web frameworks on fixed tests; this page runs its two tests without a database, json and plaintext, with the TFB's rules, on the two AWS VMs. The database tests come next.

Head to head, with every level, latency, CPU and memory: vs Rust (actix-web), vs Go (net/http), vs Bun and vs Node (http and fastify).

Each runtime is here once, with its plain HTTP server. Running NestJS? The same Nest app on Xisto, Node and Bun is on NestJS.

Setup​

  • Topology: the servers on the Xeon E5-2686 v4 (2 vCPUs, 3.9 GB, Ubuntu); the load generator, wrk 4.2.0, on the Graviton2 (2 vCPUs), over the VPC's private network. The generator never shares a CPU with the server.
  • TFB rules: the TFB's levels (json: 16 to 512 connections; plaintext: 256 to 16,384 with HTTP pipelining 16 deep, the TFB's pipeline.lua), 15 s per level, the median of 3 runs, every server checked first by a validator with the TFB's rules (headers, body, content type).
  • References: the TFB's own implementations at commit 57d92fb: actix-web (Rust 1.99, target-cpu=native), Go net/http (Go 1.27), Node http and fastify (Node v22.22.1, Ubuntu's), Bun 1.4.4 (reusePort, one process per CPU). Each uses every core, as the TFB runs them.
  • Xisto: the native Server API (bench/techempower/xisto/native) with 2 workers, one event loop per CPU.
  • CPU is the server's user + system time per 1,000 requests at the best level; peak RSS the largest of all its processes over every level.
  • Source: bench/techempower/ (apps, run.py, validate.py, chartdata.py for the charts), raw results in bench/results/techempower-2026-11-15-f766bf8, with every wrk run's own output in raw/.

Results​

json​

json: best requests per second (higher is better)
020k40k60k80kXisto (native)72kactix-web (Rust)64kBun54kGo net/http33kNode.js http29kFastify (Node.js)23k

The best of the levels, median of 3 runs at each level; Xisto in the accent colour. Every value is in the tables below.

json: requests per second by number of connections (higher is better)
  • Xisto (native)
  • actix-web (Rust)
  • Bun
  • Go net/http
  • Node.js http
020k40k60k80k163264128256512connections

Five of the servers, to keep the lines readable; all of them are in the tables below.

json: CPU time per 1,000 requests, in ms (lower is better)
020406080100Xisto (native)25.4actix-web (Rust)29.9Bun35.8Go net/http58.1Node.js http67.0Fastify (Node.js)85.6

The server's user + system time over the run at its best level, divided by the requests it answered.

json: peak memory of all the server's processes, in MB (lower is better)
0100200300400Xisto (native)5.5actix-web (Rust)14.4Go net/http30.7Bun88.4Node.js http290.3Fastify (Node.js)301.6

The largest resident set size summed over all the server processes, across every level.

json: p99 latency by number of connections (lower is better, log scale)
  • Xisto (native)
  • actix-web (Rust)
  • Bun
  • Go net/http
  • Node.js http
1 ms10 ms100 ms1 s163264128256512connections

The 99th percentile of each level's median run, as wrk reports it; each step of the axis is ten times the one below. A level without a value had no p99 in wrk's output.

json in numbers​

serverbest req/sconnections therep99 thereCPU ms per 1k requestspeak RSS (all levels)
Xisto (native Server)71,66625666.9 ms25.45.5 MB
actix-web (Rust)64,16112820.0 ms29.914.4 MB
Bun54,47412813.7 ms35.888.4 MB
Go net/http33,141645.5 ms58.130.7 MB
Node http29,258646.9 ms67.0290.3 MB
fastify (Node)23,01712814.0 ms85.6301.6 MB

Requests per second at each concurrency level (connections):

server163264128256512
Xisto (native Server)29,61551,41566,44969,71271,66671,553
actix-web (Rust)29,20748,96459,57164,16164,10962,197
Bun28,17543,16652,89954,47454,14753,963
Go net/http24,25632,39733,14132,17132,22531,517
Node http22,67828,94229,25829,04328,89227,738
fastify (Node)20,06122,24121,42023,01722,62821,756

plaintext​

plaintext: best requests per second (higher is better)
0200k400k600k800kXisto (native)650kactix-web (Rust)569kBun113kNode.js http52kGo net/http45kFastify (Node.js)37k

The best of the levels, median of 3 runs at each level; Xisto in the accent colour. Every value is in the tables below.

plaintext: requests per second by number of connections (higher is better)
  • Xisto (native)
  • actix-web (Rust)
  • Bun
  • Go net/http
  • Node.js http
0200k400k600k800k2561,0244,09616,384connections

Five of the servers, to keep the lines readable; all of them are in the tables below.

plaintext: CPU time per 1,000 requests, in ms (lower is better)
0204060Xisto (native)3.0actix-web (Rust)3.5Bun17.4Node.js http39.3Go net/http44.5Fastify (Node.js)57.1

The server's user + system time over the run at its best level, divided by the requests it answered.

plaintext: peak memory of all the server's processes, in MB (lower is better)
02004006008001.0kXisto (native)42.4Bun95.6Go net/http567.1actix-web (Rust)573.6Node.js http826.6Fastify (Node.js)848.2

The largest resident set size summed over all the server processes, across every level.

plaintext: p99 latency by number of connections (lower is better, log scale)
  • Xisto (native)
  • actix-web (Rust)
  • Bun
  • Go net/http
  • Node.js http
10 ms100 ms1 s10 s2561,0244,09616,384connections

The 99th percentile of each level's median run, as wrk reports it; each step of the axis is ten times the one below. A level without a value had no p99 in wrk's output.

plaintext in numbers​

serverbest req/sconnections therep99 thereCPU ms per 1k requestspeak RSS (all levels)
Xisto (native Server)649,581256203.8 ms3.042.4 MB
actix-web (Rust)569,047256116.3 ms3.5573.6 MB
Bun113,2424,0961.46 s17.495.6 MB
Node http51,7144,0961.03 s39.3826.6 MB
Go net/http44,6374,0961.57 s44.5567.1 MB
fastify (Node)36,5344,0961.03 s57.1848.2 MB

Requests per second at each concurrency level (connections; HTTP pipelining 16 deep):

server2561,0244,09616,384
Xisto (native Server)649,581596,731552,728411,863
actix-web (Rust)569,047522,104473,669328,127
Bun111,901110,828113,24286,769
Node http51,08650,68751,71435,409
Go net/http41,01444,09544,63733,867
fastify (Node)34,57635,11636,53424,701

What this says​

  • Xisto's native server is first on both tests: 71,666 json requests per second against actix-web's 64,161 (+12%), and 649,581 plaintext against 569,047 (+14%), with less CPU per request than any other server and the least memory of all (5.5 MB against 14.4 MB on json, 42.4 against 573.6 MB on plaintext).

  • At 16,384 connections every server loses throughput, and Xisto still answers the most requests (411,863 against 328,127). Its tail latency is worse than actix-web's at high concurrency, though, with a lower median:

    plaintextXisto p50actix p50Xisto p90actix p90Xisto p99actix p99
    4,096 connections64–70 ms74–79 ms262–348 ms203–222 ms0.59–0.92 s0.29 s
    16,384 connections265–289 ms337–347 ms1.36–1.54 s1.04–1.16 s1.9–5.1 s1.5–3.4 s

    The ranges are the three runs of each level, read from wrk's own output (raw/). At 16,384 connections the p99 moves by seconds from run to run on both servers: it is set by the requests that hit wrk's 8 s timeout (Xisto 386, 0 and 344 per run; actix-web 196, 0 and 162). The cause on Xisto's side is still open. One suspect was ruled out: a worker accepting new connections only when the listening socket's event came round; accepting on every turn changed nothing (six runs each way, the same ranges).

  • p99 values marked —: wrk 4.2 prints some percentiles as 0.00us under pipelining (its correction for coordinated omission can add samples below the lowest one it recorded, and its percentile walk starts there). Those runs have no p99; a row's p99 is the median of the runs that have one, and — when none has.

What changed since the first round​

The first round (main 40cdc16, same day) had actix-web 16% ahead on json and 1.7× on plaintext, and Xisto's servers collapsing at 16,384 connections. The runtime then stopped spending system calls a request does not need: three clock reads per request (on this VM's Xen clocksource each is a real system call), an extra read that only returned EAGAIN, and the Date header rendered once a second instead of per request; each worker got its own listening socket, so the kernel spreads new connections; and the request head is parsed in one pass. On one core the cost went from 10.2 to 7.3 µs and from 6.0 to 2.7 system calls per request. The A/B rounds are in bench/results/techempower-2026-11-14/ab-te-syscalls.