[心得] IPFS 介紹

作者: feelthewind (feelthewind)   2018-10-23 10:59:53
IPFS 為 InterPlanetary File System 的縮寫,
是一種分散式的檔案系統,
簡單來說是用 P2P 來分散儲存資料,
相關介紹可以參閱 http://ipfser.org/ 這個網站
先來介紹如何簡單的使用 IPFS
ipfs-desktop
github : https://github.com/ipfs-shipyard/ipfs-desktop
發佈網頁 : https://github.com/ipfs-shipyard/ipfs-desktop/releases
ipfs-companion
github : https://github.com/ipfs-shipyard/ipfs-companion
發佈網頁 : https://github.com/ipfs-shipyard/ipfs-companion/releases
ipfs-desktop 可以幫你簡單的安裝 IPFS 主程式
預設安裝路徑為 C:\Users\使用者名稱\.ipfs
預設的快取為 10 GB
如果要移除可以去控制台移除,
並刪除預設安裝的資料夾
ipfs-companion 可以讓你簡單的在瀏覽器上操作 IPFS 的功能
它是已瀏覽器插件的方式安裝 目前有 chrome firefox 版本
建議兩個都安裝
安裝後可以使用 open webUI 來操作看看
利用 IPFS 可得到一個哈希值來分享檔案
如 Ubuntu 18.04.1 LTS :
https://ipfs.io/ipfs/QmbJY7ZM8vGQdaBcXARTGZ2AxdUuv534TtgMMmp3MbXkr2
心得:
目前 bug 不少
例如 webUI 無法上傳大型檔案,
連線數的網頁 CPU 使用率過高,
對電腦效能要求比較高,
一般連線數大約八百上下,
未來可能會支援 torrent ( https://github.com/ipfs/js-ipfs/issues/779 ),
一般 P2P 下載,
會害怕吸血軟體,
但他有個 filecoin 的項目來獎勵上傳,
簡單來說是利用你閒置的硬碟空間和網路流量來挖礦
以上

Links booklink

Contact Us: admin [ a t ] ucptt.com