Publish-Subscribe Pattern

Introduction

In software architecture, publish–subscribe is a messaging pattern where senders of messages, called publishers, do not program the messages to be sent directly to specific receivers, called subscribers, but instead categorize published messages into classes without knowledge of which subscribers, if any, there may be. Similarly, subscribers express interest in one or more classes and only receive messages that are of interest, without knowledge of which publishers, if any, there are.

--(Wikipedia 2023)

It's important to note how publish-subscribe is a sibling paradigm to the Message Queue Pattern and they're both usually a part of a larger message-oriented middleware system.

References

Web Links

Note Links