Skip to content

Self-hosted feature flag servers benchmarked: startup time and memory

We started 8 open-source feature flag servers with their default Docker setups and measured time to ready, restart time, idle memory, containers and image size. Method, script and raw results included.

8 min read

Short answer: In our test on 15 November 2026, the single-binary servers (flagd, GO Feature Flag, Flagr and Flipt) were ready in under half a second and used about 20 MiB of memory. FeatBit Standalone was ready in 2.3 seconds with 213 MiB, GrowthBook in 4.1 seconds with about 1.9 GiB, Unleash in 8.2 seconds with 128 MiB, and Flagsmith in 40 seconds with 871 MiB.

These numbers describe one laptop running each project's default Docker setup with no tuning and no memory limits. They compare footprints; they don't tell you the smallest server each tool can run on. The script and raw results are published so you can run it yourself.

Results

Median of 3 runs on an Apple M1 Max laptop (10 CPUs, 64 GiB RAM) running Docker Engine 29.7.2 in Docker Desktop, which gave containers 10 CPUs and 27.4 GiB of memory, with Docker Compose 5.3.1. All images were native arm64 and already downloaded.

Tool and version Setup used Containers Ready from cold (s) Restart (s) Idle memory (MiB) Image size (MiB)
flagd 0.18.2 One container, one flag in a file 1 0.44 0.42 20 110
GO Feature Flag 1.58.1 Relay proxy, one flag in a file 1 0.45 0.41 19 122
Flagr 1.2.6 One container, SQLite with the demo database bundled in the image 1 0.44 0.41 20 65
Flipt 2.14.1 One container, default in-memory storage 1 0.45 0.67* 23 110
FeatBit 6.1.1 Official Standalone compose: UI, API, evaluation server, PostgreSQL 4 2.28 1.74 213 1,341
GrowthBook 5.2.0 Official compose: GrowthBook, MongoDB 2 4.07 3.90 1,961 2,588
Unleash 8.3.1 Official compose: Unleash, PostgreSQL 2 8.20 7.35 128 774
Flagsmith 2.291.0 Official compose: API, task processor, PostgreSQL, plus a one-off migration container 3 39.74 11.61 871 559

* Flipt's default storage is in memory, so its restart starts empty; the other restarts keep their data.

Image size is what docker image inspect reports for each image, counting an image shared by several services once. Idle memory is the average of three docker stats readings, 10 seconds apart, starting 60 seconds after the tool was ready, summed across its containers.

What did we measure?

  • Ready from cold: from docker compose up -d on an empty database until every check passed. For Unleash and Flagsmith this includes the time up -d itself waits for the database health check and, on Flagsmith, for the migration container to finish. The checks:
    • Unleash: /health, plus the client features API with the compose file's development backend token, which reads the database.
    • Flagsmith: /health and the dashboard. The API starts only after the migration container has finished.
    • GrowthBook: /healthcheck, /auth/hasorgs (which reads MongoDB) and the dashboard on port 3000.
    • FeatBit: a login with the documented demo account (which reads PostgreSQL), the evaluation server's readiness endpoint and the dashboard.
    • Flagr: /api/v1/health and /api/v1/flags.
    • Flipt: /health only.
    • flagd and GO Feature Flag: their health endpoint and an evaluation of the test flag that returns true. A second evaluation right after took 1.6 to 5.9 ms.
  • Restart: docker compose stop, then up -d again with the volumes kept, until the same checks passed.
  • Idle memory: as described under the table.

The checks don't all test the same depth: FeatBit's login and the flag evaluations prove the most, Flipt's health check the least.

We polled every 250 ms, so results under half a second can't be told apart: the four fast tools were ready about as soon as Compose had started their container. For scale, a plain busybox web server started with docker run answered in 0.11 seconds on this machine.

Why do the results differ so much?

What runs at startup. The four single-binary tools start one process and read flags from a file or an embedded database. The others start a database, wait for it, then prepare it:

  • Flagsmith's official compose file runs a migration container on every up, and the API waits for it to finish. On an empty database that container ran for 31.4 seconds (median), most of the 40-second total; with data in place, the whole restart took 11.6 seconds.
  • Unleash's compose file waits for PostgreSQL to pass a health check, polled every 2 seconds, before starting Unleash, which then migrates the database.
  • FeatBit's Standalone setup seeds PostgreSQL from init scripts and was ready in about 2 seconds.

What runs while idle. In the median GrowthBook run, the GrowthBook container used about 1.7 GiB and MongoDB about 200 MiB. Flagsmith's API used about 540 MiB and its task processor about 270 MiB. Unleash's server used 90 MiB, and FeatBit's API server 120 MiB.

Some of these runtimes size their heaps and caches from the memory and CPUs they can see, here 27.4 GiB and 10 CPUs, so the same tool may use less on a smaller server. GrowthBook's production guide asks for at least 2 GB of RAM and 1 vCPU per GrowthBook instance (GrowthBook production).

What you get for it. The heavier servers include a dashboard, user accounts and audit logs, and GrowthBook, Flagsmith and FeatBit include experiment analysis. flagd and GO Feature Flag have no dashboard: you change flags by editing files. Flagr and Flipt include a UI in their single container.

Does startup time matter in production?

Less than it looks. The flag server starts rarely, and SDKs that evaluate locally keep working from their last copy of the flags while it restarts (see what happens when the flag service goes down). Memory matters more, because you'll run two or more instances for high availability: GrowthBook recommends at least 3 for maximum fault tolerance, and Flagsmith's sizing guide puts the database for its Small tier at 2 vCPU and 8 GB (Flagsmith sizing).

What are the limits of this test?

  • One machine, ARM, Docker Desktop. Docker Desktop runs containers in a virtual machine; Linux servers and x86 will give different numbers, especially for startup.
  • No memory limits. We measured what each tool used with plenty of memory available, not the least it needs.
  • Default setups, little data. Memory grows with flags, users and traffic. The databases started empty, except Flagr's bundled demo database and the one test flag for flagd and GO Feature Flag.
  • Compose files are for trying things out. Flagsmith describes its Docker Compose setup as useful for development, testing or evaluating (Flagsmith Docker).
  • Not a measure of setup effort. We timed machines, not people: creating a first flag in each dashboard, configuring SSO or adding TLS are not included.

How we ran it

We used each project's official compose file at the release tag and changed as little as possible:

  • Version pins. Images tagged latest were pinned to the release we tested, and GrowthBook's mongo:latest to mongo:8.
  • One port change. FeatBit's API was published on port 5050 instead of 5000, which macOS Control Center holds, and its UI was pointed at it.
  • Our own minimal compose files for the four single-container tools, following their docs.

The flagd setup, for example:

services:
  flagd:
    image: ghcr.io/open-feature/flagd:v0.18.2
    command: start --uri file:/etc/flagd/flags.json
    ports: ['8013:8013', '8014:8014', '8016:8016']
    volumes:
      - ./flags.json:/etc/flagd/flags.json:ro

To repeat the test you need Docker with Compose 2.24.4 or later (for !override), Node.js 22 or later, git and curl, and these free ports: 1031, 3000, 3100, 4242, 5050, 5100, 5432, 8000, 8001, 8013, 8014, 8016, 8080, 8081, 8099, 9000 and 18000. Download run.mjs and the single-container setups into a tools/ folder next to it (flagd with flags.json, GO Feature Flag with goff-proxy.yaml and flags.yaml, Flagr, Flipt), then run:

RUNS=3 IDLE_SECONDS=60 node run.mjs
# or a subset:
ONLY=unleash,flagd node run.mjs

The script downloads the official compose files at the pinned tags, runs each tool three times with docker compose down -v between runs, and writes a JSON file with every run, per-container memory, image architectures and how long one-off containers ran.

Raw results

Tool Run Ready (s) Restart (s) Idle memory (MiB) Containers
Unleash 8.3.1 1 8.22 7.34 127.5 2
Unleash 8.3.1 2 8.20 7.35 129.1 2
Unleash 8.3.1 3 8.19 7.35 128.2 2
Flagsmith 2.291.0 1 39.66 11.59 865.2 3
Flagsmith 2.291.0 2 39.74 11.61 871.0 3
Flagsmith 2.291.0 3 39.76 11.68 872.0 3
GrowthBook 5.2.0 1 4.13 3.90 1,961.3 2
GrowthBook 5.2.0 2 4.07 3.86 1,798.1 2
GrowthBook 5.2.0 3 4.02 3.93 1,962.3 2
FeatBit 6.1.1 1 2.28 1.69 211.5 4
FeatBit 6.1.1 2 2.27 1.74 212.8 4
FeatBit 6.1.1 3 2.28 1.74 212.7 4
Flipt 2.14.1 1 0.68 0.68 23.0 1
Flipt 2.14.1 2 0.45 0.67 22.9 1
Flipt 2.14.1 3 0.45 0.65 18.9 1
Flagr 1.2.6 1 0.43 0.42 18.4 1
Flagr 1.2.6 2 0.45 0.41 20.8 1
Flagr 1.2.6 3 0.44 0.41 20.3 1
GO Feature Flag 1.58.1 1 0.43 0.42 19.0 1
GO Feature Flag 1.58.1 2 0.45 0.41 19.8 1
GO Feature Flag 1.58.1 3 0.45 0.41 16.7 1
flagd 0.18.2 1 0.44 0.41 19.9 1
flagd 0.18.2 2 0.44 0.42 21.7 1
flagd 0.18.2 3 0.46 0.42 18.4 1

For what each server needs in production, see self-hosted vs SaaS feature flags and the best self-hosted feature flag tools. All tools are in the directory.