A consensus algorithm is a process done online on several computers to confirm data validity in a network of processes or systems. Consensus algorithms were created to achieve complete trust for processes involving multiple nodes/users.
Applications of the consensus algorithm include:
- deciding whether to undertake a database transaction
- appointing a node/user as a leader for a given task
- synchronization and maintaining version unity