Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Consider how distributed IPFS is
Search
biga816
August 30, 2018
Technology
2
5k
Consider how distributed IPFS is
biga816
August 30, 2018
Tweet
Share
More Decks by biga816
See All by biga816
Euler Finance Hacking Incident
biga816
0
530
BlockchainTokyo23.pdf
biga816
1
370
BuidlMeetupVol2.pdf
biga816
0
28
Service Worker Cache Problems
biga816
0
1.5k
Centralized Dapps to read from Dapps game
biga816
1
2.3k
Usage of ethereum libraries for dapps
biga816
0
4.4k
Other Decks in Technology
See All in Technology
個人開発から公式機能へ: PlaywrightとRailsをつなげた3年の軌跡
yusukeiwaki
11
3k
バックエンドエンジニアのためのフロントエンド入門 #devsumiC
panda_program
18
7.4k
リーダブルテストコード 〜メンテナンスしやすい テストコードを作成する方法を考える〜 #DevSumi #DevSumiB / Readable test code
nihonbuson
11
7.1k
君も受託系GISエンジニアにならないか
sudataka
2
430
ユーザーストーリーマッピングから始めるアジャイルチームと並走するQA / Starting QA with User Story Mapping
katawara
0
200
7日間でハッキングをはじめる本をはじめてみませんか?_ITエンジニア本大賞2025
nomizone
2
1.8k
あれは良かった、あれは苦労したB2B2C型SaaSの新規開発におけるCloud Spanner
hirohito1108
2
550
急成長する企業で作った、エンジニアが輝ける制度/ 20250214 Rinto Ikenoue
shift_evolve
3
1.3k
Larkご案内資料
customercloud
PRO
0
650
RSNA2024振り返り
nanachi
0
570
プロダクトエンジニア構想を立ち上げ、プロダクト志向な組織への成長を続けている話 / grow into a product-oriented organization
hiro_torii
0
110
なぜ私は自分が使わないサービスを作るのか? / Why would I create a service that I would not use?
aiandrox
0
720
Featured
See All Featured
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Visualization
eitanlees
146
15k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.3k
Site-Speed That Sticks
csswizardry
4
380
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
7k
Documentation Writing (for coders)
carmenintech
67
4.6k
Scaling GitHub
holman
459
140k
Typedesign – Prime Four
hannesfritz
40
2.5k
Transcript
IPFSはどの程度分散的なのか 考えてみる Akihiro Tanaka(@biga816)
⾃⼰紹介 名前:⽥中昭博 元AccentureのWeb&Mobileエンジニア Trident Artsチーフエンジニア 地下アイドル向けのDApps絶賛開発中
http://unco.design
IPFSはどの程度分散型なのか 考えてみる
CryptokittiesとEtheremonのシステム構成 からDappsの姿を読み解いてみる Hi-Ether LT
Decentralized Applications →Centralized Applications Hi-Ether LT
IPFSのイメージ Node Node Node Node Node Node Node Node Node
Node Own Node Client Upload
IPFSのイメージ Node Node Node Node Node Node Node Node Node
Node Own Node Client
IPFSノードを⽴ているだけ じゃどこにも伝播しないぞ!
IPFSの現実 Node Node Node Node Node Node IPFS Gateway Node
Node Node Own Node Client Upload
IPFSの現実 Node Node Node Node Node Node IPFS Gateway Node
Node Node Own Node Client
IPFSの現実 Node Node Node Node Node Node IPFS Gateway Node
Node Node Own Node Client
IPFSの現実 Node Node Node Node Node Node IPFS Gateway Node
Node Node Own Node Client
IPFSの現実 Node Node Node Node Node Node IPFS Gateway Node
Node Node Own Node Client
IPFS特徴 ピン⽌めされたコンテンツしか永続的に保存されない - アップロードしたノードではデフォルトでピン留される - ピン⽌めされていないコンテンツはキャッシュとして対象のノードに残り続けるが、garbage collectionが⾛ると消える可能性がある。 (IPFS Gatewayはアクセスが多いため、頻繁にキャッシュが消えていると思われる。) ピン⽌めするインセンティブがない
- その他のノードのコンテンツをピン⽌めするメリットは基本的にないため、アップロードした Nodeでしたピンどめされないと思われる。 そもそもキャッシュが作られない - ほとんどのケースでアップロードしたノードからしかコンテンツにアクセスしないため、他の ノードでキャッシュが作られない
あまり分散感が 感じられない!
IPFSの理想1:Nodeをたてて同⼀ファイルにアクセスするメリットがある Node Own Node Own Node Own Node Node Node
Own Node Node Node Node Own Node Client Client Client Client Client Access Access
IPFSの理想2:ピン留めに何かしらのインセンティブ※ がある Node Node Node Node Node Node Node Node
Node Node Own Node Client ※暗号通貨によるイン センティブ設計を⾏う と、 filecoinやstorjとい う分散型ストレージ サービスのようになる
Thank you Twitter: @biga816 Qiita: biga816 http://unco.design