[zeromq-dev] Asyncronous clients

Андрей Олейник andrey.oleynik at me.com
Mon Apr 24 10:08:15 CEST 2017


Hello,

I have a chat application that receives messages through WebSockets and
processes them on workers connected by a DEALER-ROUTER pattern. Chat sends
and receives ZMQ messages through one DEALER socket. It has been working
until I added second worker (ROUTER socket). From now there is not guaranty
that client will receive its own response.

As I understand the solution could be to use separate DEALER socket for
each WebSocket connection or use one socket with a wrapper that will handle
sharing across WebSockets connections.

What is the best way to have it done?

Thank you,
Andrey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170424/518c7712/attachment.htm>


More information about the zeromq-dev mailing list