/ self-hosting / sizing ← self-hosting

Sizing a server

Short, honest version: a small VM carries a friend group comfortably, and nobody has published a number for where it stops. Here is where the cost actually is, how to measure your own case, and the situations where a different product is the right answer.

No benchmarks for concurrency. This project publishes memory figures for the desktop client, not load tests for the server. Any "handles N users" figure you read elsewhere about Yap is somebody's guess unless they say how they measured it.

Where the load goes

Measure it yourself

The binary ships a seeding command, so you can fill a throwaway database and watch the server behave with realistic history instead of three messages:

yap-server seed-bench --db sqlite:///bench.db --user bench --password test1234 \
  --channels 20 --messages 5000

Run it against a scratch database, point a couple of clients at it, and watch with docker stats or top. That is more useful than any table on this page, including the memory figures for the desktop app, which measure the client and not the server.

What to expect, roughly

Group sizeWhat this project would tell you
A handful of friends, a few channelsAnything that runs Docker. The 1 OCPU / 6 GB free VM in the deploy notes is more than enough; it is chosen for price, not for headroom.
A few dozen online at onceSame box is plausible, but measure it: fanout and history reads are the variables, and message volume matters more than member count.
Hundreds online at onceUncharted. Expect to think about the single-writer SQLite design before you think about CPU.
Thousands, or a public communityNot what this is built for. Compaction, sharding and moderation tooling at that scale are a different project.

Disk is the quieter limit: messages are rows in the same file, and the whole database is what you back up. Archive or prune long-dead channels before the file becomes the thing you cannot copy in one go.

When Yap is the wrong choice

Updated . Part of hosting and self-hosting.