Chapter 3. Advanced Request-Reply Patterns
In Chapter 2, we worked through the basics of using ÃMQ by developing a series of small applications, each time exploring new aspects of ÃMQ. Weâll continue this approach in this chapter as we explore advanced patterns built on top of ÃMQâs core request-reply pattern.
Weâll cover:
How the request-reply mechanisms work
How to combine REQ, REP, DEALER, and ROUTER sockets
How ROUTER sockets work, in detail
The load-balancing pattern
Building a simple load-balancing message broker
Designing a high-level API for ÃMQ
Building an asynchronous request-reply server
A detailed inter-broker routing example
Get ZeroMQ now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.