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

Exploring key takeaways

For the sake of simplification, optimization can be broken into two forms, and since cars have been a popular topic in this book, let's stick with that theme.

Ferrari – fast and smooth: If the system must have fast performance and high throughput, use a single node. Keep queues as short as possible, and set the max length or TTL if possible. Do not set the lazy queue policies to keep retrieval time short. Use transient messages, rather than persistent ones, for the same reason. Take advantage of using multiple queues and consumers, providing maximum throughput. For the fastest possible throughput, manual acks should be disabled. Always strive to use the latest stable RabbitMQ version.

Volvo – stable and reliable: A system that must be highly available and cannot afford to lose messages should have durable queues and send persistent messages. Queues should still be kept short.

It is recommended that clustering is set up through quorum queues....

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