From @andygough1974 on Thu May 07 2015 22:03:52 GMT+0000 (UTC)
Can IPFS connect 2 nodes and stream data between them.
Copied from original issue: https://github.com/ipfs/faq/issues/20
From @jbenet on Fri May 08 2015 09:00:20 GMT+0000 (UTC)
@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.
From @jbenet on Mon Jun 22 2015 02:51:20 GMT+0000 (UTC)
(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.)
From @chpio on Wed Jul 22 2015 07:27:16 GMT+0000 (UTC)
@jbenet the link in your 1. post is broken
From @brutuscat on Sun Jul 26 2015 11:07:58 GMT+0000 (UTC)
@t128 Making your own ipfs service
From @chpio on Sun Jul 26 2015 11:09:14 GMT+0000 (UTC)
@brutuscat aha…