The PubSub implementation for go-libp2p
https://github.com/libp2p/specs/tree/master/pubsub
02b9c5724d
Instead of spawning a go routine for every message sent to every peer, buffer them (actually, we already buffer 32 so this didn't need to be changed) and drop messages when the buffer fills up. fixes https://github.com/ipfs/go-ipfs/issues/4066 (writing to a channel in a go routine can be dangerous...) |
||
---|---|---|
.gx | ||
pb | ||
.gitignore | ||
.travis.yml | ||
LICENSE | ||
Makefile | ||
README.md | ||
comm.go | ||
floodsub.go | ||
floodsub_test.go | ||
notify.go | ||
package.json | ||
subscription.go |
README.md
go-floodsub
A flooding pubsub system.
Table of Contents
Install
go get github.com/libp2p/go-floodsub
Usage
TODO
Contribute
Contributions welcome. Please check out the issues.
Check out our contributing document for more information on how we work, and about contributing in general. Please be aware that all interactions related to multiformats are subject to the IPFS Code of Conduct.
Small note: If editing the README, please conform to the standard-readme specification.
License
MIT © Jeromy Johnson