Two Generals' Problem

Learn about the problems in an unreliable environment using the two generals’ problem experiment.

We'll cover the following...

The two generals’ problem is a thought experiment to demonstrate the problem of consensus in a distributed environment. The thought experiment shows that it is impossible to achieve consensus between two endpoints if communication is asynchronous and the underlying link is prone to failure.

Problem

Imagine two armies, Army A and Army B, led by two generals preparing to attack a fortified city. The armies station themselves on both sides of the fort in Valley A and Valley B. The attacks will ...