[zeromq-dev] make 4.0 the default docs (was: Lazy pirate alternative implementation)

2014-06-12 Thread Thomas Klausner
Hi! On Thu, Jun 12, 2014 at 11:33:48PM +0200, Pieter Hintjens wrote: > you use libzmq/4.x you can use ZMQ_REQ_RELAXED: and that makes Lazy > Pirate obsolete. Oh, wow, I didn't realize there is ZMQ_REQ_RELAXED. I guess I did not realize this because most of the time I need to figure out somethin

Re: [zeromq-dev] zeromq, rewritten in Rust

2014-06-12 Thread Fantix King
On Thu, Jun 12, 2014 at 11:05 PM, Pieter Hintjens wrote: > Hi Fantix, you are now a member of the ZeroMQ owners team, with all > the power and responsibility. :-) Welcome. > Thank you, sir! ;) > > The next step is to rename/move the repository to zeromq and then fork > it back to your personal

[zeromq-dev] zsock test hangs in pyczmq

2014-06-12 Thread Michel Pelletier
I'm working on adding zsock and zactor support to pyczmq, and I have most of the work done, but my test for zsock is hanging. The test runs and works, zsock_destroy is called correctly (not that it would matter the default linger is 0) but the process never exits. gdb says it hanging on poll in z

Re: [zeromq-dev] Distribution of ZeroMQ contributors

2014-06-12 Thread Trevor Bernard
That's super cool -- nice graphics On 12 Jun 2014 19:28, "Pieter Hintjens" wrote: > Here's the full list of contributors with LOC: > > Pieter Hintjens 114235 > Dongmin Yu) 71055 > Paulmichael Blasucci 40118 > John Murphy 19584 > Min Ragan-Kelley 19288 > Sergei Almazov 18371 > Martin Sustrik 17462

Re: [zeromq-dev] Distribution of ZeroMQ contributors

2014-06-12 Thread Pieter Hintjens
Here's the full list of contributors with LOC: Pieter Hintjens 114235 Dongmin Yu) 71055 Paulmichael Blasucci 40118 John Murphy 19584 Min Ragan-Kelley 19288 Sergei Almazov 18371 Martin Sustrik 17462 Trevor Bernard 16838 evoskuil 15540 John Gozde 13154 miniway 10439 Martin Hurton 9222 tobsen 8301 Be

Re: [zeromq-dev] Distribution of ZeroMQ contributors

2014-06-12 Thread Pieter Hintjens
And here's the breakdown of the current codebase (that is, all projects in the organization, except stabilization forks). The total LOC is 494,019 and there are 404 contributors, and the distribution is rather different: http://imgur.com/xG4ucGz On Thu, Jun 12, 2014 at 10:49 PM, Pieter Hintjens w

Re: [zeromq-dev] Lazy pirate alternative implementation

2014-06-12 Thread Pieter Hintjens
You're polling the same socket twice, which isn't necessary. Also, if you use libzmq/4.x you can use ZMQ_REQ_RELAXED: and that makes Lazy Pirate obsolete. On Thu, Jun 12, 2014 at 10:54 PM, Dmitri Toubelis wrote: > Hi, > > I needed to implement a pattern similar to "lazy pirate" from the guide for

[zeromq-dev] Lazy pirate alternative implementation

2014-06-12 Thread Dmitri Toubelis
Hi, I needed to implement a pattern similar to "lazy pirate" from the guide for my project. However, the idea of reconnecting the socket upon timeout looks kind of lame to me, so I implemented it differently: http://pastebin.com/KFSBtK8C It works okay but is there anything obviously wrong with

[zeromq-dev] Distribution of ZeroMQ contributors

2014-06-12 Thread Pieter Hintjens
Hi all, I was playing with the GitHub API and worked out the distribution of committers to ZeroMQ projects (that is, in the zeromq organization). Here is a pretty picture of the distribution, and a list of the top contributors, since the start of the project (the current code base has quite a diff

Re: [zeromq-dev] ROUTER tcp socket stuck in CLOSE_WAIT with large receive queue

2014-06-12 Thread Sash Nagarkar
Thanks Pieter! I'll try that and see if we encounter it again. Love the work you guys are doing with ZMQ. On Thu, Jun 12, 2014 at 7:53 AM, Pieter Hintjens wrote: > I've seen something similar (I think) with Zyre, where dealer sockets > connecting with the same identity do weird things. Try sett

Re: [zeromq-dev] zeromq, rewritten in Rust

2014-06-12 Thread Pieter Hintjens
Hi Fantix, you are now a member of the ZeroMQ owners team, with all the power and responsibility. :-) Welcome. The next step is to rename/move the repository to zeromq and then fork it back to your personal account. It's really nice to have (I think) our first Chinese-originated project. -Pieter

Re: [zeromq-dev] ROUTER tcp socket stuck in CLOSE_WAIT with large receive queue

2014-06-12 Thread Pieter Hintjens
I've seen something similar (I think) with Zyre, where dealer sockets connecting with the same identity do weird things. Try setting ZMQ_ROUTER_HANDOVER on the router socket, see if that helps (you'll need libzmq master). On Thu, Jun 12, 2014 at 4:15 AM, Sash Nagarkar wrote: > Hello ZMQ devs, > >

Re: [zeromq-dev] PUB ZMQ_SNDHWM doesn't work

2014-06-12 Thread Brian Knox
Setting the HWM on a PUB socket to 0 would have the opposite effect of what you want. PUB sockets, when exceeding the HWM, drop messages. For a description of what different socket types do in a mute state, please see the documentation: http://api.zeromq.org/4-0:zmq-socket You should probably s

[zeromq-dev] zmsg.hpp

2014-06-12 Thread ??????
Hi,everyone! Where could i find zmsg.hpp this head file??? Thanks!___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] How to view current SUBs and their filters from PUB side?

2014-06-12 Thread 余志昌
Hi MfG, Do you mean use zmq_proxy() to monitor inbound messages of a XPUB socket? - Zhichang 2014-06-12 16:06 GMT+08:00 Goswin von Brederlow : > You can get infos through a monitoring socket and through a ZAP handler. > > MfG > Goswin > > On Thu, Jun 12, 2014 at 10:44:49AM +0800, ???

Re: [zeromq-dev] How to view current SUBs and their filters from PUB side?

2014-06-12 Thread Goswin von Brederlow
You can get infos through a monitoring socket and through a ZAP handler. MfG Goswin On Thu, Jun 12, 2014 at 10:44:49AM +0800, ? wrote: > I'm looking for debug and/or log information. Thanks for your suggestion! > - Zhichang > > > 2014-06-12 10:25 GMT+08:00 Michel Pelletier : >

Re: [zeromq-dev] on scalability of PUB/SUB and PUSH/PULL

2014-06-12 Thread Goswin von Brederlow
On Wed, Jun 11, 2014 at 02:05:13AM -0700, Jun Li wrote: > Hi, > > I am using PUB/SUB socket pattern to distribute commands from the > coordinator to the many worker processes, and I also have the PUSH/PULL to > have each worker process to push the processing results to the coordinator. > The coord

Re: [zeromq-dev] zeromq, rewritten in Rust

2014-06-12 Thread Fantix King
Hi Pieter, I've updated the README file according to the requests and recommendation in docs:organization, and also draw some diagrams for a simple design document here: https://github.com/decentfox/zmq.rs/wiki/Design Hopefully this could make the code clearer and easier to be co-worked on. Ple