Introduce to IPFS

Table of Content

First of all, I think IPFS will be the future. What’s IPFS? Let’s look at from

IPFS powers the Distributed Web.
A peer-to-peer hypermedia protocol
designed to preserve and grow humanity's knowledge
by making the web upgradeable, resilient, and more open.

How IPFS works? (Quote from

Here’s what happens when you add a file to IPFS — whether you are storing that file on your own local node or one operated by a pinning service or IPFS-enabled app. When you add a file to IPFS, your file is split into smaller chunks, cryptographically hashed, and given a unique fingerprint called a content identifier (CID). This CID acts as an permanent record of your file as it exists at that point in time. When other nodes look up your file, they ask their peer nodes who’s storing the content referenced by the file’s CID. When they view or download your file, they cache a copy — and become another provider of your content until their cache is cleared. A node can pin content in order to keep (and provide) it forever, or discard content it has not used in a while to save space. This means each node in the network stores only content it is interested in, plus some indexing information that helps figure out which node is storing what. If you add a new version of your file to IPFS, its cryptographic hash is different, and so it gets a new CID. This means files stored on IPFS are resistant to tampering and censorship — any changes to a file don’t overwrite the original, and common chunks across files can be reused in order to minimize storage costs. However, this doesn’t mean you need to remember a long string of CIDs — IPFS can find the latest version of your file using the IPNS decentralized naming system, and DNSLink can be used to map CIDs to human-readable DNS names.

Whatever, in simple words: IPFS powers the distributed Internet. # How can IPFS influences our life? First, as a blogger(maybe), I always think about where to put my pictures on. Object storage are too expensive and I can’t afford it.(You see, I have no money in. No sponsors, no ads.). That’s what IPFS comes in to play.I can put pictures on IPFS use a pinning service called Infura(See more details about pinning on, it’s safe, cheap and fast.(IPFS stores everything on nodes/peers/swarms, maybe they are all over the world. So I don’t have to purchase CDN(Well, Cloudflare is still a thing and I am currently using it.) or storage.) Next, if you are a normal person, then IPFS may not influence you at this moment. But you may experience it in your daily life. This picture down below explains that how many companies/services are using IPFS.(Quoted from in Jul 17, 2020) See the most recent one on ecosystem.ipfs.ioThen, you can even put a static website on IPFS using IPNS!(maybe I will post a tutorial later.) It can be your blog or ‘about’ page. With a little or no cost. Finally, IPFS is still at the beginning, but a lot of people (including me) says: IPFS will replace traditional HTTP protocol at last. Oh, by the way, the whole was on IPFS. Funny huh. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.