On Wed, Apr 23, 2014 at 9:33 AM, techbird <[email protected]> wrote:

> The main article focuses on using http - atom/json with a pull model, for
> Internet scale collaboration .

It's a simple and widely-used approach, yet very poor. It basically
enforces the thin-client fat-server model, where clients hang off
specific servers. I don't think it's acceptable in 2014 to propose
HTTP-style pull as a basis. Indeed, large-scale service providers are
working very hard to escape that (websockets, HTTP2, SPDY, etc.)

A different, still simple model, is to treat every tasks as an
event-driven actor that can receive messages from any source, be it
another thread in the same process, or a box on the other side of the
world. In this model, tasks do not poll or pull; they receive messages
asynchronously from any number of sources.

On top of that you can build pub-sub, push-pull, request-reply etc. as
multi-message protocols. You can even recreate RESTful semantics quite
simply.

-Pieter
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to