Giter VIP home page Giter VIP logo

mc0d's Introduction

mc0d

This is a message broker Marionette Collective 0MQ (mc0) protocol.

It's in C++ for peformance reasons. If you want to understand the protocol you may find the ruby implementation in the mcollective-zeromq-connector repository easier to read.

Build dependencies

  • cmake
  • a C++11 compiler
  • Boost >= 1.48
  • log4cxx
  • zeromq >= 4.0

Usage

./bin/mc0d --curve-private-key broker.private

Logging configuration

Logging is handled by log4cxx, a port of the common log4j logging library.

Set a path to a properties file using the --logger-config argument.

# Add a rotating logfile at debug level
log4j.rootLogger = DEBUG, logfile

log4j.appender.logfile = org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File = mc0d.log
log4j.appender.logfile.MaxFileSize = 100MB
log4j.appender.logfile.MaxBackupIndex = 5

log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d [%t] %-5p %c - %m%n

Daemonising

We don't, it's expected you will be able to write an init script or other process supervision configuration that can supervise mc0d for your distribution.

Scaling

We haven't yet been able to do extensive scale testing, but this can service a few hundred nodes quite easily on a very modest linux vm.

Limitations and other notes

zeromq's implementation of Curve does not appear to easily allow for trust relationship between keys, so there's no existing model for 'create a ca to issue keys and track revocations'.

zeromq additionally does not seem to allow for the validation of client keys, by the server http://hintjens.com/blog:36, the clients can only verify the server is the one indicated by plugin.zeromq.broker.public_key.

The implementation of the broker does not allow for persistent queues, and so advanced uses of MCollective's asyncronous reply handling pattern such as those explained here are not currently supported.

mc0d's People

Contributors

richardc avatar mikaelsmith avatar stepanstipl avatar

Stargazers

Mehdi ABAAKOUK avatar  avatar

Watchers

Reid Vandewiele avatar Ryan Senior avatar Pieter Loubser avatar Dominic  Maraglia avatar Alex Dreyer avatar Filip Hrbek avatar James Cloos avatar Mark Butcher avatar  avatar  avatar Joe Rodriguez Jr avatar Hailee Kenney avatar Joe Wagner avatar Ryan Gard avatar Zach Reichert avatar  avatar  avatar  avatar  avatar Lilah Ingvaldsen avatar  avatar Phong D. Ly avatar Jg avatar Alessandro Parisi avatar  avatar Sara Meisburger avatar Cody Clements avatar Helen avatar Gillian Weisgram avatar kami avatar  avatar

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.