Please enable JavaScript.
Coggle requires JavaScript to display documents.
Indirect Communication (Publish/Subscribe (Diagram 24) (Kafka (Used for…
Group Communication
Space uncoupled service: message sent to a group and then this message is delivered to all members of the group
-
-
-
-
-
-
-
-
-
Introduction
Indirect communication: communication between entities in a distributed system through an intermediary with no direct coupling between the sender + receiver(s)
2 properties
(Diagram 49)
Space uncoupling: sender doesn't know / need to know the identity of the receiver(s); participants can be replace/updated/migrated/replicated
Time uncoupling: sender + receiver can have independent lifetimes; do not need to exist at the same time; message is stored and picked up at a later moment
-
Advantages
Handle scenarios where users connect + disconnect very often (E.g. mobile environments, messaging services, forums, runtime changes anticipated)
-
Great scalability in handling a very large number of participants (e.g. Google Ads system, Spotify)
Disadvantages
-
-
Difficult to achieve end-to-end properties (e.g. real-time behaviour, security)
-