Re: [zeromq-dev] Is there a zmq debug tool?
Thanks for the tool.My zmq is version 3.2.0 Is it possible to use the tool?besides I have check my push server(located in linux 192.168.2.224) It shows my pull client(located in win7 192.168.9.58) connect to it.But when I use tcpdump to show whether or not the server push data.I found that no data was sended.I set up another linux pull client(located in linux 192.168.2.66) I can saw the server push data to the linux pull client.(when the push server send three times I got one send to linux pull client.PUBISH-PULL model works like that). Thanks, zhangkai From:Kevin SapperDate:2016-08-25 17:26 Subject:Re: [zeromq-dev] Is there a zmq debug tool? To:"ZeroMQ development list" Cc: Hi, you can use wireshark. There's a lua extension for wireshark that can handle zmtp messages https://github.com/whitequark/zmtp-wireshark. //Kevin 2016-08-25 9:02 GMT+00:00 zhangkai.gis : Hello all, I established a zmq push server(bind) in linux(192.168.2.225) and run a zmq pull client(connect) in Win7 64 bits(192.168.9.58). I can saw that.The windows client can connect to the server.But when server have message to push.The client did not receive msg?How can I debug with this?Is there some tools or method to debug with? Thanks, zhangkai ___ 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
Re: [zeromq-dev] nomenclature
I prefer the term Flow Graph https://en.wikipedia.org/wiki/Flow_graph_(mathematics) It might not mathematically accurate but my feeling is most distributed systems like you're describing can be modeled with a flow graph. In the example you provided your scaling points would be coefficients and bottlenecks can be found by flow analysis. Like the wikipedia page says: "The nomenclature is far from standardized, and...no standardization can be expected in the foreseeable future." Sounds about right. :) -Michel On Thu, Aug 25, 2016 at 12:36 PM, Andrew Humewrote: > 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 processes running on some number > of servers. > some are accessed thru RPC calls, others generate work that then processed > by > some number of worker components. > > in order for this to work, i clearly need to figure out how data > will flow > through this system. as i have understood the design methodology around > zeromq, > this means figuring out the fixed points in the data flow and organising > the > components around those fixed points. some of these allow for “scaling” > (as in increasing the size of a worker pool). > > so i don’t understand > 1) how can this sort of design be a “mistake”? how can you do anything > without > (trying to) understand where the data needs to go? > > 2) many protocols (which i guess you mean things defined by RFCs) don’t > scale; > they simply detail teh bi-lateral contract between (roughly) user and > supplier of a service > (like NTP). i know some address this directly (like the Gossip protocol), > but surely you don’t mean just those? > > andrew > > > > On Aug 24, 2016, at 11:06 AM, Pieter Hintjens wrote: > > > > FWIW I have come to believe that trying to design or even understand > > the overall flows of data is a mistake, at least when you want to > > scale. > > > > What does scale is to speak of protocols and implementations. I know > > this isn't a happy answer yet it's a proven one (RFCs, Internet). > > > > ___ > > 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 > ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev
Re: [zeromq-dev] nomenclature
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 processes running on some number of servers. some are accessed thru RPC calls, others generate work that then processed by some number of worker components. in order for this to work, i clearly need to figure out how data will flow through this system. as i have understood the design methodology around zeromq, this means figuring out the fixed points in the data flow and organising the components around those fixed points. some of these allow for “scaling” (as in increasing the size of a worker pool). so i don’t understand 1) how can this sort of design be a “mistake”? how can you do anything without (trying to) understand where the data needs to go? 2) many protocols (which i guess you mean things defined by RFCs) don’t scale; they simply detail teh bi-lateral contract between (roughly) user and supplier of a service (like NTP). i know some address this directly (like the Gossip protocol), but surely you don’t mean just those? andrew > On Aug 24, 2016, at 11:06 AM, Pieter Hintjenswrote: > > FWIW I have come to believe that trying to design or even understand > the overall flows of data is a mistake, at least when you want to > scale. > > What does scale is to speak of protocols and implementations. I know > this isn't a happy answer yet it's a proven one (RFCs, Internet). > > ___ > 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
Re: [zeromq-dev] Is there a zmq debug tool?
Hi, you can use wireshark. There's a lua extension for wireshark that can handle zmtp messages https://github.com/whitequark/zmtp-wireshark. //Kevin 2016-08-25 9:02 GMT+00:00 zhangkai.gis: > Hello all, > I established a zmq push server(bind) in linux(192.168.2.225) and run > a zmq pull client(connect) in Win7 64 bits(192.168.9.58). I can saw > that.The windows client can connect to the server.But when server have > message to push.The client did not receive msg?How can I debug with this?Is > there some tools or method to debug with? > > Thanks, > zhangkai > > ___ > 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