Closed ameetrivedi closed 9 years ago
Bully seems fine. I'm not sure 2 helps because every process will have to know the ip:port of every other process and be able to communicate with them.
We should probably design this generically enough so that the existing code has no knowledge of which ordering method we are using so that we can easily switch from clock sync to logical.
For Leader Election Algorithm using Bully Algorithm with device ID as the decision maker (where Gateway has the highest Device ID) seems apt. It sounds kind of monotony that gateway always wins but that should be the case because:
Reasons: