Audaque Data Technology Ltd., Software Building, 9 Gaoxin Middle First Road, Nanshan District, Shenzhen 518000, China.
Department of Computer Science, University of Oxford, Wolfson Building, Parks Road, Oxford OX1 3QD, UK.
Int J Neural Syst. 2015 Nov;25(7):1550025. doi: 10.1142/S0129065715500252. Epub 2015 May 26.
Leader election in anonymous rings and complete networks is a very practical problem in distributed computing. Previous algorithms for this problem are generally designed for a classical message passing model where complex messages are exchanged. However, the need to send and receive complex messages makes such algorithms less practical for some real applications. We present some simple synchronous algorithms for distributed leader election in anonymous rings and complete networks that are inspired by the development of the neural system of the fruit fly. Our leader election algorithms all assume that only one-bit messages are broadcast by nodes in the network and processors are only able to distinguish between silence and the arrival of one or more messages. These restrictions allow implementations to use a simpler message-passing architecture. Even with these harsh restrictions our algorithms are shown to achieve good time and message complexity both analytically and experimentally.
在匿名环和完整网络中进行领导者选举是分布式计算中一个非常实际的问题。之前针对这个问题的算法通常是为经典的消息传递模型设计的,其中需要交换复杂的消息。然而,发送和接收复杂消息的需求使得这些算法在某些实际应用中不太实用。我们提出了一些简单的同步算法,用于在匿名环和完整网络中进行分布式领导者选举,这些算法受到果蝇神经系统发展的启发。我们的领导者选举算法都假设网络中的节点只广播一位消息,并且处理器只能区分沉默和一个或多个消息的到达。这些限制允许实现使用更简单的消息传递架构。即使有这些严格的限制,我们的算法在分析和实验上都表现出了良好的时间和消息复杂度。