Skip to content

Jules, if you give that fuckin' nimrod fifteen hundred dollars, I'm gonna shoot him on general principles.

License

Notifications You must be signed in to change notification settings

Chat-Wane/rtc-SCAMP-mbr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

rtc-SCAMP-mbr

Keywords: SCAMP, scalable membership, gossip, WebRTC

This project is a Nodejs implementation of the Scalable Membership Protocol (SCAMP) [1] which is a gossip that automatically resizes its neighbourhood tables in order to fit with the size of the network using local knowledge only. For instance, a peer within a large network knows only a small subset of the peers. Still, the links between the peers create a connected graph.

The project rtc-SCAMP-mbr uses WebRTC which allows creating peer-to-peer connections within the browser. To our knowledge, there do not exist any implementations which do not rely on a central server to ease the initialisation phase of the membership. Thus, this project aims to fill this gap. Such implementation would allow building distributed network by only manually sharing a piece of data (e.g. by mail, via URL...).

Installation

You can use the node packet manager to get the module: $ npm install rtc-scamp-mbr

Usage

Please check the p2pnetwork API.

Example

An example is available at the rtc-SCAMP project page which uses this SCAMP membership protocol paired with a simple broadcast mechanism. This composition creates a working network within your browser.

References

[1] Peer-to-Peer Membership Management for Gossip-Based Protocols

About

Jules, if you give that fuckin' nimrod fifteen hundred dollars, I'm gonna shoot him on general principles.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published