[zeromq-dev] Building ZeroMQ 2.2.0 with OpenPGM on Win7 64

2012-04-10 Thread Nick Eriksson
Hi, I'm trying to build ZeroMQ 2.2.0 withOpenPGM using Visual Studio 2008 express. I've installed OpenPGM on windows using the binaries from http://miru.hk/openpgm/. On Visual Studio I've added OpenPGM 5.1.118\lib to Additional library directories and OpenPGM 5.1.118\include to Additional include

Re: [zeromq-dev] Building ZeroMQ 2.2.0 with OpenPGM on Win7 64

2012-04-10 Thread OJ Reeves
Hi Nick, Adding the 'lib' and 'include' folders as additional directories is enough to satisfy Visual Studio when it comes to finding files, but it doesn't tell Visual Studio exactly which files to link into the resulting binary. You'll have to configure your project to include those libs. You

Re: [zeromq-dev] Building ZeroMQ 2.2.0 with OpenPGM on Win7 64

2012-04-10 Thread Nick Eriksson
Thanks for the heads up, but apparently when you choose to buildWithPgm it includes the libpgm.lib to Additional depencies section under Linker - Input. So I believe that VS is looking for correct files in correct places, libpgm.lib in C:\Program Files (x86)\OpenPGM 5.1.118\lib. On Tue, Apr 10,

Re: [zeromq-dev] Building ZeroMQ 2.2.0 with OpenPGM on Win7 64

2012-04-10 Thread Steven McCoy
On 10 April 2012 06:56, Nick Eriksson nic...@gmail.com wrote: Thanks for the heads up, but apparently when you choose to buildWithPgm it includes the libpgm.lib to Additional depencies section under Linker - Input. So I believe that VS is looking for correct files in correct places,

[zeromq-dev] Check for empty socket (unit testing)?

2012-04-10 Thread Jonathan.Meran
Hello, I am experimenting with ZeroMQ to switch what used to be a synchronous flow of message passing to asynchronous. The unit test for this scenario would send a message, and then assert that the receiver got the message. The unit test code was something like this: SendMessage(Message);

[zeromq-dev] Performance Tuning / Expectations on Windows

2012-04-10 Thread Jeff Vienneau
Hi, I am hoping for some performance tuning tips w.r.t. Windows. Our setup is two Windows XP SP3 systems with just an ethernet cable between them (cat 5e, Intel gigabit NICs). Between the two systems, I am able to achieve ~70MB/s (using TCP with pcattcp). I have two processes using 0MQ version

Re: [zeromq-dev] Can't build zeromq 2.2.0 on Solaris with GCC 3.4.3

2012-04-10 Thread AJ Lewis
On Mon, Apr 09, 2012 at 01:39:57AM +0200, Martin Hurton wrote: Hi, the gcc_421_char_traits.hpp header is included in the project. Seems strange that the compiler complains the file is missing. Not in the tarball I got: # find tmp/SunOS5100i386_64/zeromq-2.2.0/ -name gcc_421_char_traits.hpp

Re: [zeromq-dev] Check for empty socket (unit testing)?

2012-04-10 Thread Chuck Remes
On Apr 10, 2012, at 9:42 AM, jonathan.me...@schneider-electric.com jonathan.me...@schneider-electric.com wrote: Hello, I am experimenting with ZeroMQ to switch what used to be a synchronous flow of message passing to asynchronous. The unit test for this scenario would send a message, and

Re: [zeromq-dev] Can't build zeromq 2.2.0 on Solaris with GCC 3.4.3

2012-04-10 Thread Pieter Hintjens
On Tue, Apr 10, 2012 at 5:50 PM, AJ Lewis aj.le...@quantum.com wrote: # find tmp/SunOS5100i386_64/zeromq-2.2.0/ -name gcc_421_char_traits.hpp returns nothing.  Did I get a bad tarball, or is it in git, but not in the tarball?? It's missing from the tarball; it wasn't listed in the Makefile.am

Re: [zeromq-dev] Can't build zeromq 2.2.0 on Solaris with GCC 3.4.3

2012-04-10 Thread Pieter Hintjens
OK, the fixed tarballs are now up. There are no code changes; this just adds src/gcc_421_char_traits.hpp to the tarballs. -Pieter On Tue, Apr 10, 2012 at 8:26 PM, Pieter Hintjens p...@imatix.com wrote: On Tue, Apr 10, 2012 at 5:50 PM, AJ Lewis aj.le...@quantum.com wrote: # find

Re: [zeromq-dev] Can't build zeromq 2.2.0 on Solaris with GCC 3.4.3

2012-04-10 Thread AJ Lewis
On Tue, Apr 10, 2012 at 08:33:20PM +0200, Pieter Hintjens wrote: OK, the fixed tarballs are now up. There are no code changes; this just adds src/gcc_421_char_traits.hpp to the tarballs. That appears to have done it. Thanks! AJ On Tue, Apr 10, 2012 at 8:26 PM, Pieter Hintjens p...@imatix.com

Re: [zeromq-dev] Can't build zeromq 2.2.0 on Solaris with GCC 3.4.3

2012-04-10 Thread Pieter Hintjens
NP, thanks for hunting down the problem. On Tue, Apr 10, 2012 at 9:00 PM, AJ Lewis aj.le...@quantum.com wrote: On Tue, Apr 10, 2012 at 08:33:20PM +0200, Pieter Hintjens wrote: OK, the fixed tarballs are now up. There are no code changes; this just adds src/gcc_421_char_traits.hpp to the

[zeromq-dev] PyZMQ PushHandler?

2012-04-10 Thread Bill Lubanovic
PyZMQ includes a PUBHandler to distribute Python logging messages through a ZMQ PUB socket. I want to log from applications like web servers that may have multiple child processes, and the PUB socket binds to a specific port. What's a good alternative? It looks like I could 1) write a

Re: [zeromq-dev] PyZMQ PushHandler?

2012-04-10 Thread Michel Pelletier
Or you can change the bind into a connect, and have the subscriber(s) do the bind. Then all your pubs can connect to any number of bound sub endpoints which in turn will receive all pub'ed messages. I have not seen this code in question, so I could be wrong about how it works, but that seems like

Re: [zeromq-dev] PyZMQ PushHandler?

2012-04-10 Thread Bill Lubanovic
Thanks, Michel. That would handle the fan-in, but I'd need to relay from a single bound SUB to another PUB, or have multiple bound SUBs as you suggest. In my case, I'd like to plug in arbitrary subscribers as needed to sip from the firehose, so I think I still need a fan-out step. Then my first