Comments (2)
vector clocks can actually be sent at any time (since they are also used to switch peers into sending or not sending mode)
back pressure comes from the stream, i.e. tcp, although in ssb it currently uses muxrpc which does not have backpressure yet (TODO!)
If you want to use ebt standalone, i'd recommend just passing the raw stream through a serializer,
var stream = createEBTStream() //ebt stream
return {
source: pull(stream.source, encodeStream) sink: pull(decodeStream, stream.sink)
}
or, a simple solution is https://www.npmjs.com/package/pull-json-doubleline
var pullJSON = require('pull-json-doubleline')
return pullJSON(createEBTStream())
but it would also be fairly simple to use a binary encoding
from epidemic-broadcast-trees.
thanks!
from epidemic-broadcast-trees.
Related Issues (20)
- document API in README HOT 5
- replicating with multiple peers
- Minor error in repo description, "broadtast" instead of broadcast HOT 1
- Crash in isAvailable HOT 2
- Crash replicating HOT 5
- Crash in canSend HOT 1
- write after ebt stream ended HOT 5
- 6.3.4 breaks scuttlebot tests HOT 1
- Add a `pauseRx(<feedId>, isPaused)` method.
- What is the `remote_stream` in the example code? HOT 1
- better protocol documentation HOT 1
- documentation drive: HOT 3
- notes.txt HOT 1
- Request skipping HOT 3
- Why are the seqno bitshifted in v3? HOT 1
- could not retrive msg: Error [NotFoundError]: Key not found in database HOT 3
- Is there a way to reset a remote clock HOT 7
- Document support sending clocks inside a thing with additional properties
- find a better name for fixSeq
- Loosely Based on Epidemic Broadcast Trees?! HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epidemic-broadcast-trees.