restacked
Consensus algorithms are a complex yet critical topic for distributed systems.
They allow a set of processes to share a consistent view of the system state.
This may not be hard to set up if you assume there are no failures and the network is reliable.
But such conditions never apply in the real world.