Intro to IPFS






IPFS stands for InterPlanetary File System, It is used to store files in a distributed decentralized manner, following points are helpful in understanding IPFS.


FEATURES 

1. IPFS is content addressable :


IPFS protocol finds data by using content address instead of path address, whenever any data is published to IPFS it will return the hash of the content (like this /ipfs/mQy76CQGy9NdmqEnnHU9soCexBnGU3ezPHVH), if we talk about centralized approach  we will get a path like  " https://www.domainName.com/yourData". In centralized approach we can get data using the URl and in IPFS we can get data using the hash .
 
2. IPFS is peer-to-peer connection :



 IPFS is same as world wide web but in this a peer can connect to another peer directly, there is no need of any centralized node.

3. IPFS gateway : IPFS can be access over the HTTP protocol we can make our own gateway or we can use another gateway like infura. In our local system ipfs provide a local gateway "localhost:8080/ipfs/HashOfContent"

4. IPFS is distributed and decentralized:



If we talk about distributed and decentralized we can take the example of blockchain where data is distributed among all the peers this concept is same as in IPFS a file is distributed among all the peers of the network, all peers need to allocate some disk space to ipfs and for this a peer is rewarded with filecoin it is same as bitcoin, ether etc.

5. Anyone can make their system as ipfs peer .

ADVANTAGES 

1. There is no centralized node so failure of a node does not effect on the data availability.

2. Data is gathered from different node so it will increase the serving speed as well as downloading speed.

3. IPFS use the content hash to remove duplicacy.

4. IPFS also manage the version of file/data.

5. It locates the Geo-graphical location then fetch data or file from nearest nodes.

NOTE: for more detail please visit the official website of IPFS .

In next artical we will demonstrate how to setup a public IPFS network.

Comments

Popular posts from this blog

Private network in IPFS

How to setup a IPFS network in Ubuntu