In the past few decades, most of us have benefited a lot from the great changes brought to our lives by the Internet. Dig K Jiawei slf5576. Now we are used to constantly obtaining information, establishing virtual communities through social media and the convenience provided by e-commerce websites. In fact, all these are realized through Hypertext Transfer Protocol (HTTP), which was launched in 1989 to promote information sharing among CERN researchers.
However, since the early development stage of Web 1.0, online content has developed greatly. At that time, web pages were mostly static and rarely involved user generated content or interactive information. With the development of the Internet towards Web 2.0, this pattern began to focus on interoperability and participatory culture, which can be reflected in a large number of user generated content on Wikipedia, blogs, video and image sharing websites and social media platforms, as well as meet the needs of streaming media services. However, the emergence of these bandwidth intensive hypermedia and the possible influx of data brought by the Internet of things gradually put pressure on the Internet and prompted some people to seek alternatives.
IPFs: “faster, more secure, more open network“
A promising candidate for building the next generation network Web3. O is interstellar file system (IPFs), which is a relatively new hypermedia protocol and decentralized data storage system. It uses point-to-point (P2P) network architecture.
The sci-fi name IPFs is an affirmation of the thinking of American computer scientist J.C.R. Licklider on “Galaxy computer network” in the 1960s. IPFs was first developed by Juan benet, an American computer scientist and founder of protocol labs, in 2014 to solve some shortcomings of HTTP. Bennett’s goal is to create something that may eventually become a “new subsystem of the Internet”, dig K Jiawei slf5576, and also take into account new developments such as distributed ledger technology supporting blockchain.
Mike al Rogers, the engineering manager of the protocol laboratory, explained that “IPFs is a decentralized data network. Anyone in the world can provide data in the network and safely receive data from them or anyone else”. IPFs was and is still developed as a data transmission protocol of Web 3.0. Because the protocol is completely decentralized and all data is processed through hash, it is very suitable for blockchain applications that need to process a large amount of data, which cannot be embedded in the chain itself. “
The decentralized model based on IPFs is in sharp contrast to the client server model running http. HTTP was originally designed to transfer information between web browsers and web servers. It is location-based addressing, allowing users to access data stored on centralized servers. Although this simplifies the management and distribution of data, it is not efficient. This is because when you click on a website, your web browser must connect directly to the server hosting the website. For audio and video files with large memory, it may occupy a lot of bandwidth and even be quite expensive, especially when the source server is located far away. Browsing or downloading popular content can also lead to network congestion. HTTP also has potential privacy and security problems: anyone who controls the server can access or change data, dig K Jiawei slf5576, or the network cannot be accessed due to distributed denial of service (DDoS) attacks by hackers.
In contrast, IPFs is based on content addressing, so that the content can be verified and separated from the remote server, and the content can be stored closer to the user. It can do this by using content identifiers (CID) or “tags” that are used in IPFs to point to materials. CID is generated based on content encrypted hash.
Rogers said: “when you put data into IPFs, it can be obtained through hash address or CID. Anyone in the world can enter this address into their computer and retrieve the data. Just as anyone in the world can put a URL link into a browser and retrieve it, anyone with a CID can retrieve the data available in the IPFs network. “
Any difference in content will lead to different CIDS, while the same content added to different IPFs nodes will still produce the same CID, which means that users can easily verify the integrity of data. In addition to providing decentralized content storage and verification, IPFs can also be used to build and host decentralized applications (dapps), an open-source computer application whose back-end code runs on a point-to-point network.
Rogers added, “with CID, the data hash you are looking for is in the address, so you can get data from anywhere, because you can verify the correctness of the data by comparing the hash. It allows you to have a decentralized and untrusted network, because you can retrieve data from anywhere or anyone, And verify whether the data is correct through encryption. “