%% date:: [[2022-09-09]] %% # [[Publish-subscribe]] The publish/subscribe model is an approach of [[Message Broker|message brokering]] that relies on publishing t of information. Consumers of that information can then *subscribe* to that category and get updates on only that information. This model can also be referred to as a *Topic-subscription* model. [[Google Pub-Sub]] is an implementation of this model. ## Publish-subscribe vs. traditional message queues Publish-subscribe is an improvement on [[Message queuing]] especially for distributed systems, because they are [[Pull-based]] rather than [[Push-based]].