By BluffKing · · Updated
Testing Two-Core Server Capacity
An August 2026 public-path test: 150 players passed, 200 missed the budget and 300 reached 4.1s p99. Historical evidence, not today’s capacity.
These are historical measurements from 21 August 2026, not current capacity or production configuration; the transport and server have changed since.
We wanted to know how many players one 2 vCPU production VM (Tencent Cloud Hong Kong, 3.6 GiB memory, 2 Mbps public egress) could hold. We drove app.bluffking.ai over the public internet through real DNS, Caddy and TLS, with each human owning a table with five bots, the costliest shape of solo practice. “No lag” meant a server-side action round-trip p99 of at most 150 ms.
| Live tables | Action p99 | App CPU |
|---|---|---|
| 150 | 161.4 ms (server 118 ms, passed) | 34 % |
| 200 | 246.4 ms (server 201 ms, over budget) | 41 % |
| 300 | 4116 ms (collapse) | about 1.5 cores idle |
The result: 150 players passed, the knee lies between 150 and 200, and at 300 the p99 reached about 4.1 seconds while only 148 hands finished in 60 seconds (697 at 200 tables). CPU was not exhausted at the collapse and app memory stayed under 100 MB in every sampled run; the logs showed 199 fanout_backpressure_evict events, meaning the outbound queues hit backpressure and were not draining. We did not sample actual egress, so we cannot say whether fan-out scheduling hit its limit first or the 2 Mbps uplink saturated first.
Before getting these numbers we hit three measurement traps. Timing from the moment clients connected measured the arrival surge, not the steady state (in the same 200-table run the ramp window had about 380 ms p99 against 246 ms steady), so each rung now warms up for 20 seconds. A stuck process on the load-generator machine was burning a full core, so the generator now reports its own event-loop delay every run (about 12 ms p99 throughout). The box was also holding about 800 abandoned tables waiting to be reaped, so we re-ran 300 tables on an empty box with zero live tables, and it collapsed the same way, ruling them out. Production that day admitted only 48 new connections (plus 12 reserved for reconnects), well below this edge.
The lesson: an alert or autoscaling rule on average CPU is still green when players are already seeing multi-second lag, and 41 % CPU at 200 tables says nothing about larger capacity. Alert on tail latency, queue depth or rejections, and make capacity claims only by re-running the ladder on the same version and path.