How Factorio Syncs A Million Objects

Published: 22 March 2026
on channel: ov3rwrite
151,581
7.9k

How does Factorio manage to keep millions of entities perfectly in sync across gaming sessions?
A deep dive into one of the fundamental game netcode architectures.

Chapters:
0:00 - What does Quake have to do with this
1:12 - What is Lockstep Architecture
2:13 - Determinism
4:36 - Randomness
5:35 - Tickrate and Latency
6:40 - Client-Server
10:04 - Finale

Credits to:
Tariq10x for inspiration

u/HideBoar (post eezcya) and u/Beroiner (post 1klpb2x) on r/factorio for art

Factorio team for wonderful sprites and wonderful game
https://en.wikipedia.org/wiki/UDP_hol... for UDP hole punching visualization

Kevin MacLeod - Voltaic
Kevin MacLeod - Rising Tide

Sources:
Factorio forum
FFF 76; 147; 149; 302; 56; 30; 52
Alt-F4 26
snapnet.dev netcode architectures article series
gafferongames.com
Intel Architecture Software Developer Manual
https://news.ycombinator.com/item?id=...
http://const.me/tmp/vrcpps-errors-cha...
etc.


On this page of the site you can watch the video online How Factorio Syncs A Million Objects with a duration of hours minute second in good quality, which was uploaded by the user ov3rwrite 22 March 2026, share the link with friends and acquaintances, this video has already been watched 151,581 times on youtube and it was liked by 7.9 thousand viewers. Enjoy your viewing!