Message brokers

Message brokers let you send all messages to a central point that routes and delivers messages to the necessary microservices. In some cases, this can be a bottleneck, because the full load will fall on a single application—the message broker. But in most cases, it's a great approach that helps you to decouple microservices and update any microservices imperceptibly.

To use message brokers, it's sufficient to support the AMQP protocol. All popular message brokers are compatible with that protocol. The lapin-futures crate provides types and methods to use the AMQP protocol through the API of the futures crate. If you want to use the low-level control of the mio crate, there is the lapin-async crate.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.147.79.84