Mark As Completed Discussion

Patterns of the Pub/Sub EDA

Broadcast Pattern

In this pattern, the information is provided once to all participants. Participants hold if the information interests them or they discard the information if not. This approach works effectively if it is possible to efficiently discard the unnecessary information. Furthermore, since many network techniques distribute bandwidth among a number of devices, sending a message via broadcast typically consumes no more capacity on the network than sending it to all of the computers.

Polling Pattern

In this pattern, participants can contact the sender on a regular basis to check if they have anything that interests them. A downside of this pattern is wasting time. You may receive hundreds of emails from subscribers but have nothing new to offer them. On the other hand, some people may miss information if there are two updates sent in a row.