[zeromq-dev] REST over ZeroMQ
Pieter Hintjens
ph at imatix.com
Mon Feb 9 20:33:56 CET 2015
On Mon, Feb 9, 2015 at 2:50 PM, Doron Somech <somdoron at gmail.com> wrote:
> Michael, my point was that I don't think that RESTful is always the right
> answer. Pieter suggested to stop use RPC and to use RESTful instead.
There are going to be cases where the business semantics are stable
and then it makes sense to expose them directly. I'm not advocating a
RESTful approach for everything. It is one way of reducing the cost of
rapid change in protocols.
I think it is also artificially complex if you are using ZeroMQ for
everything. However being semantically compatible with HTTP is useful
in some cases.
There are a lot of cases where this resource based request-reply can't
work. So in practice you'd want to mix it with event notification over
pub-sub, etc.
I'm thinking therefore of adding XRAP support to Malamute so it can
work with the other patterns in that broker.
-Pieter
More information about the zeromq-dev
mailing list