How many games one server holds
16 to 23 Nov 2026
- On one core with real network clients, the Rust server kept 192 rooms of 8 people and 192 bot rooms on time. The old Node server kept 128 and 32.
- On a live one-core server each added bot room costs 1.19% of the core and about 1.05 MB of memory, so 64 bot rooms come to about 79% of the core.
- The default room limit for the main game line went from 4 to 32, to 96, and back to 64 on 23 Nov, after the live measurement showed 96 bot rooms would need about 119% of a core.
- A server took at most 24 connections from one address, so 25 players behind one school or carrier address were turned away. It now takes 64.
The limit on a small game server turned out to be settings and memory leaks long before CPU, and only a live measurement showed where the real ceiling is.
A region’s game server is one machine with 1 core and 2 GB of memory, running about nine game lines (Capture, Duel, Eggball and so on), each its own process. This post is about how many games one of them holds, how we measured it, and why the limits are set where they are. The settings as they are today are in Server settings and capacity; the engine behind these numbers is in One Rust engine.
The load test with real clients
Our in-process benchmarks run rooms with no network. They are repeatable and good for comparing two builds, but they say nothing about sockets, send queues or what a player sees. On 22 Nov we load tested the game servers end to end for the first time. The tool opens WebSocket connections the way browsers do, with real signed join tickets, sends keys from a seeded script at the page’s real rate and pings every 250 ms. The server is pinned to one core of the build laptop (x86_64, Linux in WSL2) and the clients run on other cores, where they never ran short. Each step runs 120 s after 20 s of warm-up. A step passes when 99 in 100 ticks start within 16.7 ms of schedule (one tick at 60 a second) and nobody is disconnected.
- With rooms of 8 people the old Node server held 128 rooms (1,024 players) and failed at 192. The Rust server held 192 and was degraded at 256: it met the bar but sent 57 snapshots a second instead of 60.
- With bot rooms (1 person and 7 bots) Node held 32 and failed at 64. Rust held 192 and failed at 256.
- Node ran 631 garbage collections a minute at 128 rooms of people. Rust has none.
- Both sent about 3.6 KB a second to each person (4.4 with bots), and no connection dropped in any row.
- The rows that decided the result ran twice and agreed closely; every bot row ran once. The full table and the commands are in Load tests.
On a live server
A laptop core is not a server core, and a laptop has no real network in the way. So we measured on the live US East server with nobody else on it: scripted players on the build laptop, 72 ms away, joining custom games through the site exactly as players do.
| Live, one core | Value |
|---|
| Nine game lines, idle | 1.8% of the core |
| Each added room, 1 person and 7 bots | 1.13% of the core on 22 Nov, 1.19% on 23 Nov |
| Each added room, 8 people | 0.82% of the core |
| CPU per room-tick, from 8 bot rooms up | about 0.21 ms |
| Memory per room | about 1.05 MB |
| Sent to each person | 3.5 to 3.9 KB a second |
| Gap between snapshots at the player, p50 / p99 | 16.7 / 22 ms |
US East, 22 Nov (1 and 2 rooms, 120 s a step) and 23 Nov (4 to 24 bot rooms, 90 s a step). One run each.
The first room of a line costs 0.36 ms a tick, about six times the in-process benchmark’s 0.063 ms. That is not a slow server: the first room carries the process’s fixed cost (the tick loop, the sockets, the brain’s thread, the health reports), and from about 8 rooms on the cost per room is flat. The server’s core measured within about 1.2 times the laptop’s.
One thing we cannot explain yet: on the build of 23 Nov the slowest 1% of ticks started 3.5 to 4.2 ms late at every room count from 4 to 24, against about 1 ms on the build of 22 Nov. It does not grow with load.
The room limit, step by step
| Date | Main line’s default limit | Why |
|---|
| Until 22 Nov | 4 rooms | Left from the Node server. Each finished bot game left about 0.9 MB behind, so a line with 32 bot rooms would have hit its 300 MB memory limit in about an hour |
| 23 Nov | 32 | The memory leak fix was live on all four regions |
| 23 Nov | 96, with 600 MB of memory a line | 64 rooms had measured 215 MB on the laptop |
| 23 Nov | 64 | The live measurement: 96 bot rooms would need about 119% of a core, 64 about three quarters |
Memory is not the limit any more: 96 rooms would use about 125 MB. CPU is, and one process’s tick loop is one thread, so a second core alone does not raise one line’s limit. Past about 64 rooms a server needs a second core and a second process for the main line.
Limits before the CPU
- Connections from one address. A server took at most 24 sockets from one address, so 25 players behind one school or carrier address on one line were refused and sent to a Backup Server. We found it because our own ramp, from one test machine, stopped at 3 rooms of people. The limit is now 64, the same as the firewall’s.
- Custom games. A server keeps 2 of its rooms for public games, so custom games can never fill it.
- Places and Hangouts go to a server only while more than half of its line’s rooms are free, and never start a second server. They cost little, but a room they hold is one Quick Play cannot use.
- Quick Play gathers players: it joins the fullest open room with people in your region, and merges bot games of at most 2 people when 3 or more are spread across rooms. So lone players do not each get a room with 7 bots.
Autoscaling
- All four regions keep at least one server on at all times since 22 Nov, so the first player in a region never waits for one to start.
- A second server starts when a region’s games reach 70% of its room limit, or when a server’s room process is over 50% of its core for 60 s.
- A new server took 77 to 92 s from the create call to rooms answering with a certificate on 16 Nov: 41 to 48 s of that was the provider’s boot and 24 to 32 s our setup. A later measurement, on 19 Nov, was 1 min 59 s for Oceania.
- The first attempt’s servers never finished setting up, because of a file mode during setup. A failed boot now sends its last 40 log lines and is removed at once with its reason.
- On 22 Nov the autoscaler made no servers at all: every request for the provider’s server list timed out. Our relay’s HTTPS client waited for the connection to close instead of reading the answer’s length. That fix is in Fixes, 22 to 23 November.
- Spending is capped: at most 6 autoscaled servers and $200 a month for them. Six servers always on would cost $168 a month.
What did not help
- A proxy in front of the room processes cost 41 to 47% of a Node server’s CPU on 17 Nov. Without it one core passed our strict bar at 12 games of 8 people instead of 8.
- Node’s garbage collector flags: a 32 MB young generation made collections 6 times rarer but no shorter, with the same longest pause and 55 MB more memory. Node stayed on its defaults, and the Rust server has no collector.
Still owed
- A live ramp of rooms of people past 3 rooms, from 32 or more addresses, now that the limit is 64.
- The load test again after the memory fix: its memory numbers at 128 rooms and up are from before it.
- The cause of the late-tick rise above, and a restart under load.