SlideShare a Scribd company logo
Multicast
&
Indirect
Communication
M.Jagadeesh, Assistant Professor, Information Technology.
MNM Jain Engineering College, Chennai
Unicast, Broadcast versus Multicast
• Unicast
– One-to-one
– Destination – unique
receiver host address
• Broadcast
– One-to-all
– Destination – address of
network
• Multicast
– One-to-many
– Multicast group must be
identified
– Destination – address of
group
Multicast Communication
02/10/19
 Multicast is Communication of One-to-Group of devices, where group
is created based on some criteria .
 Each process in a group can send and receive message. A message
sent by any process in the group can be received by each participating
process in the group.
 Multicast operation is an operation that sends a single message from
one process to each of the members of a group of processes.
 In an application or network service which makes use of multicasting,
a set of processes form a group, called a multicast group.
 Provides no guarantees about message delivery or ordering.
Characteristics of Multicast
 Fault tolerance based on replicated services
 A replicated service consists of a group of members.
 Client requests are multicast to all the members of the group, each of
which performs an identical operation.
 Even if one fails the clients can be still served
 Finding the discovery servers in spontaneous networking
 Multicast messages can be used by servers and clients to locate available
discovery services in order to register their interfaces or to look up the
interfaces of other services in the distributed system.
 Better performance through replicated data
 Data are replicated to increase the performance of a service.
 Propagation of event notifications
 Multicast to a group may be used to notify processes when something
happens.
Multicast application examples
 Financial services
Delivery of news, stock quotes, financial indices, etc
 Remote conferencing/e-learning
Streaming audio and video to many participants (clients,
students)
Interactive communication between participants
 Data distribution
Distributed System-Multicast & Indirect communication
Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Indirect Communication
1.group communication
2.publish-subscribe
3.message queues
4.shared memory
Direct Communication
 Client Server Communication
 Space Coupling-Examples
 Message Passing
 Remote invocation
Group Communication
02/10/19
 Group communication offers a service whereby a message is
sent to a group and then this message is delivered to all
members of the group.
 Sender is not aware of the identities of the receivers.
 Possible implementation over IP multicast (or an equivalent
overlay network), adding value in terms of
• Managing group membership
• Detecting failures and providing reliability and ordering
guarantees
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed event-based
programming model
 allow objects to subscribe to event occurring at
remote objects of interest & in turn to receive
notifications when such event occur.
 events and notification provide a way for
heterogeneous objects to communicate with
one another asynchronously.
What is a Publish/Subscribe System?
Publishers generate event data and publishes
them.
Subscribers : Subscribers submit their
subscriptions and process the events received.
P/S service: It’s the mediator/broker that
filters and routes events from publishers to
interested subscribers.
Information has been referred to as
Notifications.
Notification management system that maintains
a database with all publishers and subscribers.
Introduction
 Traditional system-centric approach
 Request/Response query of data.
 Data volume and response time.
 Data-centric approach
 Publishers
 Subscribers
 Notification system
Publish-Subscribe model
advantages
 Enhanced response time.
 Enhanced results.
 Database resources utilization and increased capacity.
 Loosely coupled relationship between publishers and
subscribers.
 Scalability.
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Classification of Pub/Sub
Architectures
Centralized Broker model
Consists of multiple publishers and multiple subscribers
and centralized broker/brokers (an overlay network of
brokers interacting with each other).
 Space decoupling: Subscribers/Publishers will contact
broker, and does not need to have knowledge about
others.
Time decoupling: in which publishers and subscribers
do not need to be running at the same time.
E.g. CORBA event services, JMS, JEDI etc…
Peer-to-Peer model
 Each node can be publisher, subscriber or broker.
 Subscribers subscribe to publishers directly and
publishers notify subscribers directly.
 Therefore they must maintain knowledge of each
other.
 Complex in nature, mechanisms such as DHT and
CHORD are employed to locate nodes in the
network.
 E.g. Java distributed event service
Key functions implemented by
P/S middleware service
 Event filtering (event selection)
The process which selects the set of subscribers that have
shown interest in a given event. Subscriptions are stored
in memory and searched when a publisher publishes a
new event.
 Event routing (event delivery)
The process of routing the published events from the
publisher to all interested subscribers
Event Routing
After filtering the events, the broker/brokers must route
the events to the corresponding subscribers.
Can be done in the following ways:
 Unicast
 Multicast
 Server push/ client pull
The broker makes the decision: how to route the message
to the subscriber.
 Several optimization schemes are available.
 Profile forwarding scheme
Distributed System-Multicast & Indirect communication
Subscription models
Topic-based subscription model
Also referred to as Subject-based models, group
based or channel based event filtering
subscriber shows interest in a particular topic and
receives notifications filtered based on that.
Each event is published to one of these channels by
its publisher.
Subscribers subscribes to a particular channel and
will receive ALL events published to the subscribed
channel.
Content based Content based
Bound to the content of events themselves rather than
external criteria.
More flexibility and power to subscribers, by allowing
more expression in arbitrary/customized query over the
contents of the event.
Event publication by a key/value attribute pair, and
subscriptions specify filters using a explicit subscription
language.
Car Brand =“Mercedes and Price <= 20,000‟
More advanced and complex notification system to be
able to filter each event and extract subscriptions
Type-based subscription model
 Built using concepts from Object-Oriented.
 Events are objects that can hold attributes and
methods and notifications are objects of specific type.
 Subscribers of specific object types will only receive
instances of that type or its sub-types.
Performance issues when a large amount of events
that need to be processed all at runtime.
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Message queues provide an asynchronous
communication protocol in which the sender and
receiver of messages don't need to interact at
the same time - messages are held in queue until
the recipient retrieves them.
 The basic architecture of a message queue is simple,
there are client applications called producers that
create messages and deliver them to the message
queue. An other application, called consumer, connect
to the queue and get the messages to be processed.
Messages placed onto the queue are stored until the
consumer retrieves them.
 Email is probably the best example of asynchronous
messaging. When an email is sent can the sender
continue processing other things without an immediate
response from the receiver. This way of handling
messages decouple the producer from the
consumer. The producer and the consumer of the
message do not need to interact with the message
queue at the same time.
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication
Distributed System-Multicast & Indirect communication

More Related Content

PDF
Distributed Coordination-Based Systems
PDF
Data dissemination
PPT
Group Communication (Distributed computing)
PPTX
Message and Stream Oriented Communication
PDF
Mobile computing unit 5
PDF
Software project management by Walker Royce
PPT
Distributed Processing
PPTX
Data and functional modeling
Distributed Coordination-Based Systems
Data dissemination
Group Communication (Distributed computing)
Message and Stream Oriented Communication
Mobile computing unit 5
Software project management by Walker Royce
Distributed Processing
Data and functional modeling

What's hot (20)

PPTX
Message passing in Distributed Computing Systems
PPTX
RPC: Remote procedure call
PDF
Semaphores
PPTX
Fault tolerance in distributed systems
PPT
message passing
PPT
Naming in Distributed Systems
PPT
Distributed objects & components of corba
PPTX
Replication in Distributed Systems
PPTX
System calls
PPT
Communications is distributed systems
PPT
distributed shared memory
PPTX
Unit 3 cs6601 Distributed Systems
PPTX
Introduction to Distributed System
PPT
process management
PPTX
Dead Lock in operating system
PPTX
Threads (operating System)
PDF
Agreement Protocols, distributed File Systems, Distributed Shared Memory
PPTX
2. Distributed Systems Hardware & Software concepts
PPT
Chapter 4 a interprocess communication
PDF
Deadlock Avoidance - OS
Message passing in Distributed Computing Systems
RPC: Remote procedure call
Semaphores
Fault tolerance in distributed systems
message passing
Naming in Distributed Systems
Distributed objects & components of corba
Replication in Distributed Systems
System calls
Communications is distributed systems
distributed shared memory
Unit 3 cs6601 Distributed Systems
Introduction to Distributed System
process management
Dead Lock in operating system
Threads (operating System)
Agreement Protocols, distributed File Systems, Distributed Shared Memory
2. Distributed Systems Hardware & Software concepts
Chapter 4 a interprocess communication
Deadlock Avoidance - OS
Ad

Similar to Distributed System-Multicast & Indirect communication (20)

PPT
1. Overview of Distributed Systems
PDF
Quality of Service in Publish/Subscribe Middleware
PPTX
Designing Application over mobile environment
PPTX
UNIT I DIS.pptx
PPTX
Unit 4.pptx
PPTX
Dancing with publish/subscribe
PDF
OMG Data-Distribution Service (DDS) Tutorial - 2009
PDF
Group Finder
PDF
Event Driven-Architecture from a Scalability perspective
KEY
Event Driven Architecture
PDF
Distributed systems short notes module 1
PDF
DCS Unit-II COMMUNICATION AND COORDINATION.pdf
PPTX
Topic 5- Communications v1.pptx
PPTX
Synchronous and asynchronous software communication components
PPTX
IOT2.pptx is internet of things presentation
PPTX
Publish subscribe model overview
PPT
PDF
Communication Patterns Using Data-Centric Publish/Subscribe
PDF
Communication Patterns Using Data-Centric Publish/Subscribe
PDF
ADV Slides: Trends in Streaming Analytics and Message-oriented Middleware
1. Overview of Distributed Systems
Quality of Service in Publish/Subscribe Middleware
Designing Application over mobile environment
UNIT I DIS.pptx
Unit 4.pptx
Dancing with publish/subscribe
OMG Data-Distribution Service (DDS) Tutorial - 2009
Group Finder
Event Driven-Architecture from a Scalability perspective
Event Driven Architecture
Distributed systems short notes module 1
DCS Unit-II COMMUNICATION AND COORDINATION.pdf
Topic 5- Communications v1.pptx
Synchronous and asynchronous software communication components
IOT2.pptx is internet of things presentation
Publish subscribe model overview
Communication Patterns Using Data-Centric Publish/Subscribe
Communication Patterns Using Data-Centric Publish/Subscribe
ADV Slides: Trends in Streaming Analytics and Message-oriented Middleware
Ad

More from MNM Jain Engineering College (17)

DOCX
IT8602 MOBILE COMMUNICATION.docx
PDF
IT8602 Syllabus.pdf
DOC
PDF
DOC
Distributed Mutual exclusion algorithms
DOC
Task assignment approach
PPT
Process Management-Process Migration
DOC
Naming in Distributed System
PPT
Peer to Peer services and File systems
PPT
Remote method invocation
PPT
Remote Procedure Call
PPT
Engineering Ethics
DOCX
It6312 dbms lab-ex2
DOCX
Expected questions in Artificial Intelligence
PDF
Qp mobile &amp; pervasive 2015
DOC
It6611 mobile application development laboratory l t p c0 0 3 2
PDF
Instruction formats-in-8086
IT8602 MOBILE COMMUNICATION.docx
IT8602 Syllabus.pdf
Distributed Mutual exclusion algorithms
Task assignment approach
Process Management-Process Migration
Naming in Distributed System
Peer to Peer services and File systems
Remote method invocation
Remote Procedure Call
Engineering Ethics
It6312 dbms lab-ex2
Expected questions in Artificial Intelligence
Qp mobile &amp; pervasive 2015
It6611 mobile application development laboratory l t p c0 0 3 2
Instruction formats-in-8086

Recently uploaded (20)

PDF
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
Computing-Curriculum for Schools in Ghana
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
DOC
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
RMMM.pdf make it easy to upload and study
PPTX
master seminar digital applications in india
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
A systematic review of self-coping strategies used by university students to ...
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
Complications of Minimal Access Surgery at WLH
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
Orientation - ARALprogram of Deped to the Parents.pptx
GENETICS IN BIOLOGY IN SECONDARY LEVEL FORM 3
Anesthesia in Laparoscopic Surgery in India
Computing-Curriculum for Schools in Ghana
Chinmaya Tiranga quiz Grand Finale.pdf
Soft-furnishing-By-Architect-A.F.M.Mohiuddin-Akhand.doc
Supply Chain Operations Speaking Notes -ICLT Program
RMMM.pdf make it easy to upload and study
master seminar digital applications in india
Microbial diseases, their pathogenesis and prophylaxis
UV-Visible spectroscopy..pptx UV-Visible Spectroscopy – Electronic Transition...
Final Presentation General Medicine 03-08-2024.pptx
Final Presentation General Medicine 03-08-2024.pptx
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
A systematic review of self-coping strategies used by university students to ...
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
STATICS OF THE RIGID BODIES Hibbelers.pdf
Complications of Minimal Access Surgery at WLH
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
Orientation - ARALprogram of Deped to the Parents.pptx

Distributed System-Multicast & Indirect communication

  • 1. Multicast & Indirect Communication M.Jagadeesh, Assistant Professor, Information Technology. MNM Jain Engineering College, Chennai
  • 2. Unicast, Broadcast versus Multicast • Unicast – One-to-one – Destination – unique receiver host address • Broadcast – One-to-all – Destination – address of network • Multicast – One-to-many – Multicast group must be identified – Destination – address of group
  • 3. Multicast Communication 02/10/19  Multicast is Communication of One-to-Group of devices, where group is created based on some criteria .  Each process in a group can send and receive message. A message sent by any process in the group can be received by each participating process in the group.  Multicast operation is an operation that sends a single message from one process to each of the members of a group of processes.  In an application or network service which makes use of multicasting, a set of processes form a group, called a multicast group.  Provides no guarantees about message delivery or ordering.
  • 4. Characteristics of Multicast  Fault tolerance based on replicated services  A replicated service consists of a group of members.  Client requests are multicast to all the members of the group, each of which performs an identical operation.  Even if one fails the clients can be still served  Finding the discovery servers in spontaneous networking  Multicast messages can be used by servers and clients to locate available discovery services in order to register their interfaces or to look up the interfaces of other services in the distributed system.  Better performance through replicated data  Data are replicated to increase the performance of a service.  Propagation of event notifications  Multicast to a group may be used to notify processes when something happens.
  • 5. Multicast application examples  Financial services Delivery of news, stock quotes, financial indices, etc  Remote conferencing/e-learning Streaming audio and video to many participants (clients, students) Interactive communication between participants  Data distribution
  • 11. Direct Communication  Client Server Communication  Space Coupling-Examples  Message Passing  Remote invocation
  • 12. Group Communication 02/10/19  Group communication offers a service whereby a message is sent to a group and then this message is delivered to all members of the group.  Sender is not aware of the identities of the receivers.  Possible implementation over IP multicast (or an equivalent overlay network), adding value in terms of • Managing group membership • Detecting failures and providing reliability and ordering guarantees
  • 17. Distributed event-based programming model  allow objects to subscribe to event occurring at remote objects of interest & in turn to receive notifications when such event occur.  events and notification provide a way for heterogeneous objects to communicate with one another asynchronously.
  • 18. What is a Publish/Subscribe System? Publishers generate event data and publishes them. Subscribers : Subscribers submit their subscriptions and process the events received. P/S service: It’s the mediator/broker that filters and routes events from publishers to interested subscribers. Information has been referred to as Notifications. Notification management system that maintains a database with all publishers and subscribers.
  • 19. Introduction  Traditional system-centric approach  Request/Response query of data.  Data volume and response time.  Data-centric approach  Publishers  Subscribers  Notification system
  • 20. Publish-Subscribe model advantages  Enhanced response time.  Enhanced results.  Database resources utilization and increased capacity.  Loosely coupled relationship between publishers and subscribers.  Scalability.
  • 23. Classification of Pub/Sub Architectures Centralized Broker model Consists of multiple publishers and multiple subscribers and centralized broker/brokers (an overlay network of brokers interacting with each other).  Space decoupling: Subscribers/Publishers will contact broker, and does not need to have knowledge about others. Time decoupling: in which publishers and subscribers do not need to be running at the same time. E.g. CORBA event services, JMS, JEDI etc…
  • 24. Peer-to-Peer model  Each node can be publisher, subscriber or broker.  Subscribers subscribe to publishers directly and publishers notify subscribers directly.  Therefore they must maintain knowledge of each other.  Complex in nature, mechanisms such as DHT and CHORD are employed to locate nodes in the network.  E.g. Java distributed event service
  • 25. Key functions implemented by P/S middleware service  Event filtering (event selection) The process which selects the set of subscribers that have shown interest in a given event. Subscriptions are stored in memory and searched when a publisher publishes a new event.  Event routing (event delivery) The process of routing the published events from the publisher to all interested subscribers
  • 26. Event Routing After filtering the events, the broker/brokers must route the events to the corresponding subscribers. Can be done in the following ways:  Unicast  Multicast  Server push/ client pull The broker makes the decision: how to route the message to the subscriber.  Several optimization schemes are available.  Profile forwarding scheme
  • 28. Subscription models Topic-based subscription model Also referred to as Subject-based models, group based or channel based event filtering subscriber shows interest in a particular topic and receives notifications filtered based on that. Each event is published to one of these channels by its publisher. Subscribers subscribes to a particular channel and will receive ALL events published to the subscribed channel.
  • 29. Content based Content based Bound to the content of events themselves rather than external criteria. More flexibility and power to subscribers, by allowing more expression in arbitrary/customized query over the contents of the event. Event publication by a key/value attribute pair, and subscriptions specify filters using a explicit subscription language. Car Brand =“Mercedes and Price <= 20,000‟ More advanced and complex notification system to be able to filter each event and extract subscriptions
  • 30. Type-based subscription model  Built using concepts from Object-Oriented.  Events are objects that can hold attributes and methods and notifications are objects of specific type.  Subscribers of specific object types will only receive instances of that type or its sub-types. Performance issues when a large amount of events that need to be processed all at runtime.
  • 34. Message queues provide an asynchronous communication protocol in which the sender and receiver of messages don't need to interact at the same time - messages are held in queue until the recipient retrieves them.
  • 35.  The basic architecture of a message queue is simple, there are client applications called producers that create messages and deliver them to the message queue. An other application, called consumer, connect to the queue and get the messages to be processed. Messages placed onto the queue are stored until the consumer retrieves them.  Email is probably the best example of asynchronous messaging. When an email is sent can the sender continue processing other things without an immediate response from the receiver. This way of handling messages decouple the producer from the consumer. The producer and the consumer of the message do not need to interact with the message queue at the same time.