[心得] 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