Pub/sub
Pub/sub (publish-subscribe) is, like the queue, a way to connect services asynchronously. Every message published to a topic is pushed instantly to all of that topic's subscribers. Each subscriber can do something different with the message, in parallel. It's like a news channel: it posts 1 time and it reaches all 10,000 followers, and each does what they want with the news.
Pub/sub and queues look alike, but aren't the same. In a queue, each message is processed by 1 single consumer, and the sender usually knows where it goes. In pub/sub, the publisher doesn't know who uses the information and subscribers don't know where it comes from. Also, the queue batches messages until someone fetches them; the topic pushes them out instantly, with almost no waiting. It's like a letter (1 recipient you know) versus a street poster (whoever passes reads it).
Pub/sub brings more advantages. Subscribers can be added, changed or disappear and the system adjusts on its own, without the publisher keeping a list. Publishers and subscribers are decoupled, so each is developed and scaled on its own. And it simplifies communication: instead of connecting every service to every other, all connect 1 time to the topic. With 5 publishers and 5 subscribers, that's 10 connections to the topic instead of 25 direct ones.
