Steem Dapps, IPFS, & Why We Need Nebulus

in #technology6 years ago (edited)

Steem Dapps, IPFS, & Why We Need Nebulus.png

The IPFS section of this post is taken from an old post of mine titled What is IPFS. Head here for more information about decentralization and a how IPFS works "in-a-nutshell."

The InterPlanetary File System (IPFS) is something that I am glad I came across at the beginning of 2018. It is an open source way to host files and share them around the web in a way that leads to a much faster and less expensive transfer of data.

You probably know by now that I am a massive fan of decentralizing all the things but do not think we need a blockchain to do it every time. IPFS is peer-to-peer and yet has no blockchain because there is no reason to have one when the goal is file hosting. All cryptocurrencies are peer-to-peer, but not all peer-to-peer decentralization has to be on a blockchain.

Peer-to-peer is as it sounds. You connect to another user directly. There is no need for a central server to host, upload, download, or serve files. When there is no central server doing all the work, there is no one point of failure.

Decentralization also eliminates the issue of centralized servers shutting you down because they don't like what you say or share (something we see more of every day from big centralized web companies). This networking method is a huge step in keeping the internet steeped in free speech and is how the Internet operated in the beginning.

In a peer-to-peer system, a computer will divide a portion of the resources and give them to the network. These resources can include hard drive space, bandwidth, or processing power. These allocated resources are still the computers' but, as with hard drive space, the predetermined amount is used to store information that can be called by other computers on the network. Doing this allows for more space, speed, or processing power to be used than a single computer in the system could hold alone.

With this structure, each peer supplies and consumes data. However, the most common model we use online today, the server does all the providing while the users on the web do all the consuming. This allows for cool web apps but will only push everything into the hands of a few.

To read more about peer-to-peer check out my post titled, Peer-To-Peer: Our Only Hope.

what-is-ipfs.jpeg

IPFS, Better Than HTTP

When we download a file from the internet, we access a traditional server and request to have the data we need. Then the server sends this file over the internet to us little by little until the entire file is in our possession.

This process takes time and resources at a much higher rate than using a peer-to-peer service like IPFS. When we want to download a copy of a file hosted on the IPFS network we get bits and pieces from many computers, not just one. IPFS lessens the load a great deal on everyone overall and allows for slower bandwidth from the supplying computers.

On the IPFS website they claim:

With video delivery, a P2P approach could save 60% in bandwidth costs.

That's pretty epic! Look at YouTube, a centralized video hosting platform that can't seem to make money due to the high costs of both storing and streaming all that video. If a site could implement technology like IPFS, this problem may not exist. (@dtube uses IPFS, and BitChute has a peer-to-peer model, but it is not IPFS.)

Historical

The assumed lifespan of a web page is only one hundred days on average. That is short if you want to recall information you saved from a year ago. From an internet point of view as soon as a page goes offline it may as well never existed.

You may remember all the old Xanga blogs from the early 2000s, but to the internet, they are just in the human imagination. Which makes this a poor way to store anything long term unless you want to keep paying the hosting costs yourself.

IPFS has historical versioning that preserves the past so we as the users can find the information that may now be missing. Versioning also lets many nodes mirror the content of another node so that we will be able to get what we are looking for even if the original supplier goes offline.

This allows for a permanent web but not necessarily a persistent one still. We'll get more into this issue further down the post, but quickly, it is the reason why some content that you host on IPFS seems to disappear.

steem-dapps.jpeg

Steem Dapps

Dapp stands for "Decentralized Application" and is what @steepshot or @dtube are since they rely on the steem blockchain for much of their data. However, since the STEEM blockchain cannot hold anything other than text (no blockchain can as far as I'm aware at this moment) videos and images are not stored directly on the chain. This means that a creator or dapp must host their non-text content somewhere and many choose to use IPFS since it is decentralized similar to the STEEM blockchain.

Steem Dapps using IPFS is all well and is needed to keep the cost down for their servers. However, the content that is uploaded to these services, unless it is backed up to another IPFS node, runs the risk of disappearing.

This is the problem of persistence.

Let's say that dtube only has so much space to upload content to their server and due to the possible future popularity of the site they are forced to remove older video files to make room for the newer uploads. Now your video is removed but no other node on the IPFS network pinned your video, so your hard work is no longer on the web.

The IPFS hash of your source video will still be the same, and if you upload it to IPFS any links leading to your content will work again. That is permanence, but without a persistent copy of your file somewhere on the network the permanent address of your video, audio, or image will bring your fans nothing but a spinning wheel.

nebulus.jpeg

Nebulus

These problems we face with using the decentralized hosting of IPFS is the exact problem that @nebulus is working to solve. The creator is able to send Nebulus a transaction of 1 STEEM ($1 USD worth of STEEM once the price goes up) from the nebulus.app website. The site asks for your Steem account name and the hash you want "backed up" around the IPFS network and gives you a @steemconnect link to complete the transaction.

Once the transfer of STEEM goes through any server running the Nebulus software then pin your hash to their computer. It is this action that keeps your video or audio live if a dapp has to remove old content to make room for the new.

Services like this exist around the internet, where you can have you hash saved to an IPFS node for a cost making this part of Nebulus not new in the least. What Nebulus does goes another step further in making your content more decentralized. This decentralization of your content is done with an incentive given to the Nebulus nodes who "save" your content.

Instead of Nebulus keeping all the STEEM sent by request to have a creators' video, audio, or image, backed up the account pays out a portion of this STEEM to the Steem user running the node. As much as I like to do things out of the kindness of my heart, we can not rely on anyone spending money to run a server to help decentralize our media without an incentive.

The biggest goal we have right now is to take this out of the creators' hand altogether and have the dapps pay for the decentralization of your media. This way the user experience would be similar to YouTube, Instagram, or SoundCloud. Where the user uploads and needs to do nothing else to expect that media always to be online.

Getting these dapps on board is a big challenge that will need tackling, but for now, we need help in many different areas. So if you have a skill and you like what @nebulus aims to do, please come by our Discord channel and let us know how you want to contribute to making all Steem creators' content retrievable for years to come.

Sort:  

Sweet post JR. Appreciate the time and effort you put into nebulus.

Thank you for all your support <3

I did say "that I know of" and I have not looked into EOS close enough due to lack of time.

It's a horrible idea to store video inside a blockchain. You make the chain fat then no one can download it.

All very interesting and promising. It gives me relief to see people are talking these problems head on. There are so many little hurdles we need to figure out if we are going to take over the web and this is very reassuring that so many projects are in the work to make it all happen

I agree! If I was not trying to fix an issue with the knowledge that I am given than I would just be a usurp the chain. <3

Congratulations! This post has been upvoted from the communal account, @minnowsupport, by jrswab from the Minnow Support Project. It's a witness project run by aggroed, ausbitbank, teamsteem, someguy123, neoxian, followbtcnews, and netuoso. The goal is to help Steemit grow by supporting Minnows. Please find us at the Peace, Abundance, and Liberty Network (PALnet) Discord Channel. It's a completely public and open space to all members of the Steemit community who voluntarily choose to be there.

If you would like to delegate to the Minnow Support Project you can do so by clicking on the following links: 50SP, 100SP, 250SP, 500SP, 1000SP, 5000SP.
Be sure to leave at least 50SP undelegated on your account.

This post has been resteemed from MSP3K courtesy of @jrswab from the Minnow Support Project ( @minnowsupport ).

Bots Information:

Join the P.A.L. Discord | Check out MSPSteem | Listen to MSP-Waves

Very interesting article !
Please take time to write other technical posts such as this one.
Cheers

Posted using Partiko iOS

Thank you!

Congratulations! Your post has been selected as a daily Steemit truffle! It is listed on rank 12 of all contributions awarded today. You can find the TOP DAILY TRUFFLE PICKS HERE.

I upvoted your contribution because to my mind your post is at least 7 SBD worth and should receive 156 votes. It's now up to the lovely Steemit community to make this come true.

I am TrufflePig, an Artificial Intelligence Bot that helps minnows and content curators using Machine Learning. If you are curious how I select content, you can find an explanation here!

Have a nice day and sincerely yours,
trufflepig
TrufflePig

Getting all kinds of love!


Congratulations @jrswab!
You raised your level and are now a Dolphin!

Do not miss the last post from @steemitboard:

SteemFest³ - SteemitBoard support the Travel Reimbursement Fund.

Support SteemitBoard's project! Vote for its witness and get one more award!

Hi @jrswab!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your UA account score is currently 5.888 which ranks you at #329 across all Steem accounts.
Your rank has improved 6 places in the last three days (old rank 335).

In our last Algorithmic Curation Round, consisting of 450 contributions, your post is ranked at #57.

Evaluation of your UA score:
  • You've built up a nice network.
  • The readers like your work!
  • You have already shown user engagement, try to improve it further.

Feel free to join our @steem-ua Discord server