Re: [zeromq-dev] Gossip discovery in CZMQ

2014-06-02 Thread Arnaud Loonstra
On 06/01/2014 02:15 PM, Pieter Hintjens wrote: Hi all, For Zyre (and zbroker), I'm adding a gossip discovery service into CZMQ. I've posted the API outline: https://github.com/hintjens/czmq/commit/6081970ba7ac434e9d899bc81b7495a36a17b38c The goal is to build clusters (like Zyre) using

Re: [zeromq-dev] authentication failure and zmq_msg_send blocking

2014-06-02 Thread Goswin von Brederlow
Not quite. A TCP connection failure will automatically retry and will keep retrying till it works. An authentication failure does no longer retry. In the first case a GUI could open a popup with a cancel button but keep trying in the background. In the second case it needs to abort and ask the

Re: [zeromq-dev] RFC: finer control of socket type / behaviour

2014-06-02 Thread Goswin von Brederlow
On Wed, May 28, 2014 at 10:07:38AM +0200, Pieter Hintjens wrote: This has been mooted before and I think it's a good idea in some ways. Certainly to allow experimentation. However the current patterns do kind of cover the sane use cases. It's hard to see what the point would be, for instance,

Re: [zeromq-dev] Gossip discovery in CZMQ

2014-06-02 Thread Pieter Hintjens
Yes, something like that. Right now we're using beaconing for discovery on local networks. This is simple but doesn't scale very well. So my idea is to allow nodes to bind/connect and create a loosely connected discovery network (in parallel with any actual traffic network), to exchange

Re: [zeromq-dev] RFC: finer control of socket type / behaviour

2014-06-02 Thread Pieter Hintjens
Returning EAGAIN on a full pipe might be a good improvement, though it's unclear how an app could use this. Blocking seems problematic as it exposes the app to failure when a single peer stops reading its messages. I agree that dropping messages is rather brutal in this case. However it's also

[zeromq-dev] Help for building czmq on windows

2014-06-02 Thread ??????
Hello,everyone! Who can tell me the steps of building czmq on windows.I have tried several times ,but failed.So are there other preparations i have to do before building or just like this:To build on Windows You need Microsoft Visual C++ 2008 or newer. Unpack the .zip source archive. In

Re: [zeromq-dev] Welcome to the zeromq-dev mailing list

2014-06-02 Thread Jeremy Richemont
Hi Tim. I agree, a message can only be deemed to have been 'sent' if an acknowledgement for it is received. As soon as no ack is received the server must start backing up messages - but only for that client. It's perfectly possible to have one client up-to-date, one that's catching up from 200

Re: [zeromq-dev] Help for building czmq on windows

2014-06-02 Thread Chrys Mischa Piva
maybe it would help if you tell what exactly is failing when you try to compile/link ? On Mon, Jun 2, 2014 at 7:56 AM, 只和你 843259...@qq.com wrote: Hello,everyone! Who can tell me the steps of building czmq on windows.I have tried several times ,but failed.So are there other preparations i

[zeromq-dev] ?????? Help for building czmq on windows

2014-06-02 Thread ??????
Acutaully after downloading c??mq from here czmq-2.2.0.zip for Windows ,I could not find win32\czmq.sln..Maybe you can have a try downloading from this link and check it out.I am so confused. Then i change to another link czmq-2.0.3.zip for Windows this previous one.I find folder

Re: [zeromq-dev] zeromq with aws - ec2 question

2014-06-02 Thread Chrys Mischa Piva
I have added some more information in the stack overflow thread. http://stackoverflow.com/questions/23944907/zeromq-server-client-with-aws-ec2 On Fri, May 30, 2014 at 11:24 PM, Chrys Mischa Piva chrys.p...@googlemail.com wrote: hello, I am new to this mailing list but I have been using

Re: [zeromq-dev] Welcome to the zeromq-dev mailing list

2014-06-02 Thread Michel Pelletier
On Mon, Jun 2, 2014 at 5:59 AM, Jeremy Richemont jrichem...@gmail.com wrote: Hi Tim. I agree, a message can only be deemed to have been 'sent' if an acknowledgement for it is received. As soon as no ack is received the server must start backing up messages - but only for that client. It's

Re: [zeromq-dev] Gossip discovery in CZMQ

2014-06-02 Thread Michel Pelletier
This would be cool, and be quite useful for your distributed pipes idea. -Michel On Mon, Jun 2, 2014 at 3:48 AM, Pieter Hintjens p...@imatix.com wrote: Yes, something like that. Right now we're using beaconing for discovery on local networks. This is simple but doesn't scale very well. So

Re: [zeromq-dev] Gossip discovery in CZMQ

2014-06-02 Thread Pieter Hintjens
Yes, that's the use case: clusters of edge brokers (one per box, serving local clients via IPC), that connect together into a Zyre network, without the delicacy of UDP beaconing. On Mon, Jun 2, 2014 at 7:52 PM, Michel Pelletier pelletier.mic...@gmail.com wrote: This would be cool, and be quite

[zeromq-dev] Universal Fast Sockets and ZeroMQ

2014-06-02 Thread Jonathan Jekeli
Earlier this year, I saw some posts from someone regarding Universal Fast Sockets, saying that they greatly decreased the latency of zeromq ( http://lists.zeromq.org/pipermail/zeromq-dev/2014-February/025452.html). After doing some research, tracked it back to TorusWare, a Spanish company that

Re: [zeromq-dev] Universal Fast Sockets and ZeroMQ

2014-06-02 Thread Pieter Hintjens
The figures do show good performance improvements over TCP (for any application, not specifically ZeroMQ), and afaik you can test the software quite easily. The 24x improvement is atypical IMO since it's for large messages. On Mon, Jun 2, 2014 at 9:30 PM, Jonathan Jekeli jon.jek...@gmail.com

Re: [zeromq-dev] Welcome to the zeromq-dev mailing list

2014-06-02 Thread Tim Crowder
Hi Jeremy- You've set an SLA: 1M messages max. If any client falls behind, you have to start saving messages to spinning rust. So, you need to provide disk storage with sufficient bandwidth up-front, just-in-case. If you go the acknowledge route, then you have to make the server smart. You still

Re: [zeromq-dev] zeromq with aws - ec2 question

2014-06-02 Thread Chrys Mischa Piva
okay so thanks to a friend who helped me figuring out what was going on here is the answer : basically the application was running on a Windows Server 2012 instance and the windows firewall was preventing any traffic towards my application. Adding the application to the allowed applications list