Re: [zeromq-dev] #zeromq meetup on Sun 23 Feb -- Curve security

2014-02-22 Thread Justin Cook
Hi, Is this on for 2100 GMT on Sunday, 24 Feb? -- Justin Cook On Saturday, 22 February 2014 at 07:10, Pieter Hintjens wrote: > On Sat, Feb 22, 2014 at 6:50 AM, Drew Crawford (mailto:d...@sealedabstract.com)> wrote: > > > With respect to #802, several individuals includ

Re: [zeromq-dev] Distributed application deployment model

2013-12-20 Thread Justin Cook
Look into SaltStack. -- Justin Cook Sent from a mobile device On 20 Dec 2013 21:17, "Robert Gallas" wrote: > Hi > > Is there any deployment model for distributed applications? > > Traditional way of installing application servers and managing them is > time consumi

Re: [zeromq-dev] ZMQ spec update proposition / enhancement to core messaging

2013-12-17 Thread Justin Cook
as brought up today, it is definitely worth talking about how this should be done, but if you follow the advice you should implement your own heartbeat. The biggest issue I can see in your case is that you do not have control over the remote node nor the protocol. -- Justin Cook ___

Re: [zeromq-dev] Does ZMQ handle tcp-RST?

2013-12-17 Thread Justin Cook
dealing with. I applaud you for doing tcpdumps and examining what is going across the wire so you understand what happens in specific situations. Cheers, -- Justin Cook On Tuesday, 17 December 2013 at 14:26, artemv zmq wrote: > > > Agreed, that's what he's sayin

Re: [zeromq-dev] Does ZMQ handle tcp-RST?

2013-12-17 Thread Justin Cook
disconnect occurs and HWM is set to 0, send() still returns true. He doesn’t want that to occur. -- Justin Cook On Tuesday, 17 December 2013 at 13:44, Pieter Hintjens wrote: > HWM=0 does not mean there's no buffering. The TCP buffers will accept > messages up to a certain size.

Re: [zeromq-dev] Reconnect failed after iptables tricks

2013-12-14 Thread Justin Cook
Could you please pastebin the code so we can have a look? -- Justin Cook +44 7500 960 000 +1 682 738 5380 Sent from a mobile device On 14 Dec 2013 16:11, "artemv zmq" wrote: > hi Pieter, > > Interface didn't change I believe. I conducted on server host (which

Re: [zeromq-dev] What exact networking problems ZMQ does solve?

2013-12-11 Thread Justin Cook
Bruno has given you the option to workaround that. If the server goes down, and their is an established session, there is no way to know that without further communication, or no response where response is expected. If there is, I would love to know about it. -- Justin Cook On Wednesday

Re: [zeromq-dev] What exact networking problems ZMQ does solve?

2013-12-11 Thread Justin Cook
stop. If you want to know a node went down, you will need heartbeat messages. There are a few ways to do this. Please look at the paranoid pirate example and this: http://zguide.zeromq.org/page:all#Heartbeating -- Justin Cook On Wednesday, 11 December 2013 at 09:59, artemv zmq wrote

Re: [zeromq-dev] rfc22

2013-12-08 Thread Justin Cook
I would be interested in becoming a member of the team to help maintain this protector. Chris, you can feel free to get in touch with me. Cheers, -- Justin Cook Sent from a mobile device On 8 Dec 2013 07:12, "Pieter Hintjens" wrote: > GitHub shows access failures as "Not fo

Re: [zeromq-dev] Fundamental question on ZMQ. How to determine message fail/success without HWM-arking?

2013-12-06 Thread Justin Cook
cted behaviour. For second -- such "polling" looks strange, > isn't? > > > BR > -artemv > > > > > 2013/12/6 Justin Cook mailto:jhc...@gmail.com)> > > Artem, > > > > The “high-water mark” is simply used to prevent memo

Re: [zeromq-dev] Fundamental question on ZMQ. How to determine message fail/success without HWM-arking?

2013-12-06 Thread Justin Cook
and share with us on the list. -- Justin Cook On Friday, 6 December 2013 at 13:59, artemv zmq wrote: > Thanks Pieter. All this sounds new to me ... :| > > But if we return to HWM question -- when I set hwm=0 and sending to > unexistent peer, then every .send() call return me

Re: [zeromq-dev] Fundamental question on ZMQ. How to determine message fail/success without HWM-arking?

2013-12-06 Thread Justin Cook
aware of scalability issues. You may need to use a lockstep pattern such as REQ/REP if you need guarantee of communication. -- Justin Cook On Friday, 6 December 2013 at 09:46, artemv zmq wrote: > Thanks for heads up. > > 2crocket: > No acks. No timeouts. Nothing sh

Re: [zeromq-dev] Bash Binding

2013-11-25 Thread Justin Cook
really an academic exercise. But, an interesting one depending on who you are. -- Justin Cook On Monday, 25 November 2013 at 17:57, Evan Gates wrote: > I didn't intend to ever use it seriously, but I also didn't think > there would be any interest. I'll add some comments,

Re: [zeromq-dev] Proposal for ZeroMQ certificate format

2013-10-16 Thread Justin Cook
‎Security through obscurity? I can see where you're going with this, but public keys are not secure and relying on them being secret makes the design a bit flaky. It's only a matter of time once a target is established. Public keys are the least of worries. 

Re: [zeromq-dev] zmq_poll stops expiring timeout in virtualized Windows 7

2013-10-15 Thread Justin Cook
reproduce with a Linux guest? -- Justin Cook On Tuesday, 15 October 2013 at 19:49, Felipe Farinon wrote: > That seems a strange thing to do, since even Windows doesn't guarantee > the monotonicity of the timer used by QPC (e.g. when using ACPI timer). > If we want to cover

Re: [zeromq-dev] Distributed logging

2013-08-20 Thread Justin Cook
+2 -- Justin CookSent from a mobil

Re: [zeromq-dev] ZeroMQ not working well with google protobuf?

2013-03-22 Thread Justin Cook
's wire frame: http://rfc.zeromq.org/spec:15 the ping pong is from heaven. Since earth is creating a brand new message each time, it is receiving its original message placed back on the wire from heaven. What I'm saying is the message is larger because of ZMQ

Re: [zeromq-dev] 2.2 and 3.2.2

2013-03-21 Thread Justin Cook
On Thursday, 21 March 2013 at 13:10, asif saeed wrote: > Hi Justin, > > On Wed, Mar 20, 2013 at 5:04 PM, Justin Cook (mailto:jhc...@gmail.com)> wrote: > > 3.2.2. If you are starting from scratch you should always you use the > > latest major revision.> What is the

Re: [zeromq-dev] 2.2 and 3.2.2

2013-03-20 Thread Justin Cook
3.2.2. If you are starting from scratch you should always you use the latest major revision. -- Justin Cook +44 7500 960 000 +1 682 738 5380 Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Wednesday, 20 March 2013 at 12:02, asif saeed wrote: > Hi, > > What is the d

Re: [zeromq-dev] [ANN] PyZMQ-13.0.0

2013-02-22 Thread Justin Cook
Fantastic! Thanks a million! -- Justin Cook Sent from a mobile device On Feb 22, 2013 1:21 AM, "Brian Knox" wrote: > Nice. Thanks as always! > > > On Thu, Feb 21, 2013 at 8:09 PM, MinRK wrote: > >> >> >> On Thu, Feb 21, 2013 at 4:48 PM, Brian Knox

Re: [zeromq-dev] Building an RPM on CentOS 6

2013-01-14 Thread Justin Cook
This is an error that I came across and has been noticed by others as well: http://comments.gmane.org/gmane.network.zeromq.devel/17039 As that thread suggests, it is hit or miss at this time. -- Justin Cook On Monday, 14 January 2013 at 20:17, James Marcus wrote: > Hi, > I

Re: [zeromq-dev] ZeroMQ setup

2013-01-09 Thread Justin Cook
To build 0MQ you need gcc, make, gcc-c++, libstdc++-devel on a RHEL system. However, once you've built the package it can be installed without gcc. If you are on RHEL then simply build an RPM with the latest spec file and you should be just fine. Cheers, -- Justin Cook On Wednesd

Re: [zeromq-dev] make check fail

2013-01-05 Thread Justin Cook
I refer you to this thread: http://lists.zeromq.org/pipermail/zeromq-dev/2012-November/019456.html -- Justin Cook On Friday, 4 January 2013 at 19:37, A. Mark wrote: > Hello, this was result of a "make check" on this system: > > Linux machine 2.6.18-308.16.1.el5 #1 SMP

Re: [zeromq-dev] ZeroMQ to support AMQP patterns soon?

2013-01-02 Thread Justin Cook
Reproducing AMQP would not be progression but regression rather. That's my 2p. -- Justin Cook Sent from a mobile device On Jan 2, 2013 6:21 PM, "Charles Remes" wrote: > > On Jan 2, 2013, at 11:48 AM, Viet Hoang (Quant Edge) < > viet.ho...@quant-edge.com> wro

Re: [zeromq-dev] Memory leak(?) between Push/Pull

2012-12-06 Thread Justin Cook
lso depends on memory block sizes and the operating system's management of memory pools…fragmentation and the like. Cheers, -- Justin Cook ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] RPM build error

2012-11-26 Thread Justin Cook
iving the VM guest two CPU. It was failing almost every time with one CPU. Thanks, -- Justin Cook On Monday, 26 November 2012 at 14:35, Justin Cook wrote: > https://zeromq.jira.com/browse/LIBZMQ-473 > > -- > Justin Cook > > > > On Monday, 26 November 201

Re: [zeromq-dev] RPM build error

2012-11-26 Thread Justin Cook
https://zeromq.jira.com/browse/LIBZMQ-473 -- Justin Cook On Monday, 26 November 2012 at 13:05, Justin Cook wrote: > Checking for unpackaged file(s): /usr/lib/rpm/check-files > /var/tmp/zeromq-3.2.2-1-root > error: Installed (but unpackaged) file(s) found: > /usr/lib64/libzmq

Re: [zeromq-dev] RPM build error

2012-11-26 Thread Justin Cook
? -- Justin Cook On Monday, 26 November 2012 at 13:01, Ian Barber wrote: > > > On Mon, Nov 26, 2012 at 12:59 PM, Justin Cook (mailto:jhc...@gmail.com)> wrote: > > What's the safe work around? > > > > -- > > Justin Cook > > > As a first instance,

Re: [zeromq-dev] RPM build error

2012-11-26 Thread Justin Cook
What's the safe work around? -- Justin Cook On Monday, 26 November 2012 at 12:58, Ian Barber wrote: > > > On Mon, Nov 26, 2012 at 12:55 PM, Justin Cook (mailto:jhc...@gmail.com)> wrote: > > It appears that this is already known: > > > > https://zer

Re: [zeromq-dev] RPM build error

2012-11-26 Thread Justin Cook
It appears that this is already known: https://zeromq.jira.com/browse/LIBZMQ-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel -- Justin Cook On Monday, 26 November 2012 at 12:32, Justin Cook wrote: > Hi there, > > When building 3.2.2 release on CentOS5.8 (t

[zeromq-dev] RPM build error

2012-11-26 Thread Justin Cook
ll me what I'm doing wrong of if I need to revert a specific update. Cheers, -- Justin Cook ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Strange Loop Conference, St.Louis MO

2012-09-18 Thread Justin Cook
The contents of that chapter are blank? -- Justin Cook On Tuesday, 18 September 2012 at 14:59, Pieter Hintjens wrote: > Hi All, > > Just a reminder that I'll be presenting "Software Architecture using > 0MQ" at Strange Loop next week. > > This will b

Re: [zeromq-dev] zmq_monitor

2012-09-12 Thread Justin Cook
ses. What's wrong with providing a callback for ZMQ_MONITOR? MinRK has a valid point. Is it just too much work and/or expensive to put this on sockets and not the context? It makes 100% sense to put this in individual sockets versus the entire con

Re: [zeromq-dev] Pull request to retire "devices" and replace with "proxies"

2012-09-08 Thread Justin Cook
hat term is more encompassing. I believe "devices" should be kept with subcategories including "proxy" and "gateway". It would definitely make sense with REST anyway. -- Justin Cook On Saturday, 8 September 2012 at 11:23, Cem Karan wrote: > How about 'adapto

Re: [zeromq-dev] zeromq, pyzmq, pyRpc issue

2012-08-30 Thread Justin Cook
llustrate the problem: > simple server: http://pastebin.com/t2mk6jSQ > simple client: http://pastebin.com/2LyTkpmU > some notes: http://pastebin.com/371VxiE1 > > I'm out of ideas. If you have a solution or idea how to solve this, > I'd be very thankful. -- Justin Cook

Re: [zeromq-dev] Talk about ZeroMQ

2012-08-24 Thread Justin Cook
On Thursday, 23 August 2012 at 20:22, Andrea Crotti wrote: > Thanks the link is nice.. > For the threading it would be nice to see a small example of something > that looks good, > but will fail miserably under some specific conditions, and then take > the same thing > and rewrite it using proces

Re: [zeromq-dev] installing on red hat 5.3

2012-08-08 Thread Justin Cook
Build on RHEL 5.8 and try to run the binaries on 5.3. You have a pretty good chance of it working. -- Justin Cook On Wednesday, 8 August 2012 at 15:53, andrea crotti wrote: > 2012/8/8 Justin Cook mailto:jhc...@gmail.com)>: > > Minor RHEL releases of the same major are API/ABI co

Re: [zeromq-dev] installing on red hat 5.3

2012-08-08 Thread Justin Cook
Cook On Wednesday, 8 August 2012 at 15:20, andrea crotti wrote: > 2012/8/8 Justin Cook mailto:jhc...@gmail.com)>: > > If it fails to build you are not installing it, but trying to build from > > source? If so, try the latest RHEL5. 5.3 is quite old. > > > > -- &g

Re: [zeromq-dev] installing on red hat 5.3

2012-08-08 Thread Justin Cook
If it fails to build you are not installing it, but trying to build from source? If so, try the latest RHEL5. 5.3 is quite old. -- Justin Cook On Wednesday, 8 August 2012 at 14:04, andrea crotti wrote: > I tried to install libzmq (both 3.2 and 2.2) on Red Hat 5.3, and it > fails to

Re: [zeromq-dev] req-rep with max delay, in Ruby

2012-04-20 Thread Justin Cook
This sounds like a use for SIGALRM. In Python: http://docs.python.org/release/2.5.2/lib/node545.html -- Justin Cook On Friday, 20 April 2012 at 08:53, Raphael Bauduin wrote: > Hi, > > I need a process to send a request to a server, and wait a maximum of > (let's say) 300

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Justin Cook
k at the code i have sent and > tell me is there something wrong in that. Please !! -- Justin Cook ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-19 Thread Justin Cook
hat you changed and then go from there. Read your code to yourself. More than likely it is something obvious. Regards, -- Justin Cook ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Justin Cook
with a small snippet to use any one of them?? -- Justin Cook ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Justin Cook
g list if > required. :-) -- Justin Cook ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Justin Cook
ean by simply calling socket close method > on the ZMQ socket ?? > > I am pretty new to this so thank for your help. -- Justin Cook ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] FW: Help With Regard To the ZMQ Forwarder

2012-03-15 Thread Justin Cook
 line 15, in startForwarder >     outgoing.bind('tcp://127.0.0.1:5562') >   File "socket.pyx", line 489, in zmq.core.socket.Socket.bind > (zmq\core\socket.c:4797) > ZMQError: Address in use -- Justin Cook ___ zeromq-dev m

Re: [zeromq-dev] ZMQ Python with Pypy

2012-03-05 Thread Justin Cook
k you very much. I noticed that but didn't know if it was worth checking out. I did get it to install, but there are compile errors with `import zmq`. More than likely it's not up to date. Ta, -- Justin Cook http://www.linkedin.com/in/jhcook __

Re: [zeromq-dev] ZMQ Python with Pypy

2012-03-05 Thread Justin Cook
I've tracked this down to this: https://bugs.pypy.org/issue674 We're (well me) clearly falling victim to this "lack of a feature". On Mon, Mar 5, 2012 at 10:46 AM, Justin Cook wrote: > And yet, even more: > > I printed out the trace and found the config va

Re: [zeromq-dev] ZMQ Python with Pypy

2012-03-05 Thread Justin Cook
asename i = p.rfind('/') + 1 AttributeError: 'NoneType' object has no attribute 'rfind' On Mon, Mar 5, 2012 at 9:24 AM, Justin Cook wrote: > Here is more information (yeah a lot of it) from pdb stepping through > execution of setup.py: > > > >

Re: [zeromq-dev] ZMQ Python with Pypy

2012-03-05 Thread Justin Cook
(Pdb) next > /home/jcook/pyzmq-2.1.11/setup.py(641)() -> 'Programming Language :: Python :: 3.2', (Pdb) next running configure ** Configure: Autodetecting ZMQ settings... Custom ZMQ dir: /usr/local/lib cc -fPIC -Wimplicit -I/us

[zeromq-dev] ZMQ Python with Pypy

2012-03-05 Thread Justin Cook
e are known issues in the past concerning this error (with other code), none are relevant (or I'm deceiving myself). Once again, help would be appreciated. This works clean with `python setup.py configure`. Cheers, -- Justin Cook http://www.linkedin.com/in/jhcook ___

Re: [zeromq-dev] Python Binding Modules

2012-02-29 Thread Justin Cook
On Wed, Feb 29, 2012 at 4:00 PM, Michel Pelletier wrote: > Submodules do not exist in a python namespace until you import them.  Do > > from zmq import eventloop > > and you will see it. I thought I knew Python.... -- Justin Cook http://www.linkedi

[zeromq-dev] Python Binding Modules

2012-02-29 Thread Justin Cook
umerate': , 'eval': , 'execfile': , 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'file': , 'filter': , 'float': ,

Re: [zeromq-dev] pyzmq build error

2012-02-28 Thread Justin Cook
Well then. That explains the test code. Sorry for wasting your time. Cheers On Tue, Feb 28, 2012 at 4:56 PM, MinRK wrote: > > > On Tue, Feb 28, 2012 at 07:14, Justin Cook wrote: >> >> Hi folks, >> >> I've created an RPM for 3.1.0-beta and successfully

[zeromq-dev] pyzmq build error

2012-02-28 Thread Justin Cook
tionError: 1000 != 0 -- Ran 82 tests in 8.228s FAILED (SKIP=8, failures=1) error: Bad exit status from /var/tmp/rpm-tmp.MVxgUB (%check) Anyone have any ideas? -- Justin Cook http://www.linkedin.com/in/jhcook ___ zeromq-dev mai

Re: [zeromq-dev] Extremely strange PUB/SUB behavior

2012-02-22 Thread Justin Cook
On Wed, Feb 22, 2012 at 8:47 PM, Calvin de Vries wrote: > I'm not using ZMQ_IDENTITY on either the server or the client. If either of you are able to reproduce this, I would recommend setting a high water mark and using identities (durable sockets) to see if that alleviates the issue. Just a wild

Re: [zeromq-dev] Extremely strange PUB/SUB behavior

2012-02-22 Thread Justin Cook
Are either of you using ZMQ_IDENTITY to establish durable subscribers? On Wed, Feb 22, 2012 at 7:40 PM, Chuck Remes wrote: > On Feb 22, 2012, at 1:14 PM, Calvin de Vries wrote: > >> More color - >> >> I was actually able to "cause" this issue now by taking down a client that >> had a similar sub

Re: [zeromq-dev] Issues installing ZeroMQ and PyZMQ on RHEL 6

2012-02-21 Thread Justin Cook
Looks like this is installed outside the standard library path. $ export LIBRARY_PATH= On Tue, Feb 21, 2012 at 6:41 AM, Kushal Dalmia wrote: > Hi, > > I am a researcher at Carnegie Mellon University and am trying to install > ZeroMQ with its Python bindings on a RHEL 6 box (Red Hat Enterprise Li