Networking Reference
In-Depth Information
Advanced Patterns
In this chapter we will look at multithreading applications with ZeroMQ and have
a brief look at more advanced patterns. This chapter is a journey into ZeroMQ's
advanced features.
Extending the request-reply pattern
In Chapter 1 , Getting Started , we worked on a simple request-reply example. When
you have one server to handle multiple client responses, everything is fine. However,
in a realistic situation, there would be more than one server. How do we solve this,
then? We could set up a broker to handle it. However, ZeroMQ is brokerless. Perhaps
we could use zmq_poll , but in this case we will not be able to use the request-reply
pattern since it only gives us synchronous transmission.
Search MirCeyron ::




Custom Search