Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
RabbitMQ Essentials

You're reading from   RabbitMQ Essentials Build distributed and scalable applications with message queuing using RabbitMQ

Arrow left icon
Product type Paperback
Published in Aug 2020
Publisher Packt
ISBN-13 9781789131666
Length 154 pages
Edition 2nd Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Lovisa Johansson Lovisa Johansson
Author Profile Icon Lovisa Johansson
Lovisa Johansson
David Dossot David Dossot
Author Profile Icon David Dossot
David Dossot
Arrow right icon
View More author details
Toc

Creating a data analysis service

CC wants to be able to analyze incoming data. This system analyses requests for taxis in different areas, discovers important patterns, and finds peak request times. The project manager assigned the team to build a system capable of running several versions of the same service in parallel, allowing the graceful evolution of the service during updates.

A member of the team stated that it is possible to use a topic exchange and structure the routing key as {service_name}{version}. Their idea works within the current system; however, RabbitMQ offers a more elegant solution to this problem through the headers exchange.

The headers exchange allows the routing of messages based on their headers, which are custom key-value pairs stored in the message properties. The custom key-value pairs guide messages to the correct queue or queues. With this approach, the message and its routing information are all self-contained, remain consistent, and are therefore easier...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime