RabbitMQ Essentials - Second Edition by Lovisa Johansson

RabbitMQ Essentials - Second Edition by Lovisa Johansson

Author:Lovisa Johansson [Lovisa Johansson]
Language: eng
Format: epub
Tags: COM051280 - COMPUTERS / Programming Languages / Java, COM060090 - COMPUTERS / Internet / Application Development, COM060080 - COMPUTERS / Web / General
Publisher: Packt
Published: 2020-08-07T09:06:39+00:00


Fig 3.3: Back-office application in the architecture

To roll this out, one way could be to use the topic messaging that's already in place and create a special topic to which all drivers would be subscribed. However, there is an even cleaner and simpler approach offered by the AMQP protocol – fanout exchange.

Fanout exchange

Fanout exchange takes all messages that are coming in and delivers them to all queues that are bound to it. An easy-to-understand example of where to use a fanout is when messages need to be spread between many participants, like in a chat (however, there are probably better choices for pure chat applications).

Other examples include the following:

Score board or leaderboard updates from sports news to mobile clients, or other global events

Broadcasting various state and configuration updates in distributed systems



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.