Peachgram Docs
StartMaster serverGame serverClientOperations

Architecture

The three components of Peachgram and the connections between them

Every player session touches the same three components.

Components

ComponentRuns onPurpose
Master serverVPS, DockerAccounts, heroes, store, matchmaking, the website
Game serverVPS, Wine under systemdHosts the actual matches over UDP
ClientPlayer's Windows PCThe game, plus a hook that redirects it to the master server

Connection flow

  1. The launcher signs the player in and opens the game.
  2. The hook inside the game redirects the original service calls to the master server over a secure WebSocket.
  3. The master server lists available matches, and the client connects to the chosen game server directly over UDP.

The master server never relays gameplay traffic. If it is down, running matches continue, but nobody can join new ones.

Where state lives

  • Database: accounts, heroes, wallet, catalogue and statistics live in PostgreSQL.
  • Files: the game server keeps its own installation directory, independent of the master server.
  • Client: settings and logs stay on the player's machine.

Failure domains

Each part can be restarted on its own. Restarting the master server drops active logins briefly; restarting the game server ends the matches it hosts. See restart safely before touching a live server.

On this page