[zeromq-dev] What exact networking problems ZMQ does solve?
Bruno D. Rodrigues
bruno.rodrigues at litux.org
Wed Dec 11 11:27:59 CET 2013
There is a new feature on 4.x called ZMQ_IMMEDIATE that will, depending on the socket type, prevent the message from being queued if the pipe (tcp socket) is not yet established.
With this option enabled, the send will block until a connection is established, or a send(DONTWAIT) will return false.
On Dec 11, 2013, at 9:59, artemv zmq <artemv.zmq at gmail.com> wrote:
> Okay. Thanks for your thoughts. Again, I read the guide, and I know on practice what's pub/sub/push/pull/ .. and so on.
>
> But let me ask one more time very concrete and simple question. I want to develop a client/server appl. Okay. I pick dealer/router pattern. Fine. Now my requirement is following:
> if server is unaccessible (wrong ip address, server is not online, server was online and then went offline, etc.) -- in this case I want to get (_instantly_) some indication that client can't send a message because server is unaccessible. It's clear? Again, I don't want to await for reply, I want to know right now that I can't send a message.
>
> Realistically, this is very classic networking issue :) So, how can ZMQ help me? Or is it possible/eligible et al to implement transactional (not batching!) applications on ZMQ?
>
>
> BR
> -artemv
>
>
> 2013/12/11 Bruno D. Rodrigues <bruno.rodrigues at litux.org>
> zeromq.org - learn the basics - http://zeromq.org/intro:read-the-manual - the guide - http://zguide.zeromq.org/page:all
>
> I just gave you a short description of how Ømq is solving the network problems for me.
>
> On Dec 11, 2013, at 6:59, asif saeed <asif.lse2 at gmail.com> wrote:
>
>> Hi Bruno,
>>
>> On Wed, Dec 11, 2013 at 12:38 AM, Bruno D. Rodrigues <bruno.rodrigues at litux.org> wrote:
>> Xsub xpub for distribution load balancing
>>
>> What is Xsub xpub? Could you please explain these terms or give me a link to an online resource where these terms are explained in detail?
>>
>> Thanks in advance,
>> -Asif
>> _______________________________________________
>> zeromq-dev mailing list
>> zeromq-dev at lists.zeromq.org
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131211/fb22af55/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 235 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20131211/fb22af55/attachment.sig>
More information about the zeromq-dev
mailing list