I just realized what the problem was. All my workers were using the same socket ID and that's why I could only send one message at a time to an external service.
On Wed, Jun 10, 2015 at 1:00 PM, <[email protected]> wrote: > Send zeromq-dev mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of zeromq-dev digest..." > > > Today's Topics: > > 1. Building czmq-3.0.2 (hhusp House) > 2. Re: Building czmq-3.0.2 (Pieter Hintjens) > 3. Re: Problem with not receiving message on one side of the > pipeline. (Igor Lopez) > 4. Re: Problem with not receiving message on one side of the > pipeline. (Pieter Hintjens) > 5. Async Server (George Gitau) > 6. Re: Problem with not receiving message on one side of the > pipeline. (Igor Lopez) > 7. Request to add me in group (Rakesh Pathak) > 8. Re: Zmq Unknown error (110) from router socket (Antti Karanta) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 9 Jun 2015 12:28:45 +0200 > From: hhusp House <[email protected]> > Subject: [zeromq-dev] Building czmq-3.0.2 > To: "[email protected]" <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > I've got the latest software from > http://czmq.zeromq.org/page:get-the-software czmq-3.0.2.zip for > Windows(The current stable release is v3.0.2, from 2015/06/08) however the > project files for msvc are not included.When I look at zip file > zmq-2.2.0.zip for Windows they are located in the build directoy/ > regardsRob > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150609/5c855e43/attachment.html > > ------------------------------ > > Message: 2 > Date: Tue, 9 Jun 2015 14:35:03 +0200 > From: Pieter Hintjens <[email protected]> > Subject: Re: [zeromq-dev] Building czmq-3.0.2 > To: ZeroMQ development list <[email protected]> > Message-ID: > <CADL5_sj11pf+yofQrxna2= > [email protected]> > Content-Type: text/plain; charset=UTF-8 > > Right, all the files in build/ are missing from the tarballs. Thanks > for catching this. We moved to a new tool for the packaging (zproject) > and it has some things still not finished. > > I'm going to switch to this location for release: > https://github.com/zeromq/czmq/releases > > On Tue, Jun 9, 2015 at 12:28 PM, hhusp House <[email protected]> wrote: > > Hi, > > > > I've got the latest software from > > http://czmq.zeromq.org/page:get-the-software czmq-3.0.2.zip for Windows > > (The current stable release is v3.0.2, from 2015/06/08) however the > project > > files for msvc are not included. > > When I look at zip file zmq-2.2.0.zip for Windows they are located in the > > build directoy/ > > > > regards > > Rob > > > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > ------------------------------ > > Message: 3 > Date: Tue, 9 Jun 2015 19:19:06 +0200 > From: Igor Lopez <[email protected]> > Subject: Re: [zeromq-dev] Problem with not receiving message on one > side of the pipeline. > To: [email protected] > Message-ID: > < > caesootw8hztcw_qsgmlfvbimywpb7tjzrxbytkxw25w5-dk...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > 2015-06-01 19:49 GMT+02:00 Igor Lopez <[email protected]>: > > > Hi this is my first post to the list so bear with me if I am not > following > > the standard way of posting. > > > > I have written a small application in Python (v 3.4) using the latest > > zeromq found in Ubuntu 14.04 (sudo python3.4 pip install pyzmq). With > > latest I mean that I configured my PC with zeromq and the python bindings > > approximately 3 weeks ago. > > The app consist of one server and one GUI where the server will > constantly > > handle an external piece of hardware while simultaneously respond to > > requests from the GUI. > > The requests sent from the GUI gets through to the server but the > response > > from the server is not picked up by the GUI. > > > > Since I visit Stackoverflow a lot I posted there first but then decided > to > > test this list. > > > > If you want to have a look, see the following link: > > > > > http://stackoverflow.com/questions/30546054/python-gui-not-capturing-zeromq-message > > > > /Igor > > > > > > > If anybody is interested, the solution is to use REQ/REP sockets instead of > PUSH/PULL. > > /Igor > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150609/d08a7bc7/attachment-0001.htm > > ------------------------------ > > Message: 4 > Date: Tue, 9 Jun 2015 21:07:20 +0200 > From: Pieter Hintjens <[email protected]> > Subject: Re: [zeromq-dev] Problem with not receiving message on one > side of the pipeline. > To: ZeroMQ development list <[email protected]> > Message-ID: > < > cadl5_sih1veong9uoe4r+cyivgwc2uvsliwds0zbqaizxqw...@mail.gmail.com> > Content-Type: text/plain; charset=UTF-8 > > I'd suggest you use DEALER-DEALER in that case. Note however that > it'll only work when you have one server and one GUI. > > On Tue, Jun 9, 2015 at 7:19 PM, Igor Lopez <[email protected]> > wrote: > > 2015-06-01 19:49 GMT+02:00 Igor Lopez <[email protected]>: > >> > >> Hi this is my first post to the list so bear with me if I am not > following > >> the standard way of posting. > >> > >> I have written a small application in Python (v 3.4) using the latest > >> zeromq found in Ubuntu 14.04 (sudo python3.4 pip install pyzmq). With > latest > >> I mean that I configured my PC with zeromq and the python bindings > >> approximately 3 weeks ago. > >> The app consist of one server and one GUI where the server will > constantly > >> handle an external piece of hardware while simultaneously respond to > >> requests from the GUI. > >> The requests sent from the GUI gets through to the server but the > response > >> from the server is not picked up by the GUI. > >> > >> Since I visit Stackoverflow a lot I posted there first but then decided > to > >> test this list. > >> > >> If you want to have a look, see the following link: > >> > >> > http://stackoverflow.com/questions/30546054/python-gui-not-capturing-zeromq-message > >> > >> /Igor > >> > >> > > > > If anybody is interested, the solution is to use REQ/REP sockets instead > of > > PUSH/PULL. > > > > /Igor > > > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > ------------------------------ > > Message: 5 > Date: Tue, 9 Jun 2015 23:16:34 +0300 > From: George Gitau <[email protected]> > Subject: [zeromq-dev] Async Server > To: [email protected] > Message-ID: > < > cabugdziabj9b3kg4_vz4uofj3vk+hh18sgs2weld9+1nds3...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi, > I have implemented a service that utilizes the async server example in the > ZeroMQ book. I am using zmq_proxy with a ROUTER front end and DEALER back > end. I have a bunch of workers connected to this DEALER backend via DEALER > sockets. The core loop in each worker utilises a poller to which i add the > DEALER socket that receives messages fowarded from proxy. That's the basic > architecture of my service. > > Another thing to note is that the part with the zmq_proxy call is in its > own thread.(what I call the service core) Also a context object is shared > between the backend dealer socket and all the worker dealer socket > .Communication uses inproc. To communicate with the service core, i have a > method that utilizes a dealer socket to send a message to the ROUTER > socket. > > I have come up with two services based on the above architecture.My goal is > to have them communicate with each other. I have managed to do this but > there's a problem. I am initiating two communications from service A to B > but only one goes through. By creating a delay of about 100 milliseconds > between each of the two communications however am able to get them working. > The communication happens between a Worker from service A and the Router > socket on Service B. > What could be going wrong?Why do I have to delay the sending of the second > message? > > -- > *George Gitau,* > *Software Developer,* > *iLab Africa* > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150609/394eb7ee/attachment-0001.htm > > ------------------------------ > > Message: 6 > Date: Tue, 9 Jun 2015 22:34:46 +0200 > From: Igor Lopez <[email protected]> > Subject: Re: [zeromq-dev] Problem with not receiving message on one > side of the pipeline. > To: ZeroMQ development list <[email protected]> > Message-ID: > <CAEsooTVBYfZP6qpB0sSjhfMaZwPq=_ > [email protected]> > Content-Type: text/plain; charset="utf-8" > > I might try that later. > Since my case is with one GUI and one Web interface (nodeJS based) towards > the server I made a test and simulated the Web interface by running another > GUI and it worked as expected with REQ/REP. > > Thanks > /Igor > > 2015-06-09 21:07 GMT+02:00 Pieter Hintjens <[email protected]>: > > > I'd suggest you use DEALER-DEALER in that case. Note however that > > it'll only work when you have one server and one GUI. > > > > On Tue, Jun 9, 2015 at 7:19 PM, Igor Lopez <[email protected]> > > wrote: > > > 2015-06-01 19:49 GMT+02:00 Igor Lopez <[email protected]>: > > >> > > >> Hi this is my first post to the list so bear with me if I am not > > following > > >> the standard way of posting. > > >> > > >> I have written a small application in Python (v 3.4) using the latest > > >> zeromq found in Ubuntu 14.04 (sudo python3.4 pip install pyzmq). With > > latest > > >> I mean that I configured my PC with zeromq and the python bindings > > >> approximately 3 weeks ago. > > >> The app consist of one server and one GUI where the server will > > constantly > > >> handle an external piece of hardware while simultaneously respond to > > >> requests from the GUI. > > >> The requests sent from the GUI gets through to the server but the > > response > > >> from the server is not picked up by the GUI. > > >> > > >> Since I visit Stackoverflow a lot I posted there first but then > decided > > to > > >> test this list. > > >> > > >> If you want to have a look, see the following link: > > >> > > >> > > > http://stackoverflow.com/questions/30546054/python-gui-not-capturing-zeromq-message > > >> > > >> /Igor > > >> > > >> > > > > > > If anybody is interested, the solution is to use REQ/REP sockets > instead > > of > > > PUSH/PULL. > > > > > > /Igor > > > > > > _______________________________________________ > > > zeromq-dev mailing list > > > [email protected] > > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > > > _______________________________________________ > > zeromq-dev mailing list > > [email protected] > > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150609/f6b2d29f/attachment-0001.htm > > ------------------------------ > > Message: 7 > Date: Wed, 10 Jun 2015 10:09:16 +0530 > From: Rakesh Pathak <[email protected]> > Subject: [zeromq-dev] Request to add me in group > To: [email protected] > Message-ID: > <CAHuhj7rYas5+zVu1DD2BHJhndkzs= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Hi , > > Please add me in this group. > > Thanks, > Rakesh > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > http://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150610/02ae73db/attachment-0001.htm > > ------------------------------ > > Message: 8 > Date: Wed, 10 Jun 2015 12:24:53 +0300 > From: Antti Karanta <[email protected]> > Subject: Re: [zeromq-dev] Zmq Unknown error (110) from router socket > To: 'ZeroMQ development list' <[email protected]> > Message-ID: <[email protected]> > Content-Type: text/plain; charset=windows-1252; format=flowed > > > 9.6.2015, 9:24, Antti Karanta kirjoitti: > > The error is reproducible at least by killing the process to which the > > messages are addressed to before it has received all of them. It seems > > to occur randomly at other times as well. > > I turned off ZMQ_ROUTER_MANDATORY and the problem seems to disappear > (at least for the case where the receiving dealer is crashed). > According to http://api.zeromq.org/4-0:zmq-setsockopt#toc24 zmq > should return EHOSTUNREACH when a message can not be routed - why do I > get unknown error instead? > > > ::Antti:: > > > > > > ------------------------------ > > _______________________________________________ > zeromq-dev mailing list > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev > > > End of zeromq-dev Digest, Vol 90, Issue 9 > ***************************************** > -- *George Gitau,* *Software Developer,* *iLab Africa*
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
