A game-community product under a 7× traffic jump, and a 3D venue page that makes no network requests

Community Jury is a live product I designed, built and operate alone. This page covers what the landing page does not: what happened when traffic jumped sevenfold in four days, the bug that hid behind a slow upstream for a week, and the seat map I built for a finals weekend.

Solo, with coding agents. First commit in late September 2026; versions 1.0.1 to 1.0.160 between 9 October and 3 December. Stack: Go, PostgreSQL, Redis, a Python query gateway, React, TypeScript, WeChat Mini Program, three.js, Docker on a single host.

210 → 1,502daily users, 14 to 18 November
29% → 0.21%match lookups that returned an error
92KAPI requests in the 24 hours before the finals, 0.04% server errors
~12,800venue seats drawn as one instanced mesh

The system

A Go API and a Go worker for background jobs share one codebase. PostgreSQL holds everything that must not be lost. Redis holds only what can be rebuilt: caches, rate limits and short leases. A Python gateway, running as two instances, fetches match data from an upstream source with strict rate limits; requests are split between the instances by a hash of the player's tag.

It all runs on one host under Docker Compose. The working branch is about 84,000 lines of Go in 336 files, 147 of them tests, with 93 schema migrations.

"Real time" here means polling. There are no WebSockets in the product. Room state polls every two seconds. Anything slow is a background job that the page asks about again.

Analytics is one table. A page-view beacon and a whitelist of client events write to a single PostgreSQL table with a JSON column for client, entry scene and referrer. The admin dashboard runs SQL on demand. Per-route counters and latency histograms live in memory and flush to Redis every 15 seconds. There is no stream processor and no separate analytics store, and at this size none is needed.

The lookup that failed 29% of the time

Between 14 and 18 November daily users went from about 210 to 1,502. Analytics showed where they came from: share cards in group chats brought 5,003 page views on the peak day. That day the API served 100,987 requests.

The match-history page suffered. In an eleven-hour window, 391 of 1,327 requests for a player's match list returned "still fetching", which is 29%. The upstream was plainly slow: a first-time collection took 32 seconds at the median and 213 at the 95th percentile, and the gateway's queue was full. I wrote it up as an upstream problem and decided not to raise upstream concurrency to hide it.

Page polls, no sockets Go API waits at most 8 s Memory cache 10 min, bounded Budget gate runtime switch Gateway 2 instances Governor, then upstream rate and concurrency limits Stored matches PostgreSQL Stale-first answer own 3 s budget, marked pending Before the fix, this read reused the 8 s budget that had just run out, so it always failed.
The match-lookup path after the fix. When the eight seconds run out, the API answers from stored matches with a pending flag, and the page asks again every five seconds.

Five days later the rate was worse: 72 of 201, or 36%. That did not fit the story, because by then 3,875 of 4,299 active accounts already had matches stored in my own database. The fallback that should have served them was reading with the request's eight-second deadline, which had already expired by the time the fallback ran. It failed every time, and the slow upstream had been taking the blame.

What the fix did not do. The route's 95th-percentile latency is still about eight seconds. The error went away and the wait did not. A first lookup for a new player is as slow as the upstream.

Traffic control without a deploy

Decisions I measured first

Releases and the finals weekend

One script does a release. It refuses a dirty or unpushed tree and a server with less than 6 GB free. Locally it runs formatting, vet, tests against a real PostgreSQL, the web build, browser QA on a clean database, and a read-only replay of the latest production backup. On the server it builds, backs up the database, switches version, migrates, waits for readiness and runs a smoke test. Any failure after the switch rolls back automatically.

Migrations are forward-only, so a rollback runs old code on the new schema. I accept that and write migrations to allow it.

For the finals weekend of 4 to 6 December I added a read-only sampler that runs every 30 minutes and expires by itself afterwards. It alerts on disk at 90%, on server errors above 2% in an hour, on match-lookup errors above 10%, and on any paid order that fails to deliver. The baseline the day before: 91,974 requests in 24 hours, 0.04% server errors, a 95th percentile of 45 ms, and no alerts.

Written on 3 December. The weekend's numbers are not in yet.

The 3D venue page

For the same finals I built a seat map for a gaming-community app's event section. A fan picks a section and row for each day, sees themselves and others in the hall in 2D or 3D, looks at the stage in first person from their seat, and exports a poster. The source is public.

3D view of the whole hall with coloured seating sections, section signs showing head counts, and a few name tags pinned to seats. First-person view from a seat toward the stage screen, with red seating blocks beyond it. 2D seat map of the same hall with section labels and head counts.
Demo mode with made-up attendees: the whole hall in 3D, first person from a seat, and the 2D map that devices without WebGL get.
Status, exactly. I published two versions for the host app's team in a public repository. I have no confirmation of which build they deployed, and I never tested it inside their real web view. The geometry derives from a third-party venue model, credited in the repository; seats per row are my estimate, not official figures.

Limits