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.
For next steps take a look at the basic zeroMQ example published by Will’s Web Miscellany.