Coming soon. The Wiki is in active development, so features and these docs may still change. Early adopters: contact us for access.

Sizing & performance

How much CPU and memory the Wiki needs, from a team of 50 to 100,000 people, and the load test results behind the numbers

How big the servers, the web app and PostgreSQL should be for the number of people who use the Wiki. The numbers come from load tests of the current release (results at the end of this page); start from the table for your size, then watch the real load and adjust.

1. How to read the numbers

  • People is everyone with an account who uses the Wiki. Active at peak is how many of them have the Wiki open and are clicking through pages at the busiest moment of the day. For a company wiki that is usually 5–10% of the people; the tables use 10%, so most installations have room to spare.
  • An active person in the tests opens a page every 10 seconds on average and keeps a tab open with its live connection. Someone reading a long page for a few minutes costs less.
  • The tables size for about half the CPU at peak, so a spike, a large import or a server restart doesn't slow everyone down.
  • Every part scales out: more servers (a cluster, Pro), more web app processes behind your proxy, and a bigger PostgreSQL.

2. What one active person costs

PartPer 1,000 active peopleNotes
Web appAbout 0.2 CPU with /api routed to the server; 150 MB per processIt draws the pages only. One process can't use more than about one CPU; run one per CPU behind the proxy. If API calls go through the web app instead, it needs about 1.9 CPU per 1,000 active people
ServerAbout 0.3 CPU and 150 MB, plus about 200 MB for the server itselfMeasured up to 3,500 active people on one CPU
PostgreSQLAbout 0.3 CPUPlus memory for the data people read most (see below)
RedisSmall (well under 0.1 CPU)Only for a cluster
PeopleActive at peakServersWeb appPostgreSQLRedis
Up to 500501 × 1 CPU, 1 GB1 process, 1 CPU, 1 GB2 CPU, 4 GB—
2,0002001 × 1 CPU, 1 GB1 process (2 for availability)2 CPU, 4 GB—
5,0005001 × 2 CPU, 2 GB (2 for availability)2 processes, 1 CPU, 1 GB each2 CPU, 8 GBCluster only
10,0001,0002 × 2 CPU, 2 GB2 processes4 CPU, 16 GB1 CPU, 1 GB
25,0002,5002 × 2 CPU, 4 GB3 processes8 CPU, 32 GB1 CPU, 2 GB
50,0005,0003 × 2 CPU, 4 GB4 processes (2 hosts × 2 CPU)8 CPU, 32 GB, a standby replica2 CPU, 2 GB, Sentinel
100,00010,0004 × 2 CPU, 4 GB8 processes (2 hosts × 4 CPU)16 CPU, 64 GB, a standby replica2 CPU, 4 GB, Sentinel

Up to about 2,000 people everything can share one machine of 4 CPU and 8 GB (server, web app and PostgreSQL), as long as it is backed up. From 5,000 people, give PostgreSQL its own machine or use a managed database. A cluster needs the Pro licence, Redis and shared storage; see Single server & cluster.

The web app column assumes your proxy sends /api straight to the server (see Install the Wiki). Without that route every API call passes through the web app, which then needs about ten times as many processes.

If more of your people are active at once (for example everyone opens the Wiki at 9 a.m. for a stand-up), size by the number of active people you expect, not by the number of accounts.

4. Settings that matter at scale

  • Memory limit. Give each server at least 1 GB and set GOMEMLIMIT to about 80% of its memory limit (for example GOMEMLIMIT=800MiB for 1 GB). A server that runs out of CPU queues requests and its memory grows; past its limit it is stopped. Keep peak CPU at about half and add servers before that.
  • Database connections. Each server opens pool_max_conns connections (default 4, or the number of CPUs if more). The default carried 3,500 active people per server CPU in the tests. Raise it at a server's first start, in DATABASE_URL (…?pool_max_conns=16), only when PostgreSQL has CPUs to spare, and keep servers × pool_max_conns plus 20 under PostgreSQL's max_connections.
  • PostgreSQL CPUs. Give PostgreSQL at least as many CPUs as the servers together: in the tests it needed as much CPU as the server did.
  • PostgreSQL memory. Enough to keep the pages, versions and people that are read most in memory: shared_buffers about a quarter of its memory. The test database (2,000 people, 2,100 pages) was 31 MB; a page with its versions and analytics takes about 15 KB on average, so 100,000 pages with history is roughly 2–5 GB, plus page views (kept month by month, see Analytics).
  • API traffic. Send /api from the proxy straight to the server, not through the web app (see Behind a proxy). A call passed on by the web app costs it about ten times the CPU the server spends answering it; in the tests, routing /api directly cut the web app's CPU from 1.9 to 0.2 CPU per 1,000 active people. The sizes above assume this route.
  • Web app processes. Run one process per CPU on each host and spread them behind the proxy. Compress responses at the proxy (gzip or Brotli), and let it cache /_next/static/ for a long time: those files never change within a release.
  • The live connection. Every open tab holds one WebSocket on /api/ws, and editors one more for the page they edit. Allow enough open files for them on each server (LimitNOFILE in systemd, ulimits in a container): at least 4 × the active people you expect per server.
  • Rate limits. The default limits suit the sizes above. Behind a proxy, set TRUSTED_PROXIES so limits apply to each person's address, not the proxy's (see Rate limits).

5. Watching the load

  • Settings → Clustering shows each server's CPU and memory; the system check warns when one is unhealthy.
  • Monitoring gives Prometheus metrics for request rates, live editing and the server process. Add a server when peak CPU stays above about 60%, or when page loads in your monitoring slow down.
  • Watch the web app's CPU separately, above all if API calls pass through it.

6. Load test results

The numbers above come from these tests, run on 20 November 2026 against the current release. They are a guide for planning, not a promise: your pages, plugins and habits differ.

SettingValue
MachineOne 4-CPU cloud machine; each part pinned to its own CPUs and limited like a container (--cpus, --memory)
Data2,000 people, 17 spaces, 2,100 pages made from the ready-made templates (720 published)
PeopleSigned in, a tab open with its live connection, a new page every 10 s on average: 60% reading pages, 10% space overviews, 8% the dashboard, 8% search, 4% editing (editors open the live editor), the rest the spaces list, Q&A, history and blogs. One view in five is a full page load
Pass95% of page loads (all of a screen's requests) within 1.5 seconds, under 1% of requests failing
Not includedTyping in the editor, uploads, imports and exports; static files the browser caches

The server alone (requests straight to the server, PostgreSQL on two CPUs):

Server limitActive people that passedPage views per secondRequests per secondPage load, 95%Server CPU usedServer memoryPostgreSQL CPU used
0.5 CPU, 512 MB1,5001501,5200.15 s0.44213 MB0.45
1 CPU, 1 GB3,0003002,9800.26 s0.84362 MB0.89
1 CPU, 1 GB3,500 (limit)3323,3301.3 s0.92562 MB0.91

With the web app in front and /api routed straight to the server (pages from one web app process limited to 1 CPU and 1 GB, the server at 1 CPU, PostgreSQL on one CPU):

Active peoplePage views per secondPage load, 95%Web app CPU usedWeb app memoryServer CPU used
500500.04 s0.11121 MB0.16
1,0001000.04 s0.21129 MB0.32
1,5001500.06 s0.30131 MB0.45
2,0002000.12 s0.38137 MB0.61

At twice that load (240 page views a second) the server and PostgreSQL, sharing the test machine, ran short first; the web app was at 0.43 CPU. The test had 2,000 accounts, so the web app's own limit is above that.

Every request through the web app (no /api route at the proxy; same limits):

Active peoplePage views per secondPage load, 95%Web app CPU usedWeb app memoryServer CPU used
100100.11 s0.21147 MB0.05
200200.16 s0.43150 MB0.09
300300.19 s0.61157 MB0.12
400400.36 s0.78173 MB0.15
500 (over the limit)482.0 s0.93176 MB0.16
  • The server's cost grows in a straight line with the number of people until its CPU is used up; then page loads slow down within seconds. Plan for half.
  • Forwarding a request costs the web app about ten times what answering it costs the server, so route /api to the server. Pages now carry only the text their screen needs (about 46 KB, 13 KB compressed, down from 177 KB); the rest loads once as files the browser caches.
  • A server that ran out of CPU and memory together was stopped by its memory limit instead of slowing down: set GOMEMLIMIT and keep headroom (above).
  • No screen asks the server for the same thing twice: a browser check of 24 screens found one repeated request (the space overview's "Start here" list), now fixed.