Queues and messaging

Pub/sub

A messaging model where the publisher sends to a topic and every subscriber of that topic gets a copy.

Example

1 «new order» message on a topic with 3 subscribers reaches email, stock and billing.

Test yourself: Pub/sub

Publish-subscribe

In pub/sub, who gets a message published to a topic?

Lessons that use it

More queues and messaging terms

All terms →

Arki, the beaver mascot

Your next interview starts with 5 minutes today.

Free on iOS and Android. Start from zero, no account needed.