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
4.7k
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
400
BlockchainTokyo23.pdf
biga816
1
340
BuidlMeetupVol2.pdf
biga816
0
22
Service Worker Cache Problems
biga816
0
1.3k
Centralized Dapps to read from Dapps game
biga816
1
2.1k
Usage of ethereum libraries for dapps
biga816
0
4.2k
Other Decks in Technology
See All in Technology
サービス成長と共に肥大化するモノレポ、長くなるCI時間 / As services grow, monorepos get bigger and CI time gets longer
kohbis
5
2k
オブジェクト指向宗教史
tanakahisateru
13
11k
Autify Company Deck
autifyhq
1
30k
Elementaryを用いたデータ品質の可視化とデータ基盤の運用改善
10xinc
6
1.4k
任意コード実行の原理
ffri
0
160
生成AIの不確実性と向き合うためのオブジェクト指向設計
tkikuchi1002
2
300
WebXR で Web をもっと楽しもう
qst_exe
0
110
エンジニア候補者向け資料2024.03.28.pdf
macloud
0
2.9k
Tohoku.Tech #1 「EC-CUBE/AWSの構築をChatGPTに相談してみました」by テンダ
jun2882
0
140
SREsのためのSRE定着ガイド
netmarkjp
10
1.5k
私のRSpecの書き方 / How I write RSpec
tmtms
4
820
チーム単位で保守性を高める:独自指標と向上にむけた実践
tarappo
0
290
Featured
See All Featured
Pencils Down: Stop Designing & Start Developing
hursman
115
11k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
39
4.3k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
226
16k
Building Flexible Design Systems
yeseniaperezcruz
317
37k
Optimising Largest Contentful Paint
csswizardry
7
2.3k
GraphQLの誤解/rethinking-graphql
sonatard
48
9.1k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
124
32k
Gamification - CAS2011
davidbonilla
76
4.5k
For a Future-Friendly Web
brad_frost
170
8.9k
Producing Creativity
orderedlist
PRO
335
39k
Stop Working from a Prison Cell
hatefulcrawdad
265
19k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
319
20k
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