RunTheModel is moving to AnyLogic Cloud

AnyLogic Cloud is a free service for running, analyzing, and sharing models via web browser.

RunTheModel will be discontinued in January, 2018. To keep working with your models, please transfer them to AnyLogic Cloud using AnyLogic 8. Watch how-to video for help.

To keep using runthemodel.com, please choose one of the following browsers

Categories

Leader Election Protocol - IT & Telecom

1858 runs

Added by AnyLogic

Application area: IT Infrastructure

Simulation method: Agent Based

Leader Election Protocol

A model of a distributed leader election protocol. A number of machines are connected with an unreliable network. The network loses, duplicates, and delays messages randomly. The machines themselves can crash and recover. The protocol is used to maintain a single leader (master) known to all working machines at any time. This is achieved by using synchronization and election algorithms based on constant and random timeouts. Each machine executes the same algorithm specified as a statechart. You can force a machine (e.g. current master) to crash/repair and watch the elections on the color chart.

The model was created with AnyLogic - simulation software / IT Infrastructure

Related Models