Skip to content

States of a distributed application

ℹ️ Remember the The Eight Fallacies of Distributed Computing

Viewpoint: System Administrator

This a simplified state diagram of what we want. A Failed state should probably be added and ideally it should also be possible to recover and go back to Running or at least the Booted state.

Statediagram_OK_simple

Viewpoint: A common implementation

This diagram shows how this often is implemented. Note that there is a Failed state here, but the system cannot go anywhere from this state, thus requiring manual intervention.

Statediagram_not_ok NOT an especially good solution

References

Know When to Fail

smidigtonull:Control state