You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.