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

Routing best practices

As a best practice, direct exchanges are the fastest to use. Even when using direct exchanges, those with multiple bindings require more time to calculate where messages must be sent. There are some additional best practices to consider for routing.

Designing a system with routing in mind

Every endpoint is a service or application. Unlike CC, which operates between a car and, for the most part, a single application layer, many microservice architectures pass messages through dozens of services.

CC designed their system architecture around small services. They combined operations where it did make sense. After designing a smaller system, they consider where additional exchanges or queues could be beneficial. This kept the overall design small enough without limiting processing power.

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