[zeromq-dev] ZeroMQ ZMTP using WebSocket's own framing?

Yannick Koehler yannick at koehler.name
Fri Jun 7 14:38:28 CEST 2013


Hi,

  I am new to ZeroMQ, I am evaluating this technology for a business
project.  We found this technology interesting and also found websocket to
meet our need.  WebSocket already provide a framing protocol and manage a
TCP connection, yet doesn't offer a API related to messaging at the same
level than ZeroMQ.

  It is also my understanding that ZeroMQ performance and low latency are
mostly achieve due to its own management of the TCP connection via batching.

  I have found solution that proxy ZeroMQ to WebSocket, but, my
understanding is that doing so will negatively impact the performance of
pure ZeroMQ over a TCP socket directly since then the WebSocket itself may
not use the same batching mechnism and end up slowing things down.

  I was wondering is there was work to have a ZeroMQ definition that would
re-use the websocket framing definition so that one could just use "ws://*"
as a endpoint description to means setup a websocket is none exists for
this endpoint (or re-use one) and do what zeroMQ does using the same
framing as websocket (not an extra framing definition over the existing
one) and then get the same benefit as ZeroMQ using technology that would
allow sharing a single port (80/443) for ZeroMQ or HTTP activity.

  I would be interested in such work, and if this is not something that has
been started, I would really like to get your opinion on how this could be
reach so that I can attempt to code it.

--
Yannick Koehler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130607/45370b13/attachment.htm>


More information about the zeromq-dev mailing list