Queues and messaging

Fanout

Copying 1 message that reaches a topic and pushing it to many destinations at once, to process it in parallel.

Example

1 order is copied to 4 services; if each takes 2 seconds, all 4 finish in 2, not 8.

Test yourself: Fanout

Publish-subscribe

___ copies 1 message to every destination so they work in parallel.

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.