Skip to content
This repository has been archived by the owner. It is now read-only.

Streaming data between nodes #20

Closed
andygough1974 opened this issue May 7, 2015 · 7 comments
Closed

Streaming data between nodes #20

andygough1974 opened this issue May 7, 2015 · 7 comments
Labels

Comments

@andygough1974
Copy link

andygough1974 commented May 7, 2015

Can IPFS connect 2 nodes and stream data between them.

@jbenet
Copy link
Contributor

jbenet commented May 8, 2015

@andygough1974 could you describe the use case more?

You can stream any data out of ipfs, for example:

hash=$(ipfs add <bigfile>)
ipfs cat $hash

will work across nodes, and stream. though, note that since the object is a merkledag, the standard unixfs datastructure has to hash the entire file before the root is known. A separate streaming datastructure, using an IPNS mutable pointer as a stream head can be used to start consuming a stream as it generates. It would look like this:


If you're interested in sending data out of band-- meaning beyond the standard ipfs objects -- you can mount your own services/protocols onto ipfs nodes. See Example: Making your own IPFS Service

We'll also have a simple pub/sub thing at some point.

@jbenet
Copy link
Contributor

jbenet commented Jun 22, 2015

(btw, worth noting that the "indexing" data structure here does not need to be a linked list at all, it can be something better, like a binomial heap, etc.)

@chpio
Copy link

chpio commented Jul 22, 2015

@jbenet the link in your 1. post is broken

@brutuscat
Copy link

brutuscat commented Jul 26, 2015

@chpio
Copy link

chpio commented Jul 26, 2015

@brutuscat aha...

@jbenet
Copy link
Contributor

jbenet commented Jul 27, 2015

@jbenet the link in your 1. post is broken

thanks fixed

@madavieb
Copy link

madavieb commented May 23, 2017

This issue has been moved to https://discuss.ipfs.io/t/streaming-data-between-nodes/475.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants