DApp: Decentralized Application
- Uploading and downloading of a file should be feasible
- In case of a failure, file should be recoverable.
To build these requirements on a decentralized network, the files will be stored on nodes of the network where some nodes will be the primary server of the file, some will be back server of the file. Now lets see how decentralized network will solve the problems we discussed in the previous post
Data Privacy Problem
A file which is stored on a decentralized network can be broken into multiple parts and each part is encrypted with the file owner's key before its sent to the network. This provides privacy to the user's data and no one apart from the owner can view the contents of the file because only owner has the key. There is no organization, no central authority which can access the file's data.
Closed Source Problem
Because a decentralized application is run over unidentifiable computer nodes which are not controlled by a single organization, the source code of the application is made globally available so that anyone can verify the application and run it on their computer. This solves the closed source problem which no central organization can do. Anyone with access to the source code can validate whether the application has some loopholes which can lead to a data leak.
Data Encryption Problem
A decentralized application solves the encryption problem while solving the privacy problem.
When I wanted to write this article, I looked around for some real world example and I found Storj. Its a decentralized file storage application which solves all of the above problems. Now storj is not a free service but it definitely is a cheap service. Let me help you understand why storj is not a free service. As a decentralized application can be run over computer nodes of people like you and me, it needs to compensate the computer owners for lending their computer. It does so by collecting a small fee from the file owner. I also read Storj Whitepaper which describes the internal working of this application and I learnt something interesting: Erasure Codes. This is the new way to store a file keeping the replication factor to a minimum and file availability to a maximum. I might cover it in some other post
There is also a Polkadot buildathon happening in May 2021 and I have registered for it. During this event, I will be learning a whole lot about Polkadot network and will also be building my own blockchain solution. So look out for upcoming posts.
Comments
Post a Comment