IPFS is a peer-to-peer distributed file system that connects all devices with a single file system.
In a way, IPFS is similar to the World Wide Web.
It’s interesting that the regular Internet if often referred to the “World Wide Web’, while IPFS is called the “InterPlanetary File System”, that is because IPFS is a part of the brand new Web 3.0.
IPFS represents content-addressing in the Internet. Any file uploaded to the IPFS will be linked to via a hash.
So, when we upload a file into the regular Internet, our link will appear as HTTP/site address/file directory/file, while in IPFS we simply receive a hash, coded in BASE58.
IPFS stores data on distributed servers/devices. The content is accessed quickly, since it is requested from the closest server/device available.
On the other hand, in the regular Internet, a file uploaded to a server in America, Japan or Australia will take longer to load than a file on a server in Russia. This is similar to latency in online video games.
Submarine cables
Schematic map of Internet cables
To make things clearer, let’s take a look at the map of submarine fiberoptic cables of the Internet.
An estimated IPFS map. Here is an estimated IPFS map, where it is possible to quickly load content from the point that is closest to the user. Since the entire network in interconnected, all data is constantly being updated/synced with a distributed ledger.