Got it

Broadcast - Spanning-Tree approach

Latest reply: Oct 5, 2021 16:30:04 686 25 37 0 0

Hello Everyone!


Today, we will discuss about Spanning-Tree approach of broadcast communication.


While sequence-number-controlled flooding and RPF avoid broadcast storms, they do not completely avoid the transmission of redundant broadcast packets. 



a



For example, in the above Figure, nodes B, C, D, E, and F receive either one or two redundant packets. Ideally, every node should receive only one copy of the broadcast packet. Examining the tree consisting of the nodes connected by thick lines in the below Fig(a), you can see that if broadcast packets were forwarded only along links within this tree, each and every network node would receive exactly one copy of the broadcast packet—exactly the solution we were looking for! 


This tree is an example of a spanning tree—a tree that contains each and every node in a graph. More formally,

a spanning tree of a graph G = (N,E) is a graph G' = (N,E') such that E' is a subset of E, G' is connected, G' contains no cycles, and G' contains all the original nodes in G. If each link has an associated cost and the cost of a tree is the sum of the link costs, then a spanning tree whose cost is the minimum of all of the graph’s spanning trees is called (not surprisingly) a minimum spanning tree.


Thus, another approach to providing broadcast is for the network nodes to first construct a spanning tree. When a source node wants to send a broadcast packet, it sends the packet out on all of the incident links that belong to the spanning tree. 



a and b


Fig(a) and (b) Broadcast along a spanning tree



A node receiving a broadcast packet then forwards the packet to all its neighbors in the spanning tree (except the neighbor from which it received the packet). Not only does spanning tree eliminate redundant broadcast packets, but once in place, the spanning tree can be used by any node to begin a broadcast, as shown in the above Fig(a) and (b). 


Note that a node need not be aware of the entire tree; it simply needs to know which of its neighbors in G are spanning-tree neighbors. The main complexity associated with the spanning-tree approach is the creation

and maintenance of the spanning tree. 


Numerous distributed spanning-tree algorithms have been developed. We consider only one simple algorithm here. In the center-based approach to building a spanning tree, a center node (also known as a rendezvous point or a core) is defined. Nodes then unicast tree-join messages addressed to the center node. A tree-join message is forwarded using unicast routing toward the center until it either arrives at a node that already belongs to the spanning tree or arrives at the center. 


In either case, the path that the tree-join message has followed defines the branch of the spanning tree between the edge node that initiated the tree-join message and the center. One can think of this new path as being grafted onto the existing spanning tree.



cd


Fig. Center-based construction of a spanning tree



The above Fig. illustrates the construction of a center-based spanning tree. Suppose that node E is selected as the center of the tree. Suppose that node F first joins the tree and forwards a tree-join message to E. The single link EF becomes the initial spanning tree. Node B then joins the spanning tree by sending its tree-join message to E.


Suppose that the unicast path route to E from B is via D. In this case, the tree-join message results in the path BDE being grafted onto the spanning tree. Node A next joins the spanning group by forwarding its tree-join message towards E. If A’s unicast path to E is through B, then since B has already joined the spanning tree, the arrival of A’s tree-join message at B will result in the AB link being immediately grafted onto the spanning tree. 


Node C joins the spanning tree next by forwarding its tree-join message directly to E. Finally, because the unicast routing from G to E  must be via node D, when G sends its tree-join message to E, the GD link is grafted onto the spanning tree at node D.


You're welcome to leave a message and exchange in the comment area!


Good share, thank you!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:28:33 (0) (0)
Thank you for reading the post  
Good share!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:28:39 (0) (0)
Thank you for reading the post  
IndianKid
Moderator Author Created Sep 15, 2021 14:20:15

Thanks for sharing! Keep up the good work!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:28:44 (0) (0)
Thank you for reading the post  
Thanks for sharing! Keep up the good work!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:28:53 (0) (0)
Thank you for reading the post  
Nice post on about the broadcast algorithms!
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:29:01 (0) (0)
Thank you for reading the post  
Great post, thanks for sharing
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 09:29:07 (0) (0)
Thank you for reading the post  
Informative post
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 16, 2021 12:40:05 (0) (0)
Thank you for reading the post  
The content is beneficial, thanks.
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 18, 2021 15:59:01 (0) (0)
Thank you for reading the post  
Well done
View more
  • x
  • convention:

AL_93
AL_93 Created Sep 19, 2021 04:53:28 (0) (0)
Thank you for reading the post  
12
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.