Giter Site home page Giter Site logo

p2pcollab / ocaml-p2p Goto Github PK

View Code? Open in Web Editor NEW
26.0 2.0 2.0 93 KB

Collection of composable P2P libraries

Home Page: https://p2pcollab.net

License: GNU Affero General Public License v3.0

Makefile 0.09% OCaml 98.19% Nix 1.72%
p2p protocol cyclon vicinity ringcast poldercast random-peer-sampling rps clustering topology

ocaml-p2p's Introduction

Build Status

Gossip-based protocols for P2P collaboration

P2Pcollab is a collacection of composable libraries implementing gossip-based protocols for P2P collaboration.

These libraries are distributed under the AGPL-3.0-only license.

Modules

  • PolderCast: P2P topic-based pub/sub
  • RingCast: P2P hybrid dissemination
  • VICINITY: P2P clustering & topology management
  • CYCLON: Random Peer Sampling
  • TAPS: Trust-Aware Peer Sampling
  • TAC: Trust-Aware Clustering

Building with Nix

Set up Nix Flakes, then run:

nix build

Developing with Nix

To get a development shell with all dependencies and build tools installed, run:

nix develop

Building

To build from source, generate documentation, and run tests, use dune:

dune build
dune build @doc
dune runtest -f -j1 --no-buffer

In addition, the following Makefile targets are available as a shorthand for the above:

make
make build
make doc
make test

Documentation

The documentation and API reference is generated from the source interfaces. It can be consulted online or via odig, e.g.:

odig doc p2p
odig doc p2p-cyclon
...

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.