O'Reilly logo

ZeroMQ by Pieter Hintjens

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required