AMQP Exchange Routing Quizzes
AMQP Exchange Routing Quizzes
animation
amqp
protocols
messaging
Tip
Checkpoint: Choosing Exchange Types
Checkpoint: Choosing Exchange Types
You now know:
- Direct means exact routing-key match, fanout means broadcast, topic means wildcard pattern matching, and headers means metadata matching.
- Topic wildcards have precise meanings:
*matches exactly one dot-separated word, while#matches zero or more words. - For hierarchical IoT keys like
sensor.temperature.zone1, topic exchange patterns provide server-side filtering without producer changes.
Tip
Checkpoint: Industrial Routing Tradeoffs
Checkpoint: Industrial Routing Tradeoffs
You now know:
- In the plant case, 1,200 robots publish 4 sensor types at 1 reading per second, or 4,800 messages per second before the 7,200 msg/s burst case.
- Publishing three times for three consumers creates 14,400 publishes per second; a topic exchange keeps producer traffic at 4,800 publishes per second.
- Fanout is simple but pushes filtering to consumers; topic exchange keeps each backend focused on the messages it actually needs.