Re: [zeromq-dev] Call for testing for libzmq 4.2.3

2017-12-01 Thread brunobodin .
Hi Luca, after more testing, everythings looks good to me with current HEAD Bruno On Thu, Nov 30, 2017 at 7:24 PM, Luca Boccassi wrote: > On Thu, 2017-11-30 at 19:12 +0100, Francesco wrote: > > Hi Luca, > > This is just to let you know that so far I've been testing libzmq > > master in > > a s

Re: [zeromq-dev] Call for testing for libzmq 4.2.3

2017-11-25 Thread brunobodin .
Hi Luca I am also testing my application with zmq 4.2.3, which is mostly windows appliciation. I still have some issues to investigate (for now I got caught by the edtimeout => eagain change on zmq_poll_wait), I will tell as soon as I know more. Bruno On Fri, Nov 24, 2017 at 4:49 PM, Luca Boccas

Re: [zeromq-dev] polling performances on windows

2017-11-15 Thread brunobodin .
lly the performances of my application. But perhaps > looking at your testing application, you are adding the zmq_poll() > operation on purpose, to test its impact so maybe what I wrote above does > not solve anything for you, not sure :) > > HTH, > Francesco > > > 2017-11-13

[zeromq-dev] polling performances on windows

2017-11-13 Thread brunobodin .
Hi all I ran a couple of test in order to evaluate the cost of polling (on windows). To do so, I added polling to the local_lat and local_thr tests. The code is here https://github.com/bbdb68/libzmq/tree/test_polling_cost and here is what I noticed : * since the fix about mempcy of FD_SET struc

Re: [zeromq-dev] zyre and gossip : infinite loop ?

2017-08-25 Thread brunobodin .
, 2017 at 4:59 PM, brunobodin . wrote: > Thanks Justin > > I understand that zyre cannot use beacon and gossip at the same time, but > I need to allow my users to choose the discovery mecanism at runtime (some > of them cannot use beacon), so I hoped both mecanism work equally well,

Re: [zeromq-dev] zyre and gossip : infinite loop ?

2017-08-24 Thread brunobodin .
24, 2017 at 4:29 PM, Justin Azoff wrote: > On Thu, Aug 24, 2017 at 8:52 AM, brunobodin . > wrote: > > Hi all, > > > > I am still trying to deploy zyre using both gossip and UDP, and in gossip > > mode only, sometimes (like 1/10 of runs, no reliable way to reproduce

[zeromq-dev] Fwd: zyre and gossip : infinite loop ?

2017-08-24 Thread brunobodin .
one for each node, and one "not ok" output where both nodes receive enter/exit event in a probably infinite loop... Bruno -- Forwarded message -- From: brunobodin . Date: Thu, Aug 24, 2017 at 2:52 PM Subject: zyre and gossip : infinite loop ? To: ZeroMQ development li

[zeromq-dev] zyre and gossip : infinite loop ?

2017-08-24 Thread brunobodin .
Hi all, I am still trying to deploy zyre using both gossip and UDP, and in gossip mode only, sometimes (like 1/10 of runs, no reliable way to reproduce yet), with only 2 nodes, I get a kind of intinite loop : both nodes keeps sending enter/exit events to the other (although there is only one call

Re: [zeromq-dev] zyre : gossip and evasive

2017-08-23 Thread brunobodin .
ff hand but i don’t think they are required(?) > may have to double check the protocol. i *think* LEAVE is required for when > you LEAVE a group, but EXIT may be something different. > > are you doing this using one of the bindings? or C itself? > > > On Aug 23, 2017, at 7:53 AM,

[zeromq-dev] zyre : gossip and evasive

2017-08-23 Thread brunobodin .
Hello, I am currently integrating zyre in my system, and I would like to be able to equally use udp and gossip discovery. I noticed that when I start two nodes using gossip discovery, I soon see evasive events, which do not occur when using UPD : is this "work as designed" ? It looks strange to m

Re: [zeromq-dev] czmq : mutiple init / shut down

2017-03-24 Thread brunobodin .
I found the issue and will prepare a PR Bruno On Fri, Mar 24, 2017 at 12:16 PM, brunobodin . wrote: > Hi > > I'd like to be able to perform mutiple czmq init / shutdown in a process. > This works without an issue in ZMQ (create/term context), but in CZMQ I > have the follow

[zeromq-dev] czmq : mutiple init / shut down

2017-03-24 Thread brunobodin .
Hi I'd like to be able to perform mutiple czmq init / shutdown in a process. This works without an issue in ZMQ (create/term context), but in CZMQ I have the following issues : (czmq is compiled as a windows dll) * first I had to slightly modify the shutdown funtion to reset the ctx pointer to n

Re: [zeromq-dev] Does ZMQ help for determining the IP-Address of available interfaces?

2017-03-23 Thread brunobodin .
Hello, these utility functions are available in the CZMQ layer (ziflist) Bruno On Thu, Mar 23, 2017 at 4:53 PM, Stephan Opfer wrote: > Hi, > > I would like to know the names and IPs of all available interfaces of my > machine. I am utilising Ubuntu 16.04 and asked myself, whether zmq could > m

Re: [zeromq-dev] migration 4.1.2 to 4.2.2

2017-03-13 Thread brunobodin .
So I am probably paying the cost of not having your PR. BB On Mon, Mar 13, 2017 at 11:19 AM, Doron Somech wrote: > Yes. > > Also, consider using the wait_all, which should yield better performance. > > On Mar 13, 2017 10:13 AM, "brunobodin ." wrote: > >> Hi

Re: [zeromq-dev] feeback on new poller API

2017-03-13 Thread brunobodin .
leave the wait as is. > > It is still draft but I think the change can upset too many people. > > > On Mar 13, 2017 11:41 AM, "brunobodin ." wrote: > >> Hi >> >> following discussion about migration from 4.1.2 to 4.2.2, I moved my code >> to the

[zeromq-dev] feeback on new poller API

2017-03-13 Thread brunobodin .
Hi following discussion about migration from 4.1.2 to 4.2.2, I moved my code to the new polling API. I have a question about zmq_poller_wait : when I call it with a timeout of 0, the outcome can be that no socket is ready (which is possible in my design), but in that case, zmq_poller_wait return

Re: [zeromq-dev] migration 4.1.2 to 4.2.2

2017-03-13 Thread brunobodin .
oller might >> slow you down a bit at the begining... >> >> On Mar 10, 2017 6:16 PM, "brunobodin ." wrote: >> >>> Thanks Doron for the explanation >>> >>> I replaced zmq_poll calls in my code, the new API is also easier to use >>>

Re: [zeromq-dev] migration 4.1.2 to 4.2.2

2017-03-10 Thread brunobodin .
se it >>> is being created on every call. This is why you have drop in performance, I >>> will fix that anyway. >>> >>> Polling on thread safe sockets works differently, this is why zmp poller >>> was created. previously zmp poll didnt support thread s

Re: [zeromq-dev] migration 4.1.2 to 4.2.2

2017-03-10 Thread brunobodin .
> On Mar 10, 2017 13:01, "brunobodin ." wrote: > >> Hi all >> >> digging deeper, the issue seems related to the connect/bind of signaler >> within the poll function. >> >> On Fri, Mar 10, 2017 at 8:46 AM, brunobodin . >> wrote: >&g

Re: [zeromq-dev] migration 4.1.2 to 4.2.2

2017-03-10 Thread brunobodin .
Hi all digging deeper, the issue seems related to the connect/bind of signaler within the poll function. On Fri, Mar 10, 2017 at 8:46 AM, brunobodin . wrote: > Luca, > > thanks for you anwser... apparently select is the only method available on > windows, and is the one used by

Re: [zeromq-dev] migration 4.1.2 to 4.2.2

2017-03-09 Thread brunobodin .
100, brunobodin . wrote: > > Hi all, > > > > I am in the process of migrating my application (windows, visual 2015) > from > > 4.1.2 to 4.2.2 > > > > The point is that with the new version, polling is now _very_ slow, > making > > my app quite unusable. >

[zeromq-dev] migration 4.1.2 to 4.2.2

2017-03-09 Thread brunobodin .
Hi all, I am in the process of migrating my application (windows, visual 2015) from 4.1.2 to 4.2.2 The point is that with the new version, polling is now _very_ slow, making my app quite unusable. Any hint or suggestion about what I could check ? The polling method is "select", optimization opti

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread brunobodin .
; >> Someone just need to lead the project, ZMTP.NET is good beginning, which >> I actually think will work on your case (can you use C# in your project?), >> but it is not a complete library yet and in need of a maintainer. >> >> On Thu, Feb 23, 2017 at 3:18 PM, brunob

Re: [zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread brunobodin .
for signaling) and binds it (at least on > windows). Zyre also requires bind, as you already figure out. > Bottom line I don't think you can use zyre or zeromq on UWP, or at least > until bind is supported on UWP. > > > On Thu, Feb 23, 2017 at 10:59 AM, brunobodin . > wrote: &

[zeromq-dev] zyre and upw/limited platform

2017-02-23 Thread brunobodin .
Hi, I would like to leverage zyre in my application, but some nodes of the application will have to run on uwp platform :-( (not my choice) >From my first tests I am able to build and run zmq, and czmq on uwp plaform, using slighly modified dll, see https://github.com/bbdb68/czmq/tree/uwp and ht

Re: [zeromq-dev] Behaviour change between 4.1.5 and 4.2.1?

2017-02-19 Thread brunobodin .
apper wrote: > There changes to czmq since the last release are so minimal that it does > not require a new release now IMO. > > @brunobodin: Is there a feature you like to use from czmq master? > > > On So, Feb 19, 2017 at 1:45 , Luca Boccassi > wrote: > >

Re: [zeromq-dev] Behaviour change between 4.1.5 and 4.2.1?

2017-02-18 Thread brunobodin .
Hi Luca Do you also plan to release a CZMQ version ? Regards Bruno On Sat, Feb 18, 2017 at 7:15 PM, Luca Boccassi wrote: > On Fri, 2017-02-17 at 13:26 +, Luca Boccassi wrote: > > On Fri, 2017-02-17 at 10:32 +, simon.giese...@btc-ag.com wrote: > > > Hi, > > > > > > is it possible to do

[zeromq-dev] ZMTP.NET

2017-01-19 Thread brunobodin .
Hello, I will soon have to make communication with UWP device... :-( My server is zmq based, and the client uses a REQ, a SUB and a PUB socket (all are connected, no bind). The SUB socket is for now the most important After some searching, I found ZMTP.NET project on github, and ad first glance

Re: [zeromq-dev] czmq and interruption handling on windows

2017-01-09 Thread brunobodin .
Thanks Luca, I will do that Regards Bruno On Mon, Jan 9, 2017 at 8:37 PM, Luca Boccassi wrote: > On Mon, 2017-01-09 at 20:14 +0100, brunobodin . wrote: > > Hello, > > > > I am successfully using ZeroMQ on windows from more than a year now. Now > I > > w

[zeromq-dev] czmq and interruption handling on windows

2017-01-09 Thread brunobodin .
Hello, I am successfully using ZeroMQ on windows from more than a year now. Now I would like to leverage CZMQ (in particular the beacon for discovery), but I find difficult to have a clean exit in my application (which is a console app) In particular, I noticed that in zsys.c, only CTRL_C_EVENT i