Re: [zeromq-dev] Modelling ZeroMQ formally

2022-03-07 Thread Andrew Hume
i would be interested in that. i worked with gerard for 20+ years and have done spin-based verification. let me know if that is of interest to you. > On Mar 7, 2022, at 10:10 AM, John Lång wrote: > > Hello, > > I've been developing tooling for the Spin model checker (see > https://spinroot.com

[zeromq-dev] goczmq error

2016-11-07 Thread Andrew Hume
i am getting a “send frame error” from SendMessage. is there anyway to get more information on what is going on? i tried sticking in a perror right after the C.zframe_send (in sock.go) but (apparently) errno had been set (or overwritten) to some unknown error. andrew

Re: [zeromq-dev] Single client multiple workers load balancing

2016-10-05 Thread Andrew Hume
joe, i couldn’t see all your code, but the simple answer is you have an overseer process(or task) which has a bunch of work to do, and waits for workers to ask for work. each worker does a REQ/REP to teh overseer asking for a (few?) pieces of work; the reply contains the work. w

Re: [zeromq-dev] nomenclature

2016-08-26 Thread Andrew Hume
> really boil it down to: What data should be where? And how should receivers > of that data respond to it? That is, write a protocol. > > Best, > alex. > > P.S. This is also why I came to love finite state machines: as they translate > your protocol-law perfectly int

Re: [zeromq-dev] nomenclature

2016-08-25 Thread Andrew Hume
pieter, i can’t figure out what you’re saying here. based on my several years experience with you, i have to conclude that i have somehow misspoken. i have a distributed application. that is, there are a number of discrete components that (for this discussion) are distinct proce

Re: [zeromq-dev] nomenclature

2016-08-24 Thread Andrew Hume
mc-modeling.org <http://www.fmc-modeling.org/> > Sounds like you might benefit from a "system map": > http://www.fmc-modeling.org/fmcbook <http://www.fmc-modeling.org/fmcbook> > On Wed, 24 Aug 2016 at 11:31 Andrew Hume <mailto:and...@humeweb.com>> wrote: > in discuss

[zeromq-dev] nomenclature

2016-08-24 Thread Andrew Hume
in discussions within my group, we often refer to the complete data flows between the various parts of a distributed application as a “communication web”. this includes a bunch of different stuff, including (but not limited to) normal zeromq links, pub-sub connections, broker-mediated links, job

Re: [zeromq-dev] [RFC] systemd socket activation for libzmq

2016-05-30 Thread Andrew Hume
michal, typically, this kind of interchange indicates a weakness in the documentation. (otherwise, you would have seen the feature was already there.) could you suggest a documentation change that would help others in your position? > On May 30, 2016, at 12:57 PM, Michal Vyskocil > wr

[zeromq-dev] zsock_attach

2015-11-19 Thread Andrew Hume
when you use zsock_attach such that it binds, and you supply a port of 0, the code seems to throw away the port number. is there a way to recover it? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-

[zeromq-dev] go wrapper for gossip

2015-11-17 Thread Andrew Hume
i was just about to code something up using the Gossip class but found what appears to be a missing method. you can Publish a (key, value) tuple but i don’t see the corresponding Recv method (from zgossip(3)). so how do you get at what was Publish’ed? andrew

Re: [zeromq-dev] zsock_new_

2015-06-08 Thread Andrew Hume
installed with go get - no issues with that either. > > Pieter - yeah - not having any issues against czmq 3.0.1, 3.0.2, or head from > git, it's working. Thanks for the info! > > Brian > > On Mon, Jun 8, 2015 at 4:57 PM, Andrew Hume <mailto:and...@humeweb.com>

Re: [zeromq-dev] zsock_new_

2015-06-08 Thread Andrew Hume
ll clean up my environment and > reinstall from scratch after work today to double check and let you know. > > Brian > > On Mon, Jun 8, 2015 at 3:00 PM, Andrew Hume <mailto:and...@humeweb.com>> wrote: > gack. i am having trouble with the tastes goczmq. > it com

[zeromq-dev] zsock_new_

2015-06-08 Thread Andrew Hume
gack. i am having trouble with the tastes goczmq. it complains about an unsatisfied external zsock_new_ and zsock_destroy_ is this related to the latest czmq changes? it fails with czm1 3.0.1 and 3.0.2 ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.

Re: [zeromq-dev] Req/Rep Timeout?

2015-05-06 Thread Andrew Hume
this is part of what makes zeromq great (not having to have the receiver be there before the sender sends). the connect is inherently asynchronous, and therefore hanging is the correct thing to do. if you’d like suggestions on how to do this another way, you’d need to give us more context. > On M

Re: [zeromq-dev] Controlling initial connection retry/timeout

2015-04-08 Thread Andrew Hume
loser reading indicates this applies to all attempts to connect > including the first one, and "reconnect" means an attempt to connect > rather than recovery after a broken connection. > > The man page and option names could be better worded. > > -Pieter > > On Th

Re: [zeromq-dev] Controlling initial connection retry/timeout

2015-04-08 Thread Andrew Hume
with all due respect, this answer seems self-contradictory. the first connection is not a reconnect, so it is special in that sense. but i take from your answer ZMQ_RECONNECT_IVL does not apply to the first connection. is that correct? > On Apr 8, 2015, at 10:02 PM, Pieter Hintjens wrote: > > "

Re: [zeromq-dev] Canonical language for the Guide

2015-04-07 Thread Andrew Hume
some (okay 15) years ago, we did a related thing with implementing some distributed algorithms. we coded in a DSL (m4 macros, actually) and could compile the “code” into either C or Promela. Promela is (was) the language for the Spin protocol verifier; so as part of the build process, we were able

Re: [zeromq-dev] Canonical language for the Guide

2015-04-07 Thread Andrew Hume
the problem is that a “high level modeling language” will likely be as hard to understand as C (roughly) but have the deficit of not be executable directly. i think go is a plausible alternative, as it is enough like C to be comprehensible to most folks, but has much less fuss (especially with res

Re: [zeromq-dev] zyre

2015-03-19 Thread Andrew Hume
s in CZMQ, and exposed in the Zyre API. > > I didn't write an article to explain this class yet. Sorry. It does > federated key/value exchange, and Zyre can use that to exchange > endpoint information for nodes. > > On Fri, Mar 20, 2015 at 12:59 AM, Andrew Hume wrote:

Re: [zeromq-dev] zyre

2015-03-19 Thread Andrew Hume
; I guess you can have few nodes that are connected to both subnets forward the > broadcast packets between them. > However, for the rest of the communication, there should be routes between > nodes on the 2 subnets. > > On Mar 19, 2015 7:41 PM, "Andrew Hume" <mailto

Re: [zeromq-dev] zyre

2015-03-19 Thread Andrew Hume
y so they won't be able >> to cross subnets. >> >> You will have to change the broadcast domain like you mentioned. >> >> On Thu, Mar 19, 2015 at 11:08 PM, Andrew Hume wrote: >>> >>> we’re trying to run tyre (actually, the gyre implementation

[zeromq-dev] zyre

2015-03-19 Thread Andrew Hume
we’re trying to run tyre (actually, the gyre implementation) across different subnets (that is, one node is in 10.20.59.xx and the other in 10.120.45.xx). they don’t see each other. what would be the best way to have them see each other? we could change the broadcast domain to 255.255.0.0 but th

Re: [zeromq-dev] zyre

2015-01-19 Thread Andrew Hume
ahh, firewalld rears its ugly head. after allowing ports 5660, 5670 (and for testing), it works just fine! excellent progress. > On Jan 19, 2015, at 5:00 AM, Andrew Hume wrote: > > that looks promising. > i downloaded it and the chat example doesn’t work > (of course, i

Re: [zeromq-dev] zyre

2015-01-19 Thread Andrew Hume
imatix.com>> wrote: > There are no Go bindings yet, afaik. > > On Mon, Jan 19, 2015 at 12:30 AM, Andrew Hume <mailto:and...@humeweb.com>> wrote: > > are there any Go bindings for the API? > > > >> On Jan 18, 2015, at 10:14 AM, Pieter Hintjens >>

Re: [zeromq-dev] zyre

2015-01-18 Thread Andrew Hume
are there any Go bindings for the API? > On Jan 18, 2015, at 10:14 AM, Pieter Hintjens wrote: > > Zyre has come along nicely, it works well and has a clean API. > > On Sun, Jan 18, 2015 at 4:37 PM, Andrew Hume wrote: >> pieter, >> >>what is the st

[zeromq-dev] zyre

2015-01-18 Thread Andrew Hume
pieter, what is the status of zyre? including near term plans and so forth? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] gozmq beacon

2015-01-18 Thread Andrew Hume
nction names, thanks for catching > that. Awhile back, we removed the "Z" prefixes from everything as they > weren't necessary in a language that has package namespaces. > > Brian > > > On Sun, Jan 18, 2015 at 12:17 AM, Andrew Hume <mailto:and...@hum

[zeromq-dev] gozmq beacon

2015-01-17 Thread Andrew Hume
brian, i copied the zbeacon example from the github site and ran it. (i had to change NewZbeacon to NewBeacon.) it doesn’t work, in that listener.Recv is always returning an empty string regardless of what is published. so either i don’t understand what is supposed to happen, or there is

Re: [zeromq-dev] zbeacon

2015-01-17 Thread Andrew Hume
ion that wraps the czmq API, with a simple unit test, and that's > about it at the moment. > > Brian > > On Sat, Jan 17, 2015 at 9:06 PM, Andrew Hume <mailto:and...@humeweb.com>> wrote: > is there reference prose describing the beacons and how they work? >

[zeromq-dev] zbeacon

2015-01-17 Thread Andrew Hume
is there reference prose describing the beacons and how they work? ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] troubles starting to use go czmq

2015-01-17 Thread Andrew Hume
brian, i am using czmq-3.0.0-rc1 and zeromq-4.1.0.-rc1 the result of a make build is > find . -name \*.go -type f -exec gofmt -w {} \; > go get -t -v ./... > go test -v . > === RUN TestAuthIPAllow > I: 15-01-17 17:20:09 zauth: API command=ALLOW > I: 15-01-17 17:20:09 zauth: - whitelisting

Re: [zeromq-dev] what is the purpose of the Go binding for czmq?

2015-01-17 Thread Andrew Hume
brian, peter for what its worth, i have changed jobs and am now full-time developing Go code using zeromq. in my last batch of zeromq code, i had switched from “plain” zeromq to using czmq, and found that process quite satisfying. using the improved (to my mind) API, and the various class

Re: [zeromq-dev] what is the purpose of the Go binding for czmq?

2015-01-17 Thread Andrew Hume
czmq offers a number of useful classes, such as beacons. it is not so much that go is a more modern language than c, its rather that the abstractions offered in czmq are easier and more productive to work with. > On Jan 17, 2015, at 7:35 AM, Peter Kleiweg wrote: > > > I thought the main purpose

Re: [zeromq-dev] troubles starting to use go czmq

2015-01-17 Thread Andrew Hume
uld be the pkg.config file, setting the PKG_CONFIG > environment variable to include wherever zmq.pc is. > > Quinlan > > >> On 17 Jan 2015, at 15:03, Andrew Hume > <mailto:and...@humeweb.com>> wrote: >> >> i am gearing up to use czmq with

[zeromq-dev] troubles starting to use go czmq

2015-01-17 Thread Andrew Hume
i am gearing up to use czmq with the go binding. i have successfully installed zeromq and czmq, but when i do go get github.com/zeromq/goczmq it fails with “No package ‘libczmq’ found”. this is also the first time i am using github, so it may be related

Re: [zeromq-dev] 0MQ keepalive

2014-11-01 Thread Andrew Hume
ailman/listinfo/zeromq-dev > > > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > ___ > zeromq-dev m

[zeromq-dev] upgrading czmq from 2.0.3 to 3.0.0

2014-10-16 Thread Andrew Hume
!). --- Andrew Hume 949-707-1964 (VO) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] hint?

2014-10-15 Thread Andrew Hume
o what commonly breaks? i recall a conversation about linger defaults changing, but anything else? --- Andrew Hume 949-707-1964 (VO) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zero

Re: [zeromq-dev] czmq

2014-10-15 Thread Andrew Hume
thanks muchly! On Oct 15, 2014, at 12:09 AM, Pieter Hintjens wrote: > OK, I've pushed a CZMQ 3.0.0 release to > http://czmq.zeromq.org/page:get-the-software > > On Wed, Oct 15, 2014 at 2:11 AM, Andrew Hume wrote: >> ok, i will do so. >> can you make a 3.0.0 czmq

Re: [zeromq-dev] czmq

2014-10-14 Thread Andrew Hume
ok, i will do so. can you make a 3.0.0 czmq package and put it somewhere on the website, please? On Oct 14, 2014, at 2:31 PM, Pieter Hintjens wrote: > On Tue, Oct 14, 2014 at 6:54 PM, Andrew Hume wrote: > >> (its a pain to switch versions; it was the >> change in zstr_send

Re: [zeromq-dev] czmq

2014-10-14 Thread Andrew Hume
pped working, I'll help you fix > it. Mostly we tried to keep APIs always backwards compatible, > sometimes that has failed. > > You can also use git bisect to determine precisely which commit broke > your code, if you wish. > > > > On Tue, Oct 14, 2014 at 4:34 PM, An

[zeromq-dev] czmq

2014-10-14 Thread Andrew Hume
is there a changelog or somesuch for czmq? (i was surprised to see my application stopped working when i moved from 2.0.3 to 2.2.0). --- Andrew Hume 949-707-1964 (VO) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev

Re: [zeromq-dev] Explicit control over socket buffers?

2014-06-10 Thread Andrew Hume
___ >> zeromq-dev mailing list >> zeromq-dev@lists.zeromq.org >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/lis

Re: [zeromq-dev] Message initialisation

2014-05-01 Thread Andrew Hume
een called. if zmq_msg_send failed, then m’s contents and state are unchanged.” --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] lacks

2014-04-24 Thread Andrew Hume
same for all types (PUSH/PULL etc)? On Apr 24, 2014, at 3:05 PM, Pieter Hintjens wrote: > SUB sockets reattach automatically, so that'll work. > > On Thu, Apr 24, 2014 at 11:44 PM, Andrew Hume wrote: >> thanks. >> so this is familiar terrain. but the first sticki

Re: [zeromq-dev] lacks

2014-04-24 Thread Andrew Hume
, Pieter Hintjens wrote: > On Thu, Apr 24, 2014 at 10:46 PM, Andrew Hume wrote: > >> can you expand on this a little (or a lot)? >> One thing we lack in ZeroMQ generally is resilience, supervisor trees and >> such. > > OK, off-the-cuff expansion: > > It seems a

[zeromq-dev] lacks

2014-04-24 Thread Andrew Hume
ling list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com ___ zeromq-dev mailing list zeromq-d

Re: [zeromq-dev] zmq_ctx_term hang

2014-04-01 Thread Andrew Hume
t;> Thanks, >> >> Michi. >> ___ >> zeromq-dev mailing list >> zeromq-dev@lists.zeromq.org >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > ___ >

Re: [zeromq-dev] ZeroMQ pattern queueing messages

2014-01-29 Thread Andrew Hume
t; way to do this with ZeroMQ? Or should I handle this queueing behavior outside > of ZeroMQ? > > I'd appreciate all pointers and/or hints! > > Cheers > Emil > _______ > zeromq-dev mailing list > zeromq-dev@lists

Re: [zeromq-dev] Peer ip address ?

2014-01-15 Thread Andrew Hume
type, which is > tcp://ip:port in the case of TCP. The harder part is how to identify which > peer you're interested in. It's obvious enough for a ROUTER, but the others > are less clear. The query might need to be available per-message. > > On Wed, Jan 15, 2014 at 1:31

Re: [zeromq-dev] Peer ip address ?

2014-01-15 Thread Andrew Hume
zeromq connection came in on might well be not the official (or well-known) IP address. On Jan 15, 2014, at 10:11 AM, Trevor Bernard wrote: > Simple solution is have the downstream service identify itself in the > handshake with it's IP address > > On Wed, Jan 15, 2014 at 2:0

Re: [zeromq-dev] Hanging on client "receive" when a responder goes down in extended request-reply pattern (code in C#)

2014-01-15 Thread Andrew Hume
___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Peer ip address ?

2014-01-15 Thread Andrew Hume
ling list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Heartbeating using TCP keepalives

2014-01-03 Thread Andrew Hume
__ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com ___ zeromq-dev mailin

Re: [zeromq-dev] Can we customize a behaviour for in-mem queued messages after reconnect?

2013-12-22 Thread Andrew Hume
ync). > > There's nothing TCP, nor ZeroMQ can do to solve unreliability in > calling applications. > > -Pieter > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.z

Re: [zeromq-dev] Another attempt to proxying CURVE

2013-12-20 Thread Andrew Hume
g. >>> >>> All this is in my repository here : >>> https://github.com/lalebarde/libzmq/commits/master >>> File to consider is: test_curve_proxying.cpp >>> >>> Any help is welcome. Thanks. >>> >>> Laurent >>> >>

Re: [zeromq-dev] Kivix: Beacon like service discovery

2013-12-19 Thread Andrew Hume
ven >>>> at http://gabert.github.io/index.html?art=exno5_6 >>>> >>>> Many Thanks >>>> Robert >>>> >>>> ___ >>>> zeromq-dev mailing list >>>> zeromq-dev@list

Re: [zeromq-dev] best practice

2013-12-11 Thread Andrew Hume
returns. thanks again for the insight! (it reminds me of the Unix pipe story.) andrew On Dec 11, 2013, at 4:33 PM, Bruno D. Rodrigues wrote: > > On Dec 11, 2013, at 14:43, Pieter Hintjens wrote: > >> On Wed, Dec 11, 2013 at 1:40 PM, Andrew Hume wrote: >> >

[zeromq-dev] best practice

2013-12-11 Thread Andrew Hume
, but when i get a hit on that socket, i read up to 100 messages before going back to polling. is there a better way to do this? --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com ___ zeromq-dev

Re: [zeromq-dev] Pub-Sub written in same file ..!!

2013-12-10 Thread Andrew Hume
untNumber, > ss_oms_call.ORDERTYPE, ss_oms_call.Symbol, > ss_oms_call.Volume, ss_oms_call.Price, ss_oms_call.Buy_Sell); > > pubs.send(message); > } > return 0; > } > > > and driver file (test2.cpp) - > > --- > #include > > #include "test1.hpp" > > int main () { > > Test tst; > tst.SSOMSSub (); > tst.SSOMSPub (); > > return 0; > } > -- > > It's execution hangs as - > $ ./test2 > Collecting updates from Strategy Server. > > -- > > Any clue. > > Thanks!! > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] reusing a mount point

2013-11-28 Thread Andrew Hume
t recall seeing the problem on Linux, only on AIX and Windows, > which is why I wonder what OS you're using. > > It would be nice to add the heartbeating into ZMTP and libzmq if we > had budget to do that (and if this is in fact the problem). > > -Pieter > > On Thu, Nov 28

[zeromq-dev] reusing a mount point

2013-11-28 Thread Andrew Hume
channel on 46502. after (hours, days), we finally observe the stats_server is not up and we start it. it now fails because port 46502 “is in use”. this seems to be a bug to me. --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com

Re: [zeromq-dev] a general debugging issue in IPC communications.

2013-11-08 Thread Andrew Hume
@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (

Re: [zeromq-dev] TIPC clustering protocol support in libzmq

2013-11-04 Thread Andrew Hume
> zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 949-707-1964 (VO and best) 732-420-0907 (NJ) and...@research.att.com _

Re: [zeromq-dev] brain foggy -- need help

2013-10-30 Thread Andrew Hume
ok, i got that to work, albeit in an ad hoc way. is there some systematic way to breakdown the frame structure, or do i simply duplicate what is there but change the last part (the content)? On Oct 30, 2013, at 7:30 AM, Pieter Hintjens wrote: > On Wed, Oct 30, 2013 at 3:13 PM, Andrew Hume wr

Re: [zeromq-dev] brain foggy -- need help

2013-10-30 Thread Andrew Hume
t 30, 2013 at 1:34 AM, Andrew Hume wrote: > >> i have a central server fed by a client. >> the client needs to push a large amount of data to teh server but only exit >> when the server is done processing it. >> both client and server are running on the same linux bo

Re: [zeromq-dev] brain foggy -- need help

2013-10-29 Thread Andrew Hume
does this imply the client should open the reply socket first and send its name in the inline flag message? (it seems so to me but i'm not quite 100%) On Oct 29, 2013, at 6:00 PM, Steven McCoy wrote: > On 29 October 2013 20:34, Andrew Hume wrote: > the race condition is, of course

[zeromq-dev] brain foggy -- need help

2013-10-29 Thread Andrew Hume
a msg on the data socket, it repolls). the race condition is, of course, that even when sending significant amounts (MB) of data, the sync message is received and returned before any data socket msgs are processed. how would you recommend i fix this? --- Andrew Hume 949-707

Re: [zeromq-dev] Cannot find libzqm.so file

2013-10-27 Thread Andrew Hume
list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > Email secured by Check Point > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mail

Re: [zeromq-dev] purify

2013-06-18 Thread Andrew Hume
rrect? If you want help integrating commercial software with > zeromq you will probably need a paid consultant (I hope that's the word I > use). And the problem seems more in the realm of Purify consultants to me. > Maybe you'll get lucky though. > > On Jun 19, 2013 1:29

Re: [zeromq-dev] purify

2013-06-18 Thread Andrew Hume
purify is basically a memory analysis program that works by code insertion. On Jun 18, 2013, at 7:39 AM, shancat wrote: > Sorry for my ignorance but what is purify? > > On Jun 19, 2013 12:24 AM, "Andrew Hume" wrote: > purify doesn't seem to work with teh zmq libra

[zeromq-dev] purify

2013-06-18 Thread Andrew Hume
purify doesn't seem to work with teh zmq library. is this a known issue? --- Andrew Hume 623-551-2845 (VO and best) 973-236-2014 (NJ) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] inproc sockets

2013-05-20 Thread Andrew Hume
l the connects depend only on the binds. but if any of this depends on other connections, then its really bad. (but maybe it always is.) On May 20, 2013, at 3:16 PM, Pieter Hintjens wrote: > On Mon, May 20, 2013 at 5:29 PM, Andrew Hume wrote: > >> what is the preferred mechanism f

[zeromq-dev] inproc sockets

2013-05-20 Thread Andrew Hume
threads but it is awkward to arrange the bind first. --- Andrew Hume 623-551-2845 (VO and best) 973-236-2014 (NJ) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman

[zeromq-dev] ZMQ_PAIR sockets

2013-05-18 Thread Andrew Hume
i thought i understood ZMQ_PAIR sockets, but apparently not. the man page mentions that they are experimental, but otherwise doesn't really say how they work. what are the semantics? --- Andrew Hume 623-551-2845 (VO and best) 973-236-2014 (NJ) and...@research.at

Re: [zeromq-dev] Do Sockets free memory after..

2013-05-16 Thread Andrew Hume
__ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 623-551-2845 (VO and best) 973-236-2014 (NJ) and...@research.att.com __

Re: [zeromq-dev] recvmsg deprecated

2013-05-15 Thread Andrew Hume
ack. i was confused by the fraternal twins zmq_recvmsg and zmq_msg_recv. i remember the discussion, but not that renaming issue until now. thanks On May 15, 2013, at 7:52 AM, Pieter Hintjens wrote: > On Wed, May 15, 2013 at 4:35 PM, Andrew Hume wrote: > >> how do people

Re: [zeromq-dev] recvmsg deprecated

2013-05-15 Thread Andrew Hume
s and its size if there is one. still, it seems easier just to use msg_t's. how do people use zmq_recv now? do they assume a packet size limit? and how can they tell if they lost data? On May 15, 2013, at 6:08 AM, Pieter Hintjens wrote: > On Wed, May 15, 2013 at 11:26 AM, Andre

[zeromq-dev] recvmsg deprecated

2013-05-15 Thread Andrew Hume
boy, i haven't been paying attention! what is teh strength of zmq_recvmsg being "deprecated"? should i worry that in fact it is going away? or is it just a poor choice of words? ------- Andrew Hume 623-551-2845 (VO and best) 973-236-2014 (NJ) and...@r

Re: [zeromq-dev] message pattern question

2013-04-27 Thread Andrew Hume
responses from all > clients. > > Is there a better way to think or address these issues, or REQ/REP is THE way > for it? > > Thanks > > Feiyi > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http:

Re: [zeromq-dev] locale communication with REQ-REP Pattern

2012-12-05 Thread Andrew Hume
gt; Martin > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 623-551-2845 (VO and best) 973-236-2014 (NJ) and...@research.att.com _

Re: [zeromq-dev] general strategy for sending data over epgm

2012-12-03 Thread Andrew Hume
epgm on zmq 3.2.2 / pyzmq (trunk). > > Thanks! > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 623-

Re: [zeromq-dev] Question about router-dealer sockets

2012-11-30 Thread Andrew Hume
___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 623-551-2845 (VO and best) 973-236-2014 (NJ) and...@research.att.com _

Re: [zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-17 Thread Andrew Hume
On Nov 16, 2012, at 10:24 AM, Pieter Hintjens wrote: > On Fri, Nov 16, 2012 at 9:25 PM, Andrew Hume wrote: > >> until yesterday, i had never seen a problem with this. >> but yesterday, we had one site have an internet connection failure. >> which caused something weird

Re: [zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-16 Thread Andrew Hume
__ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 623-551-2845 (VO and best) 973-236-2014 (NJ) and...@research.att.com ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Distributed Q with **lots** of consumers

2012-11-14 Thread Andrew Hume
> > Need a pattern that would allow us to scale to 100s of workers. > > MANY THANKS! > > Sean Donovan > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > _

Re: [zeromq-dev] Distributed Q with **lots** of consumers

2012-11-14 Thread Andrew Hume
Depending on the > trade type/configuration, there are many complex pricing-models involved. > Optimizing a given pricing-model is a project (well, challenge) in it's own > right. > > Many thanks, > > Sean > > From: Andrew Hume > To: Sean Donovan ; ZeroMQ

Re: [zeromq-dev] Distributed Q with **lots** of consumers

2012-11-12 Thread Andrew Hume
d a pattern that would allow us to scale to 100s of workers. > > MANY THANKS! > > Sean Donovan > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev -

Re: [zeromq-dev] threads versus cores

2012-11-10 Thread Andrew Hume
s.zeromq.org >> http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev --- Andrew Hume 623-55

Re: [zeromq-dev] exception from recv()

2012-09-27 Thread Andrew Hume
ng SIGINT/^C to my >> app, there is something else going on. Is receiving EINTR during a >> zmq_recv() for anything other than a SIGINT/^C something that others are >> familiar with? > > Do vaguely recall Andrew Hume having an issue of a similar nature - > might be worth s

Re: [zeromq-dev] is this allowed?

2012-09-20 Thread Andrew Hume
thanks On Sep 20, 2012, at 2:46 AM, Pieter Hintjens wrote: > On Wed, Sep 19, 2012 at 3:15 PM, Andrew Hume wrote: > >> i have a situation where i sometimes store messages for a while before >> sending on. > > That's fine. You can store a zmq_msg_t object for as

Re: [zeromq-dev] is this allowed?

2012-09-20 Thread Andrew Hume
exan...@thequery.net > > > > On Wed, Sep 19, 2012 at 9:15 AM, Andrew Hume wrote: > i have a situation where i sometimes store messages for a while before > sending on. > is this code safe (in terms of message handling)? > > zmq_msg_t msg, buf[20

Re: [zeromq-dev] Odd numbers with zeromq

2012-09-19 Thread Andrew Hume
.@lists.zeromq.org] On Behalf Of Andrew Hume > Sent: Tuesday, September 18, 2012 10:03 PM > To: ZeroMQ development list > Subject: Re: [zeromq-dev] Odd numbers with zeromq > > excessive? > you are going from a scheme where packets go out in bulk asynchronously, > to a scheme

[zeromq-dev] is this allowed?

2012-09-19 Thread Andrew Hume
gging that, i wanted to ensure that this is even possible. thanks ------ Andrew Hume (best -> Telework) +1 623-551-2845 and...@research.att.com (Work) +1 973-236-2014 AT&T Labs - Research; member of USENIX and LOPSA ___ zero

Re: [zeromq-dev] Odd numbers with zeromq

2012-09-18 Thread Andrew Hume
case you want to reuse message. >> >> -- >> Paul >> _______ >> zeromq-dev mailing list >> zeromq-dev@lists.zeromq.org >> http://lists.zeromq.org/mailman/listinfo/zerom

Re: [zeromq-dev] Odd numbers with zeromq

2012-09-18 Thread Andrew Hume
; > _______ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/mailman/listinfo/zeromq-dev -- Andrew Hume (best -> Telework) +1 623-551-2845 and...@research.att.com (Work) +1 973-236-2014 AT&T Labs - Research; member of USENIX and LOPSA ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] HWM in multi-speed connection scenarios

2012-09-02 Thread Andrew Hume
t > processing) speed? > > > > Already read this document: http://zguide.zeromq.org/lua:chapter5 > > > Thanks! > > > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > http://lists.zeromq.org/ma

Re: [zeromq-dev] Server/Client: Like a duplex connection

2012-08-24 Thread Andrew Hume
uot;REQ and REP". > And how should I manage the two threads on both sides? > > If you have any code for me C#, C++, C is fine. > > Thanks, > Ricardo > ___ > zeromq-dev mailing list > zeromq-dev@lists.zeromq.org > ht

Re: [zeromq-dev] R: Re: Debugging ZMQ in Unix

2012-08-24 Thread Andrew Hume
in my case I'm not sending messages on the net, rather using ZMQ as a > means for local node synchronization. > > Regards > Claudio > -- Andrew Hume (best -> Telework) +1 623-551-2845 and...@research.att.com (Work) +1 973-236-2014

Re: [zeromq-dev] Debugging ZMQ in Unix

2012-08-24 Thread Andrew Hume
ation? > I know gdb and valgrind, but they don't do what I mean. > I intend a kind of real-time profiler and possibly a kind of wireshark (if > anyone's familiar with that). > > Does anyone know of any such application? > I use Ubuntu if that is of interest. > >

  1   2   3   >