Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Does ZeroMQ work under windows?

by chrestomanci (Priest)
on Mar 22, 2012 at 17:27 UTC ( #961063=perlquestion: print w/ replies, xml ) Need Help??
chrestomanci has asked for the wisdom of the Perl Monks concerning the following question:

Greetings wise brothers.

I am working on a project where I need to send a large number of short messages between a Windows system (in a VM) and a linux server. The messages will mostly be 100 bytes or so, but might be sent at up to 100/second, so I need to send them with low overhead. I don't care if they get re-ordered as I will be time stamping them anyway, but I don't want any messages to get lost.

In a previous version of the project, I was using Net::Stomp (Using the AMQP protocol), the problem was that I needed to run a fairly heavy weight broker, and some messages went missing, so I am looking for something a bit more lightweight.

I came across ZeroMQ, and found some perl bindings on CPAN. It looks to fill the light weight and no broker requirement, but it looks like installing it under windows is tricky. I found This issue on the ZeroMQ bug tracker, where users had had all sorts of trouble getting it to compile and run under Windows. It is also not available for Active State perl.

Has anyone else had any experiences of ZeroMQ under windows? Can it be made to work reliably? Is there a pure Perl implementation of ZeroMQ? The wire protocol looks simple enough.

I am currently using Active State Perl 5.12 though I would switch to using Strawberry perl if that would work better. I would prefer not to use Cygwin perl.

Comment on Does ZeroMQ work under windows?
Re: Does ZeroMQ work under windows?
by lha404 (Initiate) on Jul 02, 2012 at 10:07 UTC
    There appear to be binary installers for the libraries http://www.zeromq.org/distro:microsoft-windows This make make using 0mq on windows a little less of a pain.
Re: Does ZeroMQ work under windows?
by DaniBunny (Initiate) on Aug 27, 2013 at 17:45 UTC

    I recently was on the same quest.

    I was able to install the ZeroMQ binaries and C library with success using the refered installer for Windows. Than i went on a quest to build the perl module ( ZMQ::LibZMQ3 and ZMQx::Class ). No success.

    I was able to build some eccentric modules on Windows in the past ( like Finance::TA ), but i was beaten this time. It seems that there are some bugs on the Windows build of ZeroMQ ( not surprised ) that makes the build impossible.

    There are open tickets with the developers of ZeroMQ modules to get down on this. Im watching... :-)

    I'm sticking with AnyEvent sockets for now.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://961063]
Approved by ww
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2014-10-01 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (30 votes), past polls