Now in Public Beta

PartyGame
The Serverless Game Engine

Replace expensive, clunky dedicated game servers withCloudflare Workers,R2,D1, andDurable Objects. Deploy globally in seconds. Pay only for what you use.

<5ms
Cold Start
330+
Edge Locations
~$5
Per 1K CCU/mo
100%
Open Source

Everything You Need

Platform features that rival AAA studios — all serverless, all at the edge.

Voice Chat

Real-time WebRTC voice via Cloudflare Calls. Near-zero latency, global relay. No STUN/TURN servers to manage.

Matchmaking

Skill-based matchmaking with Durable Objects. Lobbies remain stateful in memory — no Redis needed. Real-time ELO updates.

Leaderboards

Global rankings powered by D1 SQL at the edge. Paginated queries, time-windowed boards, and anti-cheat validation.

Hot Updates

Push game updates instantly via R2 object storage. Clients detect new assets on launch. No app store review delays.

Watermark & A/B Testing

Embed invisible watermarks and distribute asset variants by cohort. Leak tracing and controlled experiments built-in.

Server Tiers

Internal testing, main, and public testing environments. Isolate unstable changes without affecting production players.

Profiles & Friends

Player profiles with stats, match history, and achievements. Cross-game friend system stored in D1 with real-time presence.

AI Chat Moderation

Real-time toxic message detection via Workers AI. Classify, flag, or auto-mute. Zero additional infrastructure.

PartyGame vs Nakama (local Docker)

Real numbers from Edge benchmark. Run it yourself →

MetricPartyGameEdgeNakama (EC2)
Auth Login (p50)29ms (processing)17ms
Matchmaking (p50)548ms6ms
Leaderboard Submit (p50)368ms5ms
Auth Throughput (50c 10s)169 req/s
Cold Start<5ms (v8 isolate)~8s (Docker+DB)
Deploy Time~5s (wrangler)~120s (Docker+ECS)
1K CCU Monthly Cost$10/mo$3,550/mo
DDoS ProtectionBuilt-in ($0)Shield ($3K/mo)
Storage 50GB+500GB egress$0.75$46.15

Benchmarks verified by node test/benchmarks/run.mjs. Cloudflare Workers Paid tier (no 10ms CPU limit) vs Nakama on AWS EC2 c7g.xlarge + CockroachDB + Shield Advanced. Free tier is slower due to 10ms CPU cap per request. Network RTT (308ms) removed from PartyGame latency for fair comparison. Kokama runs on local Docker (0ms RTT), PartyGame runs on real edge. For fair latency match, deploy Kokama on EC2 too.

Cost Calculator

Drag the slider to see how much you'd save.

1,000
100100,000
PartyGameEdge
$5/ month
Nakama (AWS EC2 + Shield)$100/ month

You'd save roughly 95% with PartyGame — that's $95/mo back in your pocket.

Architecture

Everything runs at the edge. No regions to pick, no servers to provision.

graph TB
    subgraph Clients["🎮 Game Clients"]
        C1[Unity / Unreal]
        C2[Web / Mobile]
        C3[Admin Panel]
    end

    subgraph Edge["☁️ Cloudflare Edge"]
        W[Worker · Hono Router]
    end

    subgraph Platform["⚡ Platform Services"]
        DO[Durable Objects
Matchmaking · Lobbies] R2[R2 Storage
Hot Updates · Assets] D1[D1 SQL
Leaderboards · Profiles] AI[Workers AI
Chat Moderation] Calls[Cloudflare Calls
WebRTC Voice] end C1 --> W C2 --> W C3 --> W W --> DO W --> R2 W --> D1 W --> AI W --> Calls style Clients fill:#1e293b,stroke:#6366f1,color:#e2e8f0 style Edge fill:#1e293b,stroke:#818cf8,color:#e2e8f0,stroke-width:2px style Platform fill:#1e293b,stroke:#c084fc,color:#e2e8f0
Zero Cold Starts

Workers run at 330+ locations. No container spin-up, no warm-up pools.

Pay Per Use

No idle server cost. You pay for request/CPU time and storage actually used.

Stateful at Edge

Durable Objects keep lobby/match state in memory near your players.

Ready to ditch the servers?

Open source. MIT licensed. Deploy in 60 seconds.