News for hackers. Stuff that matters.
Re:Dtube – A decentralized video platform using STEEM and IPFS by hobofan on Wednesday February 28, 2018 @04:06AM (#16481715)
Yup, DTube, like most projects related to STEEM still have a high degree of centralization. This reddit comment gives a good evaluation of DTube: https://www.reddit.com/r/dtube/comments/7ysdn1/how_distribut...

So most parts of it could at their core be used in a distributed fashion, but are actually accessed via CDNs. E.g. you could use ipfs-companion[0] to alter all instances of ipfs.io URLs to point to a local IPFS daemon that is connected to the IPFS network in a distributed fashion.

I did just that and streamed a video on DTube via a local IPFS daemon and the result was pretty underwhelming, since it took quite some time for the video to load, but I don't dare to evaluate why that is so. After that it does have the nice benefit though that the same video streams instantly on any other machine in my home network!

In a transitional phase to a distributed web I'd expect a lot of websites to employ a similar approach of using CDNs at first (since not everybode has local nodes running), but its sad to see that some of the flagship projects like DTube aren't even open source (and I have no idea if they ever plan to be) and/or have a distributed version available.

[0]: https://github.com/ipfs-shipyard/ipfs-companion

Re:Dtube – A decentralized video platform using STEEM and IPFS by diggan on Wednesday February 28, 2018 @07:25AM (#16482497)
> I did just that and streamed a video on DTube via a local IPFS daemon and the result was pretty underwhelming, since it took quite some time for the video to load, but I don't dare to evaluate why that is so. After that it does have the nice benefit though that the same video streams instantly on any other machine in my home network!

Could be that you just started the IPFS node and it didn't really have any time yet to connect to a large enough number of peers.

But yeah, as you said, the benefit is that after the fetch from the internet backbone, the content now lives much closer for the next time.

Disclaimer: I work for Protocol Labs on IPFS

Re:Dtube – A decentralized video platform using STEEM and IPFS by hobofan on Wednesday February 28, 2018 @08:32AM (#16482823)
No I don't think that was it. I had ~700 peers connected. I guess due to DTube using CDNs in front of IPFS most content is probably only available from very few actual nodes.

PS: Keep up the great work on IPFS!

Re:Dtube – A decentralized video platform using STEEM and IPFS by diggan on Wednesday February 28, 2018 @09:49AM (#16483321)
DTube doesn't actually use a CDN in front of any gateways. You can see this yourself in the Network tab of the developer tools in your browser.

Thanks :)

Re:Dtube – A decentralized video platform using STEEM and IPFS by hobofan on Wednesday February 28, 2018 @10:08AM (#16483437)
I meant the gateways (ipfs.io and ipfs.infura.io) with CDNs, because they certainly exhibit most of the charactaristics of a CDN.
Re:Dtube – A decentralized video platform using STEEM and IPFS by Bombthecat on Wednesday February 28, 2018 @09:02AM (#16482989)
My guess would be that distributed internet will never work.

Sure for popular content like Google.com. or the top 1000 of YouTube will work. But the rest will always crawl to a stand still, since the content will always be on a far away or slow node...

Re:Dtube – A decentralized video platform using STEEM and IPFS by prophesi on Wednesday February 28, 2018 @09:04AM (#16483004)
It just needs an incentive to have others host your content, AKA FileCoin. You've always gotta pay a little bit to keep your sites up.
Re:Dtube – A decentralized video platform using STEEM and IPFS by zaarn on Thursday March 01, 2018 @05:32AM (#16490963)
That does however essentially reverse the cost of operations.

Popular content is free to host while content that isn't popular is costly to host.

The more unpopular your content the higher the cost becomes.

Re:Dtube – A decentralized video platform using STEEM and IPFS by prophesi on Thursday March 01, 2018 @09:58AM (#16492473)
I'm not sure if I follow. This is from Sia, so it might not be the case with IPFS + FileCoin, but the cost for finding a host is the same for everyone. The hosts themselves determine their own price, and they're given a rating determined by the amount of storage they have + uptime + bandwidth. Users can then choose who hosts their content by looking at their rating versus cost.

Currently, without monetization in place, popular content is easy to host while unpopular content is not. Monetization levels the playing field.

Re:Dtube – A decentralized video platform using STEEM and IPFS by zaarn on Thursday March 01, 2018 @10:30AM (#16492719)
On IPFS popular content is cached, a website like youtube will most likely not have to pay hosting for any parts of it's website or popular videos if they were to run on IPFS.

Content that is not popular enough to remain in the IPFS caches will require filecoin or some other form of paid hosting to keep it around, thusly increased cost.

Re:Dtube – A decentralized video platform using STEEM and IPFS by prophesi on Thursday March 01, 2018 @12:39PM (#16494204)
Ah, that makes sense. Yeah, popular sites could probably get away with having no hosts, except for their older posts + user-generated content.
Re:Dtube – A decentralized video platform using STEEM and IPFS by xyzzy_plugh on Wednesday February 28, 2018 @09:25AM (#16483133)
I think it's worse than that, there needs to be an incentive for businesses to own and support it for non-enthusiasts.

How could Apple or Google or Amazon or Facebook make money by promoting a distributed internet?

Re:Dtube – A decentralized video platform using STEEM and IPFS by gregknicholson on Wednesday February 28, 2018 @02:14PM (#16485787)
> How could Apple or Google or Amazon or Facebook make money by promoting a distributed internet?

Perhaps unprofitability is a feature, not a bug.

Individuals can choose to seed content they care about (given an effective UI), which means the content will be available as long as enough people care about it. “Enough” does need to be a sufficiently small number.

Re:Dtube – A decentralized video platform using STEEM and IPFS by prophesi on Wednesday February 28, 2018 @09:35AM (#16483221)
I disagree. I don't want a large company controlling most of the IPFS nodes.
Re:Dtube – A decentralized video platform using STEEM and IPFS by leoc on Wednesday February 28, 2018 @05:50AM (#16482122)
> In a transitional phase to a distributed web I'd expect a lot of websites to employ a similar approach of using CDNs at first (since not everybode has local nodes running)

I'd like to think so, but a more cynical take is that efforts like this to trade on 'distributed' will either (and most likely) fail or, if they do get traction, ditch the distributed backend once it's served its purpose as a selling-point to attract early adoption.

Re:Dtube – A decentralized video platform using STEEM and IPFS by hobofan on Wednesday February 28, 2018 @06:00AM (#16482150)
TBH, I'm not sure how big of a future video "platforms" will even have. With IPFS+Filecoin and a few other parts, it might become quite trivial to host your own video content. With that the focus could possibly shift to platforms like Patreon, and if the payment parts of that can be commoditized (via things like Stellar and SatoshiPay), maybe even back to the good old website. One can only dream...
Re:Dtube – A decentralized video platform using STEEM and IPFS by TekMol on Wednesday February 28, 2018 @06:46AM (#16482318)

    With IPFS+Filecoin and a few other parts, it
    might become quite trivial to host your own
    video content.
Using Filecoin means you are not hosting it yourself.
Re:Dtube – A decentralized video platform using STEEM and IPFS by hobofan on Wednesday February 28, 2018 @08:34AM (#16482833)
Oh, of course, my bad. I mean't to express "have your content hosted without a central party gatekeeping party".
Re:Dtube – A decentralized video platform using STEEM and IPFS by arghwhat on Wednesday February 28, 2018 @05:15AM (#16482014)
This solution might make a lot of sense as a build-up process.

However, until DTube release a client so that the network can build, it's just a centralized video platform using IPFS and STEEM as storage backends. Unless clients are made available, it might as well use S3 and Postgres.

Re:Dtube – A decentralized video platform using STEEM and IPFS by TekMol on Wednesday February 28, 2018 @06:44AM (#16482304)
If it uses IPFS as a storage backend, then why is it faster to watch the video on the website then via IPFS as hobofan did? This seems to be an indication they store that data on a server all the time.
Re:Dtube – A decentralized video platform using STEEM and IPFS by diggan on Wednesday February 28, 2018 @07:21AM (#16482463)
By default, when making requests to the HTTP gateway, it'll cache the content requested until a GC runs. So it's possible that the local node you're using, have not seen the content before so it needs to go out and fetch it while the gateway d.tube uses, already has the content fetched and only needs to serve it.

Of course, the second time you load the content (or if another node on your local network already loaded it) via a local node, it'll be much faster than the public gateway d.tube is running.

Disclaimer: I work for Protocol Labs specifically on IPFS.

Re:Dtube – A decentralized video platform using STEEM and IPFS by arghwhat on Wednesday February 28, 2018 @02:48PM (#16486135)
Furthermore, being behind a CDN, the CDN might be caching some resources at their edges for additional performance improvement.

(I believe someone stated DTube was running behind a CDN.)