AlgoViz

Design Multiplayer Game State Sync

hard 50 min

Let a hundred people share one moving world although their messages take 20 to 200 milliseconds.

Where it shows up

The same pattern appears across everyday software.

  • VALORANT

    Riot's engineers describe 128-tick servers, three or more games on a core, and a limit of about 7.8 ms for a frame.

  • Apex Legends

    Respawn's engineers describe servers at 20 ticks a second that send snapshots, and why they kept that rate.

  • Age of Empires

    Commands are sent and every machine runs the same turns, so thousands of units cost almost no bandwidth.

  • QuakeWorld

    A 1996 rebuild of a local-network game for dial-up internet players.

  • Remote control

    A drone pilot sees a late picture. The aircraft keeps itself stable and the controller predicts.

  • Shared whiteboards

    Your own line appears at once, and other cursors glide between updates.