Skip to main content

Benchmarks

Idenplane, Keycloak, Zitadel and Authentik were measured on the same machine, under the same limits, with the same load. The harness is in benchmarks/compare, and the raw results of the run below are in benchmarks/published/2026-11-09.

Run on 2026-11-09. Idenplane was built from commit 9ed358a.

Setup​

  • Host: one cloud machine with 16 vCPU (AMD EPYC) and 31.4 GiB RAM. Only one server stack was up at a time.
  • CPU and memory: the server was pinned to 4 CPUs (0–3) with a 2 GiB memory limit. PostgreSQL 16 had CPUs 4–5, and the load generator (k6) had CPUs 6–15.
  • Load: 32 virtual users. Each scenario ran 3 × 60 s after a 20 s warm-up, and each figure is the median of the three runs.

The servers and their settings:

NameServerSettings
IdenplaneIdenplaneDefault settings: one process (WEB_CONCURRENCY=1).
Idenplane, 4 workersIdenplaneWEB_CONCURRENCY=auto, one worker per CPU it may use.
KeycloakKeycloak 26.8.2Its defaults.
Keycloak, Argon2 parityKeycloak 26.8.2Hashes passwords with the same Argon2id cost as Idenplane: 64 MiB, t=3, p=4.
ZitadelZitadel v4.20.1
AuthentikAuthentik 2026.8.5Its default web server.

Every image except the locally built Idenplane one is pinned by digest in the raw results.

The scenarios:

ScenarioRequest
discoveryGET /.well-known/openid-configuration
jwksthe realm's public signing keys
client_credentialsa token for a confidential client
introspectPOST introspection of a valid access token
passwordthe resource-owner password grant, which hashes the password on every request

Throughput​

Requests per second; higher is better. These are medians of three runs.

ScenarioIdenplaneIdenplane, 4 workersKeycloakKeycloak, Argon2 parityZitadelAuthentik
discovery4,47617,90114,91415,0934,75642
jwks4,81819,10714,56114,9544,21846
client_credentials2,5363,9242,2402,2544857
introspect2,8709,2258,8038,7441,37041
password232411519n/an/a

Latency​

p95 latency in milliseconds; lower is better.

ScenarioIdenplaneIdenplane, 4 workersKeycloakKeycloak, Argon2 parityZitadelAuthentik
discovery8.03.43.63.49.01,129.5
jwks7.42.93.83.79.4985.2
client_credentials18.615.922.723.076.68,331.3
introspect13.74.95.96.027.91,076.4
password1,497.32,143.3323.61,854.5n/an/a

All Idenplane, Keycloak and Zitadel requests succeeded. Authentik failed up to 0.5% of the requests in some runs.

Footprint​

Image sizeFirst bootRestartIdle RAMPeak RAM under load
Idenplane751 MiB4.9 s3.4 s194 MiB237 MiB (510 MiB on password)
Idenplane, 4 workers751 MiB5.5 s4.2 s762 MiB809 MiB (1,066 MiB on password)
Keycloak715 MiB24.1 s6.4 s464 MiB787 MiB
Keycloak, Argon2 parity715 MiB24.9 s6.4 s465 MiB1,124 MiB
Zitadel226 MiB3.6 s1.2 s71 MiB123 MiB
Authentik1,848 MiB83.8 s8.2 s652 MiB952 MiB

How these were measured:

  • Image size: uncompressed.
  • First boot: from container start to ready, on an empty database, including schema creation.
  • Restart: the same, on an existing database.
  • RAM: from docker stats, summed over every container of the server. Authentik runs two: server and worker.

Reading the results​

  • Default vs. 4 workers. By default Idenplane runs one process, which uses one CPU. WEB_CONCURRENCY=auto runs one worker per CPU. That is what lets it use all four CPUs here, and it costs about 190 MiB of RAM per worker. See Environment Variables.
  • Password hashing. The password figures mostly measure the hash cost.
    • Keycloak's default is Argon2id at 7 MiB, t=5, p=1, which is much cheaper than Idenplane's 64 MiB, t=3, p=4.
    • That is why stock Keycloak does 115 sign-ins per second.
    • The Keycloak, Argon2 parity column uses the same hash cost as Idenplane and is the fair comparison.
  • Zitadel and Authentik. Neither verifies a user password through the password grant, so password does not apply to them. Their introspect checks a machine (client_credentials) token rather than a user token.
    • On every token and introspection request, Zitadel verifies a bcrypt-hashed client secret.
    • On every token request, Authentik writes the service-account user, the token and an event row. Its default web server handles requests in two Python processes.
  • Where Idenplane is not ahead.
    • Zitadel has a much smaller image and uses much less memory.
    • Keycloak's image is slightly smaller.
    • With 4 workers, Idenplane uses more memory than Keycloak at idle.

Reproducing​

You need Docker with Compose, curl, openssl, and a machine with at least 8 CPUs.

# One target at a time; results go to benchmarks/results/compare/<target>/.
bash benchmarks/compare/compare.sh idenplane
WEB_CONCURRENCY=auto RESULTS_DIR=$PWD/benchmarks/results/workers \
bash benchmarks/compare/compare.sh idenplane
bash benchmarks/compare/compare.sh keycloak
bash benchmarks/compare/compare.sh keycloak-argon2-parity
bash benchmarks/compare/compare.sh zitadel
bash benchmarks/compare/compare.sh authentik

node benchmarks/compare/report.mjs benchmarks/results/compare

To measure your own build, set IDENPLANE_IMAGE. The other settings are listed at the top of compare.sh. Absolute numbers depend on the machine, so compare servers only within one run on one host.