Hacker News new | ask | show | jobs
by dikei 974 days ago
> now how do you handle updating all those in realtime is what amazed me, they even have bullets go through locations

Probably just as other distributed systems implement replication: you have a leader to broadcast instruction and other followers applied the instruction to their local copy of the state.

However, there'll always be delay/stale data between the leader and followers. So, to improve performance, you can allow the followers to perform speculative decision based on their own calculation, but these local decisions will be overwritten / rollback by instructions received from the leader.