Firing Squad Synchronization

A visual simulation of process synchronization using the firing squad algorithm

Step: 0
Leader
General
Active
Fired

About Firing Squad Synchronization

The Firing Squad Synchronization Problem is a classic computer science challenge in distributed computing. The goal is to synchronize a line of processes (or soldiers) so they all perform an action (or fire) at exactly the same time.

In this simulation, one process acts as the leader, initiating signals that propagate through the line. Eventually, all processes must reach the "fired" state simultaneously, demonstrating perfect synchronization.