DISTRIBUTED SYSTEM
GROUP COMMUNICATION
Group Communication
• Depending on single or multiple senders and receivers, the following three types of group
communication are possible:
• Unicast – One to one communication
• One to many (Single sender and multiple receivers. Or multicast group communication).
• Many to one (Multiple senders and single receivers).
• Many to many (Multiple senders and multiple receivers).
Unicast Group Communication
• Process sending message to another process
residing on another node.
Many to one communication
• Many processes residing on different nodes
sending message to a single process on a
node.
• Ex- File server
• Maintain request queue.
Multi cast communication
• One to many group communication called –
Multicast communication.
Broadcast communication
• It is a special type of multicast
communication, as shown in fig. One
processor sends the same message to several
destination with a single operation.
Types of Groups
• In broadcast communication depends on how the group interacts with
other group outside the system.
• Closed groups: Parallel processing application use closed group
communication.
• Open groups: Outside process can send a message to a group as a whole.
• Peer group: All process are equal and there is no single point of failure.
• Hierarchical group: In this group coordinator decides which worker
should carry out the tasks.
Group Management
• Centralized approach
• Distributed approach
Group addressing
• The high-level group name is an ASCII string that
is independent of the processes in the group.
• On the other hand, the low-level group name
depends to a large extent on the underlying
hardware.
Group addressing
• A packet sent to a broadcast address, is
automatically delivered to all machines in the
network.
• The software of each machine must check to see
if the packet is intended for it.