Publish/Subscribe (pub/sub)

Architectural Pattern

Publish/Subscribe is a messaging pattern where a publisher sends messages to a channel without the knowledge of who is going to receive them. It is the responsibility of the channel to deliver a copy of the messages to each subscriber.
Related patterns
  • Observer: The observer pattern is a specialization of the publish/subscribe pattern.