Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source:...
Transcript of Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source:...
![Page 1: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/1.jpg)
Adam Uhlir
![Page 2: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/2.jpg)
Full-stack dev
Studied distributed systems
Focus(ed) on Cloud
Following IPFS since 2017
Actively contributing to js-ipfs
Since 2018 expanded to DWeb
![Page 3: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/3.jpg)
![Page 4: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/4.jpg)
![Page 5: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/5.jpg)
1 MB x 6 = 6 MB
![Page 6: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/6.jpg)
30 requests
![Page 7: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/7.jpg)
30 x 1 MB x 6 = 180 MB
![Page 8: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/8.jpg)
![Page 9: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/9.jpg)
![Page 10: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/10.jpg)
![Page 13: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/13.jpg)
![Page 14: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/14.jpg)
![Page 15: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/15.jpg)
Source: https://en.wikipedia.org/wiki/Internet_censorship_and_surveillance_by_country
![Page 16: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/16.jpg)
![Page 17: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/17.jpg)
Data retention ownership
![Page 18: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/18.jpg)
Annual traffic of 3,3 ZB by 2021(1,2 EB in 2016; 120 PB in 2008)
Source: Cisco Visual Networking Index Report 2017
![Page 19: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/19.jpg)
![Page 20: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/20.jpg)
Peer-to-PeerHypermedia
Content-AddressableDistribution
Protocol
![Page 21: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/21.jpg)
Peer-to-PeerHypermedia
Content-AddressableDistribution
Protocol
![Page 22: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/22.jpg)
SFS DHT
![Page 23: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/23.jpg)
#
![Page 24: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/24.jpg)
#“Hello” → 09f7e02f1290be211da707a266f153b3
“hello” → e134ced312b3511d88943d57ccd70c83
![Page 25: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/25.jpg)
http://www.example.com/cute/puppy.jpg Uniform Resource Locator (URL)
/ipfs/Qm34ced312b3511d88943d57ccd70c83Content Address Identifier (CID)
# Qm34ced31...
![Page 26: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/26.jpg)
http://www.example.com/archives/index.html
Immutability Verification
Deduplication
Uniform Resource Locator (URL)
/ipfs/Qm34ced312b3511d88943d57ccd70c83Content Address Identifier (CID)
![Page 27: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/27.jpg)
Merkle Tree/Links
![Page 28: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/28.jpg)
![Page 29: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/29.jpg)
hello.txt cat.jpg contract.doc dog.png
hash(hello.txt)
Hash A
hash(cat.jpg)
Hash B
hash(contract.doc)
Hash C
hash(dog.jpg)
Hash D
hash(A+B)
Hash AB
hash(C+D)
Hash CD
hash(AB+CD)
Hash ABCD
cute_dog.png
hash(cute_dog.jpg)
Hash D’
hash(C+D’)
Hash CD’
hash(AB+CD’)
Hash ABCD’
![Page 30: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/30.jpg)
![Page 31: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/31.jpg)
.├── big_file.js├── hello.txt└── my_dir ├── my_file.txt └── testing.txt
![Page 32: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/32.jpg)
.
my_dir
testing.txtmy_file.txt
big_file.js hello.txt
Qm4jAk8km1QmZma94lk2
QmKj25hzp5
QmZma94lk2Qm4m291afx
Qm3qbWD
![Page 33: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/33.jpg)
QmAcZt31f
Qm1u48FnZj
QmFjZ83íSfAD
.
my_dir
testing.txt
big_file.js
hello.txtmy_file.txt
Qm4jAk8km1
QmKj25hzp5
QmZma94lk2
Qm4m291afx
Qm3qbWD
![Page 34: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/34.jpg)
Source: ConsenSys blog
![Page 35: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/35.jpg)
/ipfs/Qm3qbWD/my_dir/testing.txt
![Page 36: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/36.jpg)
How is the content found?Distributed Hash Table!
![Page 37: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/37.jpg)
DHT
/ipfs/Qm34c...A
/ipfs/Qm34c...A231.142.154.214
231.142.154.214
![Page 38: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/38.jpg)
BitSwap
![Page 39: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/39.jpg)
Pinning
![Page 40: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/40.jpg)
![Page 41: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/41.jpg)
![Page 42: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/42.jpg)
What about dynamic content?IPNS!
![Page 43: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/43.jpg)
IPNS /ipns/<NodeId>/archives/index.html
IPFS /ipfs/QmZBuTfLH1LL/archives/index.html
Publickey
Privatekey
NodeId = hash(PubKey)
index.htmlPubKey/ipfs/QmZBuTfLH1LLSigned by PrivateKey
IPFS Object
IPNS /ipns/QmAjdsa241d/archives/index.html
![Page 44: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/44.jpg)
Pub/Sub mechanism
![Page 45: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/45.jpg)
![Page 46: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/46.jpg)
Where does it fit in the world of Web?
![Page 47: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/47.jpg)
![Page 48: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/48.jpg)
DB → Blockchain / IPFS objects
Non-trusted execution→ Smart Contracts
![Page 49: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/49.jpg)
Adoption plan
IPFS Gateway (gateway.ipfs.io)DNS TXT ‘dnslink’IPFS Companiongo-ipfs | js-ipfs
many others client libraries
![Page 50: Adam Uhlir - LinuxDays · Annual traffic of 3,3 ZB by 2021 (1,2 EB in 2016; 120 PB in 2008) Source: Cisco Visual Networking Index Report 2017](https://reader036.fdocuments.in/reader036/viewer/2022081611/5f02ca727e708231d4060685/html5/thumbnails/50.jpg)
DWeb Prague
meetup.com/dweb-prague