Skip to content

joshbode/zmq-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

  1. Install ØMQ library:

    • Linux (on Debian):

      $ apt-get install libzmq-dev
      
    • OS X (using homebrew):

      $ brew install zeromq
      $ brew tap bertjwregeer/homebrew-compat
      $ brew install cppzmq  # required for rzmq
      
  2. Install Python ØMQ bindings:

     $ pip install pyzmq
    
  3. Install Julia ØMQ bindings:

     $ julia
    
     julia> Pkg.add("ZMQ")
     julia> Pkg.add("Logging")  # required for example only
    
  4. Install R ØMQ bindings:

     $ R
    
     > install.packages("rzmq")
     > install.packages(c("logging", "rjson"))  # required for example only
    
  5. Install supervisord:

     $ pip install supervisord
    

Running

  1. Clone this repository.

  2. Start supervisord using the provided configuration:

     $ supervisord -c zmq-example/supervisord.conf
    
  3. Connect to the supervisor management page

  4. Tail the processes to see the log output.

  5. When finished, shutdown supervisord using supervisorctl:

     $ supervisorctl shutdown
    

About

Example connecting Python to Julia and R using ØMQ

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published