Giter Club home page Giter Club logo

learn-ruby-zeromq's Introduction

Learn ZeroMQ by Example!

A Work in Progress

If you'd like to help write examples, or if you've found an error, please write me, or fork and patch this repo.

About ZeroMQ

ZeroMQ is one of the simplest and most exciting ways to build high performance, concurrent local and network applications. ZeroMQ uses a sockets style API to make powerful message-based programs fun to build.

Be sure to follow the examples in order, as concepts shown in earlier chapters won't be described later on.

Getting Started

  1. Get a functioning ruby, either jruby (recommended) or 1.9.2. I recommend using rvm to manage multiple rubies
  2. If you're using jruby the ffi gem it comes with will work fine. If using 1.9.2 you MUST install the special ffi gem included here, or build it from HEAD yourself.
  3. Download and install ZeroMQ from the ZeroMQ download page. ./configure && make && make install
  4. gem install ffi-rzmq zmqmachine. Make sure you have the ffi-rzmq gem >= 0.5.1 .

Now you're set! Follow the numbered examples in order, where there are no numbers, there is no order.

Thanks Chuck!

Many thanks to Chuck Remes, author of both ffi-rzmq and zmqmachine for providing the ruby community with these gems, and helping answer my questions. None of this, would have been possible without his efforts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.