0% found this document useful (0 votes)
12 views6 pages

Unit-2 1

Distributed Computing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views6 pages

Unit-2 1

Distributed Computing
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Group communication-(Unicast, Multicast, Broadcast communication)

Group Communication The pairwise exchange of messages is not the best model for communication
from one process to a group of other processes, which may be necessary, for example, when a
service is implemented as a number of different processes in different computers, perhaps to
provide fault tolerance or to enhance availability. A multicast operation is more appropriate – this is
an operation that sends a single message from one process to each of the members of a group of
processes, usually in such a way that the membership of the group is transparent to the sender.
There is a range of possibilities in the desired Behaviour of a multicast. The simplest multicast
protocol provides no guarantees about message delivery or ordering

Importance of Group Communication in Distributed Systems

Group communication is critically important in distributed systems due to several key reasons:

 Coordination and Synchronization:

o Distributed systems often involve multiple nodes or entities that need to collaborate
and synchronize their activities.

o Group communication mechanisms facilitate the exchange of information,


coordination of tasks, and synchronization of state among these distributed entities.

o This ensures that all parts of the system are aware of the latest updates and can act
in a coordinated manner.

 Efficient Information Sharing:

o In distributed systems, different nodes may generate or process data that needs to
be shared among multiple recipients.

o Group communication allows for efficient dissemination of information to all


relevant parties simultaneously, reducing latency and ensuring consistent views of
data across the system.

 Fault Tolerance and Reliability:

o Group communication protocols often include mechanisms for ensuring reliability


and fault tolerance.

o Messages can be replicated or acknowledged by multiple nodes to ensure that


communication remains robust even in the face of node failures or network
partitions.

o This enhances the overall reliability and availability of the distributed system.

 Scalability:

o As distributed systems grow in size and complexity, the ability to scale effectively
becomes crucial.

o Group communication mechanisms are designed to handle increasing numbers of


nodes and messages without compromising performance or reliability.

o They enable the system to maintain its responsiveness and efficiency as it scales up.
Types of Group Communication in a Distributed System

Below are the three types of group communication in distributed systems:

1. Unicast Communication

Unicast Communication

Unicast communication refers to the point-to-point transmission of data between two nodes in a
network. In the context of distributed systems:

 Definition: Unicast involves a sender (one node) transmitting a message to a specific


receiver (another node) identified by its unique network address.

 Characteristics:

o One-to-One: Each message has a single intended recipient.

o Direct Connection: The sender establishes a direct connection to the receiver.

o Efficiency: Suitable for scenarios where targeted communication is required, such as


client-server interactions or direct peer-to-peer exchanges.

 Use Cases:

o Request-Response: Common in client-server architectures where clients send


requests to servers and receive responses.

o Peer-to-Peer: Direct communication between two nodes in a decentralized network.

 Advantages:

o Efficient use of network resources as messages are targeted.

o Simplified implementation due to direct connections.

o Low latency since messages are sent directly to the intended recipient.

 Disadvantages:
o Not scalable for broadcasting to multiple recipients without sending separate
messages.

o Increased overhead if many nodes need to be contacted individually.

2. Multicast Communication

Multicast Communication

Multicast communication involves sending a single message from one sender to multiple receivers
simultaneously within a network. It is particularly useful in distributed systems where broadcasting
information to a group of nodes is necessary:

 Definition: A sender transmits a message to a multicast group, which consists of multiple


recipients interested in receiving the message.

 Characteristics:

o One-to-Many: Messages are sent to multiple receivers in a single transmission.

o Efficient Bandwidth Usage: Reduces network congestion compared to multiple


unicast transmissions.

o Group Membership: Receivers voluntarily join and leave multicast groups as


needed.

 Use Cases:

o Content Distribution: Broadcasting updates or notifications to subscribers.

o Collaborative Systems: Real-time collaboration tools where changes made by one


user need to be propagated to others.

 Advantages:

o Saves bandwidth and network resources by transmitting data only once.


o Simplifies management by addressing a group rather than individual nodes.

o Supports scalable communication to a large number of recipients.

 Disadvantages:

o Requires mechanisms for managing group membership and ensuring reliable


delivery.

o Vulnerable to network issues such as packet loss or congestion affecting all


recipients.

3. Broadcast Communication

Broadcast communication involves sending a message from one sender to all nodes in the network,
ensuring that every node receives the message:

Broadcast Communication

 Definition: A sender transmits a message to all nodes within the network without the need
for specific recipients.

 Characteristics:

o One-to-All: Messages are delivered to every node in the network.

o Broadcast Address: Uses a special network address (e.g., IP broadcast address) to


reach all nodes.

o Global Scope: Suitable for disseminating information to all connected nodes


simultaneously.

 Use Cases:

o Network Management: Broadcasting status updates or configuration changes.

o Emergency Alerts: Disseminating critical information to all recipients in a timely


manner.
 Advantages:

o Ensures that every node receives the message without requiring explicit recipient
lists.

o Efficient for scenarios where global dissemination of information is necessary.

o Simplifies communication in small-scale networks or LAN environments.

 Disadvantages:

o Prone to network congestion and inefficiency in large networks.

o Security concerns, as broadcast messages are accessible to all nodes, potentially


leading to unauthorized access or information leakage.

o Requires careful network design and management to control the scope and impact
of broadcast messages.

Overlay Network

An overlay network is a virtual or logical network that is created on top of an existing physical
network. The internet, which connects many nodes via circuit switching, is an example of an overlay
network.

An overlay network is any virtual layer on top of physical network infrastructure. This may be as
simple as a virtual local area network (VLAN) but typically refers to more complex virtual layers
from software-defined networking (SDN) or a software-defined wide area network (SD-WAN).

The overlay creates a new layer where traffic can be programmatically directed through new virtual
network routes or paths instead of requiring physical links. Overlays enable administrators to define
and manage traffic flows, irrespective of the underlying physical infrastructure.

Advantages of overlay networks

Network overlays provide some key benefits to networking, including the following:

 Flexibility. The overlay provides a more flexible networking approach by removing


the hardcoded constraints of a physical network, which enables configuration tied to
usage or function.
 Management. Overlays offer better access management by segmenting and joining
devices logically instead of managing these components physically.
 Security. Overlay networks enhance security by segmenting traffic and restricting
access by groups, individuals or devices.
 Redundancy and efficiency. With an overlay, traffic has an easier time changing
routes based on either traffic saturation or network interruptions.

Disadvantages of overlay networks

Despite the advantages of overlay networks, organizations should heed the potential
challenges or disadvantages as well, including the following:

 Extra layers of management. IT would have to manage two different network layers
daily. Most importantly, the layers must be managed in unison as the topology that the
overlay expects needs to be accurately represented in the underlay.
 Troubleshooting. Again, this must occur for both the underlay and overlay.
 Potential security exposure. The negative effects of misconfiguration can be
amplified across a wider set of devices or users.

Examples and uses of overlay networks

Some examples of overlay network deployments include virtual private networks, peer-to-
peer networks, content delivery networks, voice over IP services and non-native software-
defined networks.

You might also like