Flooding algorithm

This is an old revision of this page, as edited by 217.158.106.175 (talk) at 10:49, 30 March 2003 (including OSPF, DVMRP, and those used in ad-hoc wireless networks.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

A flooding algorithm is a method for distributing material to every part of a connected system. The name derives from the concept of inundation by a flood.

Flooding algorithms are used in systems such as Usenet and peer-to-peer file sharing systems and as part of some routing algorithms, including OSPF, DVMRP, and those used in ad-hoc wireless networks.

There are several variants of flooding algorithms: most works as follows. Each node acts as both a transmitter and a receiver. Each node tries to forward every message to every one of its neighbors. This results in every message eventually being delivered to all reachable parts of the network.

Real-world flooding algorithms have to be substantially more complex than this, since precautions have to be taken to avoid wasted duplicate deliveries and infinite loops, and to allow messages to eventually expire from the system.

See also: