[zeromq-dev] HTTP -> 0MQ XREQ proxy example.
John W Higgins
wishdev at gmail.com
Sat Mar 19 21:21:43 CET 2011
On Sat, Mar 19, 2011 at 5:00 AM, Pieter Hintjens <ph at imatix.com> wrote:
> This is neat. It's something lots of people have discussed making but
> no-one's actually done.
Zed Shaw has a very nice implementation baked into the Mongrel2 web server (
It uses a PUSH socket to distribute requests to 0MQ servers and then a
separate SUB socket to receive the responses back. The SUB socket address is
supplied to the 0MQ server with the request so it is self-identifying. It
allows for a variety of options in terms of how the 0MQ servers handle the
requests. It also has full routing capabilities so you can have any number
of URLs pointing to any number of back end 0MQ servers.
Not to knock this work at all - the more options the better :)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the zeromq-dev