Skip to content

esl/erlzmq

This branch is 35 commits ahead of zeromq/erlzmq2:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
bryanhuntesl
Jun 10, 2019
597167c · Jun 10, 2019
Jun 8, 2019
Apr 2, 2011
Mar 22, 2013
Mar 30, 2011
Jun 8, 2019
May 14, 2019
Jun 8, 2019
Jun 8, 2019
May 13, 2019
May 24, 2019
Mar 27, 2011
Jun 10, 2019
Mar 8, 2012
Jun 8, 2019
May 13, 2019

Repository files navigation

erlzmq

NIF based Erlang bindings for the ZeroMQ messaging library.

Forked from the erlzmq2 project.

Copyright (c) 2019 erlang solutions ltd

Copyright (c) 2011 Yurii Rashkovskii, Evax Software and Michael Truog

Overview

The erlzmq application provides high-performance NIF based Erlang bindings for the ZeroMQ messaging library.

Downloading

The erlzmq source code can be found on GitHub

$ git clone http://github.com/esl/erlzmq.git

Building

Please note that to behave properly on your system ZeroMQ might require some tuning.

Install zeromq-dev package for your distro.

For examples see .travis*’ and verification/Dockerfile*’.

Build the code

$ rebar3 compile

Build the docs

$ rebar3 docs

Run the test suite

$ rebar3 eunit

Run the benchmarks (requires python and matplotlib)

TODO

This will run performance tests and output png graphs in the graphs directory.

Architecture

The bindings use Erlang's NIF (native implemented functions) interface to achieve the best performance. One extra OS thread and one pair of inproc sockets by context are used to simulate blocking recv calls without affecting the Erlang virtual machine's responsiveness.

License

The project is released under the MIT license.

About

Erlang binding for 0MQ (v2)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 56.7%
  • Erlang 39.8%
  • Python 3.4%
  • Makefile 0.1%