Git Product home page Git Product logo

plumtree's Introduction

plumtree

Build Status

Plumtree is an implementation of Plumtree[1], the epidemic broadcast protocol. It is extracted from the implementation in riak_core[2]. Instead of the riak_core ring and riak's ring gossip protocol, it includes a standalone membership gossip, built around riak_dt[3]'s ORSWOT[4].

More information on the plumtree protocol and it's history we encourage you to watch Jordan West's RICON West 2013 talk[5] and Joao Leitao & Jordan West's RICON 2014 talk[6].

A special thanks to Jordan, Joao and the team at Basho for providing much of the code contained in this library.

  1. http://www.gsd.inesc-id.pt/~jleitao/pdf/srds07-leitao.pdf
  2. https://github.com/basho/riak_core
  3. https://github.com/basho/riak_dt
  4. http://haslab.uminho.pt/cbm/files/1210.3368v1.pdf
  5. https://www.youtube.com/watch?v=s4cCUTPU8GI
  6. https://www.youtube.com/watch?v=bo367a6ZAwM

Build

$ make

Testing

$ make test
$ make xref
$ make dialyzer

Contributing

Contributions from the community are encouraged. This project follows the git-flow workflow. If you want to contribute:

  • Fork this repository
  • Make your changes and run the full test suite
  • Please include any additional tests for any additional code added
  • Commit your changes and push them to your fork
  • Open a pull request

We will review your changes, make appropriate suggestions and/or provide feedback, and merge your changes when ready.

plumtree's People

Contributors

codeadict avatar dergraf avatar he1000 avatar ioolkos avatar larshesel avatar p3we avatar shun159 avatar tsantero avatar vagabond avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

plumtree's Issues

put is only eventually consistent?

when i read the source code of plumetrre_manager it looks that during 2 simultaneous put one can win over the second. i know that this rarely happen but is this the expected behaviour?

makefile Error

I'm trying to biuld verneMQ on arch (with erlang 22.0-1):

 $ make rel
cat vars.config > vars.generated
echo "{app_version, \"1.8.0-5-g7e458c6\"}." >> vars.generated
/home/mehdi/vernemq/rebar3  release
===> Verifying dependencies...
===> Compiling plumtree                                                         
===> Compiling _build/default/lib/plumtree/src/plumtree_metadata_exchange_fsm.erl failed
_build/default/lib/plumtree/src/plumtree_metadata_exchange_fsm.erl:79: gen_fsm:start/3 is deprecated and will be removed in a future release; use gen_statem:start/3
_build/default/lib/plumtree/src/plumtree_metadata_exchange_fsm.erl:86: gen_fsm:send_event/2 is deprecated and will be removed in a future release; use gen_statem:cast/2
_build/default/lib/plumtree/src/plumtree_metadata_exchange_fsm.erl:303: gen_fsm:send_event/2 is deprecated and will be removed in a future release; use gen_statem:cast/2

make: *** [Makefile:28: rel] Error 1 

Is this related to erlang version?
What should I do?

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.