Distributed Flow-Based Programming via message queues
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin Require JS version Nov 3, 2017
doc docs: Add PDF of Orchestrate slides Apr 10, 2017
graphs Rename runtime id from fakemsgflo -> msgflo Mar 13, 2015
site Discovery: Add documentation for 'description' on port Sep 17, 2017
spec tests: Increase delay for double registration Nov 3, 2017
src Require JS version Nov 3, 2017
travis travis: Setup autodeploy for website Feb 2, 2017
.gitignore Compile CoffeeScript to JavaScript Nov 3, 2017
.npmignore Release with compiled JS Nov 3, 2017
.travis.yml Release with compiled JS Nov 3, 2017
CHANGES.md Update CHANGES Jun 2, 2017
Gemfile Start bootstrapping project website Feb 1, 2017
Gruntfile.coffee Compile CoffeeScript to JavaScript Nov 3, 2017
LICENSE Update copyright Nov 2, 2017
fbp-config.json Skeleton FBP runtime protocol implementation Jan 30, 2015
index.js Require JS version Nov 3, 2017
package.json chore(package): update fbp-protocol to version 0.9.0 Mar 22, 2018


MsgFlo - Flow-Based Programming with Message Queues Build Status

Implementation of the Flow-Based Programming using message queues as the communications layer between different processes. Initial message queue transports targeted are AMQP and MQTT.

MsgFlo lets you build robust polyglot FBP systems spanning multiple computers/devices. A node can be implemented in any language, to reuse existing code, libraries and developer know-how.

In FBP each component is a black-box that processes and produces data, without knowledge about where the input data comes from, or where the output data goes. This ensures that a service is easy to change, and facilitates automated testing.

MsgFlo is designed to enable partial and gradual integration into existing systems; by using standard broker/transports, not placing restrictions on message payloads, allowing to use existing queue names, and integrating non-MsgFlo nodes seamlessly.


In Production

  • Used in production at TheGrid website builder, with AMQP/RabbitMQ. 20 roles, 1'000'000 jobs/weekly+
  • Used in production in imgflo image processing server. 4 roles, 200'000 jobs/weekly+
  • Used for IoT networks at hackerspaces c-base and Bitraf, using MQTT/Mosquitto.

Client support


  • msgflo executable implements the FBP runtime protocol.
  • Initial support for automated testing using fbp-spec
  • Experimental support for visually building networks using Flowhub
  • guv provides autoscaling of workers when using Heroku/AMQP.




Please refer to https://msgflo.org


Flowhub logo

MsgFlo is a part of Flowhub, a platform for building robust IoT systems and web services.
We offer an Integrated Development Environment and consulting services.


The msgflo executable, as well as the transport/participant library uses the debug NPM module. You can enable (all) logging using:

export DEBUG=msgflo*