zeromq

ZeroMQ Info Roundup

I've been reading what I could find on ZeroMQ and it has grabbed my attention for various reasons.  Here is a batch of the ones I found interesting into one article for future reference since things were a bit spread out.

ZeroMQ Introductory Video (great starting point)

http://www.youtube.com/watch?v=_JCBphyciAs

Paper on Messaging and Multi-Threading

http://www.zeromq.org/whitepapers:multithreading-magic

A Rather Ambitious Project with very little information(but I like the ambition)

http://prodatalab.wikidot.com/

Streaming Video Example

http://www.zeromq.org/code:examples-camera

DripDrop - DripDrop encapsulates both zmqmachine, and eventmachine. It provides some sane default messaging choices, using BERT (A binary, JSON, like serialization format) and JSON for serialization. While zmqmachine and eventmachine APIs, some convoluted ones, the goal here is to smooth over the bumps, and make them play together nicely.

http://blog.andrewvc.com/next-steps-for-dripdrop-zeromq-distributed-wo

http://github.com/andrewvc/dripdrop

mongrel2 application server - Mongrel2 is an application, language, and network architecture agnostic web server that focuses on webapplications using modern browser technologies.  ZeroMQ used heavily.

http://mongrel2.org/doc/tip/docs/manual/book.wiki#x1-760005.6

http://mongrel2.org/doc/tip/docs/manual/book.wiki#x1-640005.2

Async Worker Process article on a good blog that discusses ZeroMQ

http://kfsone.wordpress.com/2010/07/21/asyncworker-parallelism-with-zeromq/

Interesting Projects around ZeroMQ from the creators of ZeroMQ

http://github.com/imatix/zdevices

http://github.com/imatix/zfl

http://github.com/imatix/zguide

Several Blog Entries from Around the Web regarding ZeroMQ

ZeroMQ and Scalability

http://kfsone.wordpress.com/2010/07/21/zeromq-and-scalability/

ZeroMQ and Introduction

http://nichol.as/zeromq-an-introduction

Basic ZeroMQ example in Ruby

http://willj.net/2010/08/01/basic-zero-mq-ruby-example/

ZeroMQ Tutorial

http://github.com/andrewvc/learn-ruby-zeromq

0MQ: A new approach to messaging

http://lwn.net/Articles/370307/

ZeroMQ Musings and Server Build

zeromq

I just read an excellent writeup about ZeroMQ (ØMQ/ZMQ) yesterday on igvita.com.  This software appears to have been around a while but I hadn't seen it before.  It's really quite impressive.  So, I found myself quite curious to play around with it a bit this weekend.  So, I built a little rig that would let me do that based on Ubuntu 10.04 LTE.

I wanted to use the ruby bindings for my playing around and ruby 1.9.2p0.  I quickly found that most of the easy to find examples out there are in C or Python.  But, there is still some good stuff.  I'll add some of things I found as links at the bottom of this post. 

The server build instructions  here in case anyone else was interested.  The following steps will yield you a basic build with which you may test ZMQ w/ by writing ruby code.

If anyone has thoughts, ideas or improvements on this setup by all means please do let me know!  Comments have been off for a while on my blog but I'll be turning them back on after this post.

Server Build - Ruby 1.9.2p0 + ZMQ + Ruby Bindings

While playing around a bit this weekend with zeroMQ and wanting to mess w/ the ruby bindings I found I needed to build a server.  It wasn’t difficult but these are the steps which might help you get going quickly on the rackspace cloud.

Provision Your Server

I grabbed mine from the Rackspace cloud.  Your milage may vary but I know that a RS 10.04 is a well build no frills ubuntu server.  I really like using their templates as the basis for my builds.  Once you have your server up and you are logged in:

You are now all set with a ruby 1.9.2p0 and zeroMQ enabled server on Ubuntu 10.04 in the Rackspace cloud.  If this was helpful then let me know what you do with it as this is a very exciting combination.

Note:  This will work well with any Ubunutu 10.04 server. It doesn’t  have to only be a Rackspace Cloud Server.

For next steps take a look at the basic zeroMQ example published by Will’s Web Miscellany.
Of other notable interest is the Mongrel2 project which incorporates ZMQ.  The mongrel2 manual is very good reading as well.
Other helpful Links I found have been tagged on my Delicious acct here.  I'll be adding more as well as I find them.