I’m using Visual Studio 2012 on Windows 7 and zeromq version 3.2.3 to build the Paranoid Pirate example http://zguide.zeromq.org/page:all#Robust- Reliable-Queuing-Paranoid-Pirate-Pattern with source code downloaded from GitHub a few days ago.
There seems to be a problem running the ppqueue component in that the console window output is showing a random symbol where the ‘identity’ should be shown. I suspect that this may be symptomatic of a problem with ‘identities’ within the program. Paranoid Pirate Queue Output (ppqueue) E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready E: worker ↔ not ready I read in the zeromq guide: http://zguide.zeromq.org/page:all#advanced- request-reply “As a historical note, ØMQ v2.2 and earlier use UUIDs as identities, and ØMQ v3.0 and later use short integers. There's some impact on network performance, but only when you use multiple proxy hops, which is rare. Mostly the change was to simplify building libzmq by removing the dependency on a UUID library.” In the send() and recv() functions in the zmsg.hpp header file I see that the UUIDs are decoded and encoded respectively. Could this be the source of the trouble I’m experiencing in trying to build the example. What would need to be changed to correct the program to use short integers as identities? With thanks, Riskybiz.
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
