超文本传输协议 (HTTP):
HTTP 是由 Tim Berners Lee 在 1989 年在 Cern 创建的应用层协议,目前用于 Web 上的大部分数据传输。它是在万维网上使用超文本文件进行数据通信的基础。
星际文件系统(IPFS):
IPFS 是一种相对较新的协议,可以改变我们使用互联网的方式。它是由 Juan Benet 在 2015 年创建的一个雄心勃勃的项目,旨在创建一个完全去中心化的网络,并利用计算机科学中的许多革命性思想来做到这一点。
HTTP 和 IPFS 的区别:
HTTP | IPFS |
---|---|
It uses a centralised client server approach. | It uses a decentralised peer to peer approach. |
Data is requested using the address on which data is hosted. | Data is requested using the cryptographic hash of that data. |
Data cannot be accesed if the server is down or fails or any link gets broken. | Data is copied to multiple nodes, hence it can be accessed whenever needed. |
The bandwidth provided is low, as multiple clients request from a single server at the same time. | Bandwidth is high, as data is requested from the closest peer who has the copy of that data. |
One has to set up a hosting server or pay for one, inorder to make content publically available. | Uploading content on the IPFS network does not require a host server, every node hosts the data on the network. |
HTTP is well established as an industry standard, this is where HTTP has an upper hand. | IPFS is relatively newer and is not yet as popular as HTTP. |
HTTP support is inbuilt on almost all machines. | To run IPFS you need to access it using the HTTP to IPFS portal or manually setup up an IPFS node on your machine. |
HTTP is used by almost everyone to access the web. | Currently, there is a shortage of IPFS nodes due to it’s low popularity among the laymen. |