Bob Cheng
Other

IPFS & Blockchain

IPFS

一個以 hash value 來識別資料的 peer-to-peer netwok

  • 你 (一個 node) 可以透過 hash 來索取資料,IPFS 就會在 network 裡找到擁有相同 hash 的檔案的 nearest node,並 cached 一份到你的 node 上
  • IPFS 不是一個儲存系統,資料實際上是儲存在各個 nodes 上;只有當至少一個 node (包括你自己) 將資料 pin 在 IPFS 上時,它才會留存
    • 實際上現在有許多 IPFS storage service (e.g. Pinata) 在做的事情就是透過他們的 nodes 將你的資料 pin 在 IPFS 上
  • Verifiable: 因為檔名就是檔案內容的 hash value,所以無論 provider 是誰都可以確保檔案是對的
  • Resilient: 因為一個檔案可能被 pin 在多個 nodes 上,所以遺失的風險比較小

Blockchain

(待補)


Refernce