Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ZeroMQ / ØMQ / 0MQ how to get started?

I am trying to use ZeroMQ / ØMQ / 0MQ (which ever you prefer) on Windows using C# Binding. Is there any beginner materials out there? Do I need to register ZeroMQ DLL on Windows or something in order to run the C# Binding samples (local_lat / remote_lat)?

Updated: After a few hours I've got zeromq / ruby working on Ubuntu 10.04. I've left a comment on this blog post indicating how to get zeromq / ruby installed on Ubuntu 10.04. But I am still trying to figure out how to run a simple sample on Windows / C# .NET.

install rvm on ubuntu 10.04

http://www.christopherirish.com/2010/08/25/how-to-install-rvm-on-ubuntu-10-04/

install zeromq

http://gist.github.com/574656

if you get error after zeromq is installed, try this one to update the library

http://www.apparatusproject.org/blog/tag/zeromq/

like image 297
Jeff Avatar asked Sep 17 '10 05:09

Jeff


People also ask

Is ZeroMQ a message broker?

ZeroMQ (also spelled ØMQ, 0MQ or ZMQ) is an asynchronous messaging library, aimed at use in distributed or concurrent applications. It provides a message queue, but unlike message-oriented middleware, a ZeroMQ system can run without a dedicated message broker; the zero in the name is for zero broker.

Do people still use ZeroMQ?

zeromq is still very much in wide use. nanomsg doesn't have nearly as much documentation and community support as zeromq does.

What is a ZeroMQ connection?

ZeroMQ (also known as ØMQ, 0MQ, or zmq) looks like an embeddable networking library but acts like a concurrency framework. It gives you sockets that carry atomic messages across various transports like in-process, inter-process, TCP, and multicast.


2 Answers

A new version of the ZeroMQ CLR binding is available at clrzmq2

The reason for the new binding is that it is not backwards compatible with the first, but it is more idiomatic C#, and it supports the full feature set of 2.0.9.

It is also cross platform and should run on both Windows and Linux, x86/-64.

A lot of the examples from the 0MQ guide are now ported to C#, should be up to chapter 3 within the next day or so.

If something isn't working raise an issue on github or contact the ZeroMQ dev mailing list.

like image 102
Michael Avatar answered Oct 04 '22 01:10

Michael


I just started to play with 0MQ on my machine. I uploaded the simple server/client with pre-compiled libraries (clrzmq and zmq-2.0.9 from github) to bitbucket. I hope this helps you also to get started with 0MQ on Windows.

EDIT: A lot has happend since this question and answer. Now it is way easier to install and use ZeroMQ.

like image 27
Rick Avatar answered Oct 04 '22 02:10

Rick