SlideShare a Scribd company logo
Roger
InterPlanetary File System
⠂ IPFS is a protocol designed to create a permanent and decentralized
method of storing and sharing files
⠂ Faster, safer and more open web
⠂ IPFS aims to replace HTTP and build a better web for all of us
2
Network Topology
⠂ Centralised
� Single server
� Difficult to scale
� Single point of failure
⠂ Decentralised
� Multiple servers
� Demand and failures better
handled
� Expensive
3
IPFS Topology
⠂ Fully distributed network
⠂ Acts both server and client
4
The web of tomorrow needs IPFS today
5
HTTP is inefficient and expensive
⠂ HTTP downloads a file from a
single computer at a time,
instead of getting pieces from
multiple computers
simultaneously.
⠂ IPFS makes it possible to
distribute high volumes of data
with high efficiency
6
Humanity's history is deleted daily
⠂ The average lifespan of a web
page is 100 days.
⠂ IPFS provides historic
versioning (like git) and makes
it simple to set up resilient
networks for mirroring of data.
7
The web's centralization limits opportunity
⠂ The Internet is a real
accelerator of innovation. But
the increasing consolidation of
control is a threat to that.
⠂ IPFS remains true to the
original vision of the open and
flat web.
8
Our apps are addicted to the backbone
⠂ All trivial compared to
interplanetary networking.
� Developing world
� Offline
� Natural disasters
� Intermittent connections
⠂ IPFS powers the creation of
diversely resilient networks.
9
How IPFS works?
10
11
Application
Naming
MerkleDAG
Exchange
Routing
Network
Web
SFS
Git
BitTorrent
DHT
The Stack
12
Application
Naming
MerkleDAG
Exchange
Routing
Network
Web
SFS
Git
BitTorrent
DHT
Using the Data
Defining the Data
Moving the Data
IPLD: InterPlanetary Linked Data
⠂ Any data structure can be
represented as a DAG
13
Merkle DAG
14
test_dir
└ bigfile.js
└ hello.txt
└ my_dir
└ my_file.txt
└ testing.txt
Versioned file systems
15
test_dir
└ bigfile.js
└ hello.txt
└ my_dir
└ my_file.txt
└ testing.txt
IPNS: InterPlanetary Name System
⠂ IPNS is a way to add a small amount of mutability to the permanent
immutability that is ipfs.
⠂ Store a reference to an ipfs hash under the namespace of peerID ( public
key hash )
16
/ipns/Qmaaaaaaaaaaa
/ipfs/Qmbbbbbbbbbbbb/website_hash
Demo
17
Demo: Add / Cat / List files
18
# add / download single file
> ipfs add/get <FILE_PATH>
# cat file
> ipfs cat <FILE_HASH>
# add / download folder
> ipfs add/get -r <FOLDER_PATH>
# list folder
> ipfs ls -v <FOLDER_HASH>
Demo: Large file ( > 256 KB)
19
# add / download large file
> ipfs add/get <FILE_PATH>
# get links of large file
> ipfs object get <FILE_HASH>
Demo: Pinning
20
# 1. add file
# 2. pin operating
> ipfs pin ls --type=all
# 3. remove cache
> ipfs pin rm -r <FILE_HASH>
# 4. remove cache
> ipfs repo gc
Demo: Playing videos
21
# add mp4 file
> ipfs add test.mp4
# playing video using browser
https://ipfs.io/ipfs/<VIDEO_HASH>
http://localhost:8080/ipfs/<VIDEO_HASH>
Demo: Git, even more distributed
22
# git clone (ex: bitmarklib)
> git clone --bare https://github.com/bitmark-inc/go-
bitmarklib.git
> cd go-bitmarklib
> git update-server-info
# add git repo to IPFS
> ipfs add -r .
# try it
> git clone https://ipfs.io/ipfs/<GIT_HASH>
Demo: Inter-Planetary Naming System (IPNS)
23
# add file
# publish to the network
> ipfs name publish <FILE_HASH>
Published to <your peer ID>: <that hash>
# resolve
> ipfs name resolve <PEER_ID>
# try it
https://ipfs.io/ipns/<PEER_ID>
Demo: IPFS for websites
24
# 1. add website
> ipfs add -r <WEBSITE_FOLDER>
# 2. publish to the network
> ipfs name publish <WEBSITE_HASH>
# 3. try it
https://ipfs.io/ipns/<PEER_ID>
https://gateway.ipfs.io/ipns/<PEER_ID>
Appendix
25
Appendix
26
⠂ Large file ─ 3.77 TB
� https://gateway.ipfsstore.it:8443/ipfs/QmXd2t4WbhpDf643ija6byLE4q3L8GBQ
3u773wWh5zVRT4
⠂ Filecoin
� $200 Million In 60 Minutes ( 257 million raised )
Thanks!
Any Quesions?
27

More Related Content

What's hot

Wireshark Tutorial
Wireshark TutorialWireshark Tutorial
Wireshark Tutorial
Coursenvy.com
 
Module: Content Routing in IPFS
Module: Content Routing in IPFSModule: Content Routing in IPFS
Module: Content Routing in IPFS
Ioannis Psaras
 
DockerCon 2017 - Cilium - Network and Application Security with BPF and XDP
DockerCon 2017 - Cilium - Network and Application Security with BPF and XDPDockerCon 2017 - Cilium - Network and Application Security with BPF and XDP
DockerCon 2017 - Cilium - Network and Application Security with BPF and XDP
Thomas Graf
 
Nat
NatNat
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
Amit Kundu
 
Iptables presentation
Iptables presentationIptables presentation
Iptables presentation
Emin Abdul Azeez
 
ERC20 Token Contract
ERC20 Token ContractERC20 Token Contract
ERC20 Token Contract
KC Tam
 
Pipework: Software-Defined Network for Containers and Docker
Pipework: Software-Defined Network for Containers and DockerPipework: Software-Defined Network for Containers and Docker
Pipework: Software-Defined Network for Containers and Docker
Jérôme Petazzoni
 
IPv6
IPv6IPv6
TRex Realistic Traffic Generator - Stateless support
TRex  Realistic Traffic Generator  - Stateless support TRex  Realistic Traffic Generator  - Stateless support
TRex Realistic Traffic Generator - Stateless support
Hanoch Haim
 
Web3 Security: The Blockchain is Your SIEM
Web3 Security: The Blockchain is Your SIEMWeb3 Security: The Blockchain is Your SIEM
Web3 Security: The Blockchain is Your SIEM
Tal Be'ery
 
OSI Network Layer
OSI Network LayerOSI Network Layer
OSI Network Layer
Sachii Dosti
 
IPSec VPN & IPSec Protocols
IPSec VPN & IPSec ProtocolsIPSec VPN & IPSec Protocols
IPSec VPN & IPSec Protocols
NetProtocol Xpert
 
Blockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challengesBlockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challenges
Sébastien Tandel
 
IPSec and VPN
IPSec and VPNIPSec and VPN
IPSec and VPN
Abdullaziz Tagawy
 
Introduction to tcp ip linux networking
Introduction to tcp ip   linux networkingIntroduction to tcp ip   linux networking
Introduction to tcp ip linux networking
Sreenatha Reddy K R
 
Carrier Ethernet
Carrier EthernetCarrier Ethernet
Carrier Ethernet
vnandlall
 
Understanding hd wallets design and implementation
Understanding hd wallets  design and implementationUnderstanding hd wallets  design and implementation
Understanding hd wallets design and implementation
ArcBlock
 
Module: Content Exchange in IPFS
Module: Content Exchange in IPFSModule: Content Exchange in IPFS
Module: Content Exchange in IPFS
Ioannis Psaras
 

What's hot (20)

Wireshark
WiresharkWireshark
Wireshark
 
Wireshark Tutorial
Wireshark TutorialWireshark Tutorial
Wireshark Tutorial
 
Module: Content Routing in IPFS
Module: Content Routing in IPFSModule: Content Routing in IPFS
Module: Content Routing in IPFS
 
DockerCon 2017 - Cilium - Network and Application Security with BPF and XDP
DockerCon 2017 - Cilium - Network and Application Security with BPF and XDPDockerCon 2017 - Cilium - Network and Application Security with BPF and XDP
DockerCon 2017 - Cilium - Network and Application Security with BPF and XDP
 
Nat
NatNat
Nat
 
Ipv4 & ipv6
Ipv4 & ipv6Ipv4 & ipv6
Ipv4 & ipv6
 
Iptables presentation
Iptables presentationIptables presentation
Iptables presentation
 
ERC20 Token Contract
ERC20 Token ContractERC20 Token Contract
ERC20 Token Contract
 
Pipework: Software-Defined Network for Containers and Docker
Pipework: Software-Defined Network for Containers and DockerPipework: Software-Defined Network for Containers and Docker
Pipework: Software-Defined Network for Containers and Docker
 
IPv6
IPv6IPv6
IPv6
 
TRex Realistic Traffic Generator - Stateless support
TRex  Realistic Traffic Generator  - Stateless support TRex  Realistic Traffic Generator  - Stateless support
TRex Realistic Traffic Generator - Stateless support
 
Web3 Security: The Blockchain is Your SIEM
Web3 Security: The Blockchain is Your SIEMWeb3 Security: The Blockchain is Your SIEM
Web3 Security: The Blockchain is Your SIEM
 
OSI Network Layer
OSI Network LayerOSI Network Layer
OSI Network Layer
 
IPSec VPN & IPSec Protocols
IPSec VPN & IPSec ProtocolsIPSec VPN & IPSec Protocols
IPSec VPN & IPSec Protocols
 
Blockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challengesBlockchain overview, use cases, implementations and challenges
Blockchain overview, use cases, implementations and challenges
 
IPSec and VPN
IPSec and VPNIPSec and VPN
IPSec and VPN
 
Introduction to tcp ip linux networking
Introduction to tcp ip   linux networkingIntroduction to tcp ip   linux networking
Introduction to tcp ip linux networking
 
Carrier Ethernet
Carrier EthernetCarrier Ethernet
Carrier Ethernet
 
Understanding hd wallets design and implementation
Understanding hd wallets  design and implementationUnderstanding hd wallets  design and implementation
Understanding hd wallets design and implementation
 
Module: Content Exchange in IPFS
Module: Content Exchange in IPFSModule: Content Exchange in IPFS
Module: Content Exchange in IPFS
 

Similar to Ipfs

Decentralized storage
Decentralized storageDecentralized storage
Decentralized storage
Anurag Dashputre
 
Ipfs installation and demo
Ipfs installation and demoIpfs installation and demo
Ipfs installation and demo
Naveen Davis
 
Introduction to IPFS & Filecoin - longer version
Introduction to IPFS & Filecoin - longer versionIntroduction to IPFS & Filecoin - longer version
Introduction to IPFS & Filecoin - longer version
TinaBregovi
 
Introduction to Filecoin
Introduction to Filecoin   Introduction to Filecoin
Introduction to Filecoin
Vanessa Lošić
 
Spectrum Scale Unified File and Object with WAN Caching
Spectrum Scale Unified File and Object with WAN CachingSpectrum Scale Unified File and Object with WAN Caching
Spectrum Scale Unified File and Object with WAN Caching
Sandeep Patil
 
Software Defined Analytics with File and Object Access Plus Geographically Di...
Software Defined Analytics with File and Object Access Plus Geographically Di...Software Defined Analytics with File and Object Access Plus Geographically Di...
Software Defined Analytics with File and Object Access Plus Geographically Di...
Trishali Nayar
 
Hosting Open Source Projects at the OSUOSL
Hosting Open Source Projects at the OSUOSLHosting Open Source Projects at the OSUOSL
Hosting Open Source Projects at the OSUOSLOSU Open Source Lab
 
IBM Platform Computing Elastic Storage
IBM Platform Computing  Elastic StorageIBM Platform Computing  Elastic Storage
IBM Platform Computing Elastic Storage
Patrick Bouillaud
 
Distributed Storage with IPFS and Python!
Distributed Storage with IPFS and Python!Distributed Storage with IPFS and Python!
Distributed Storage with IPFS and Python!
Abhinav Srivastava
 
Peter Tiernan - Ceph at the Digital Repository of Ireland
Peter Tiernan - Ceph at the Digital Repository of IrelandPeter Tiernan - Ceph at the Digital Repository of Ireland
Peter Tiernan - Ceph at the Digital Repository of Ireland
dri_ireland
 
Ceph at the Digital Repository of Ireland - Ceph Day Frankfurt
Ceph at the Digital Repository of Ireland - Ceph Day Frankfurt Ceph at the Digital Repository of Ireland - Ceph Day Frankfurt
Ceph at the Digital Repository of Ireland - Ceph Day Frankfurt
Ceph Community
 
PVFS: A Parallel File System for Linux Clusters
PVFS: A Parallel File System for Linux ClustersPVFS: A Parallel File System for Linux Clusters
PVFS: A Parallel File System for Linux Clusters
Tawose Olamide Timothy
 
[Lucas Films] Using a Perforce Proxy with Alternate Transports
[Lucas Films] Using a Perforce Proxy with Alternate Transports[Lucas Films] Using a Perforce Proxy with Alternate Transports
[Lucas Films] Using a Perforce Proxy with Alternate TransportsPerforce
 
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Community
 
Spark Pipelines in the Cloud with Alluxio by Bin Fan
Spark Pipelines in the Cloud with Alluxio by Bin FanSpark Pipelines in the Cloud with Alluxio by Bin Fan
Spark Pipelines in the Cloud with Alluxio by Bin Fan
Data Con LA
 
Speeding up I/O for Machine Learning ft Apple Case Study using TensorFlow, N...
Speeding up I/O for Machine Learning  ft Apple Case Study using TensorFlow, N...Speeding up I/O for Machine Learning  ft Apple Case Study using TensorFlow, N...
Speeding up I/O for Machine Learning ft Apple Case Study using TensorFlow, N...
Alluxio, Inc.
 
Best Practices for Using Alluxio with Spark
Best Practices for Using Alluxio with SparkBest Practices for Using Alluxio with Spark
Best Practices for Using Alluxio with Spark
Alluxio, Inc.
 
Spark Pipelines in the Cloud with Alluxio
Spark Pipelines in the Cloud with AlluxioSpark Pipelines in the Cloud with Alluxio
Spark Pipelines in the Cloud with Alluxio
Alluxio, Inc.
 
Presentation linux on power
Presentation   linux on powerPresentation   linux on power
Presentation linux on power
solarisyougood
 

Similar to Ipfs (20)

Decentralized storage
Decentralized storageDecentralized storage
Decentralized storage
 
Ipfs installation and demo
Ipfs installation and demoIpfs installation and demo
Ipfs installation and demo
 
Introduction to IPFS & Filecoin - longer version
Introduction to IPFS & Filecoin - longer versionIntroduction to IPFS & Filecoin - longer version
Introduction to IPFS & Filecoin - longer version
 
Introduction to Filecoin
Introduction to Filecoin   Introduction to Filecoin
Introduction to Filecoin
 
Spectrum Scale Unified File and Object with WAN Caching
Spectrum Scale Unified File and Object with WAN CachingSpectrum Scale Unified File and Object with WAN Caching
Spectrum Scale Unified File and Object with WAN Caching
 
Software Defined Analytics with File and Object Access Plus Geographically Di...
Software Defined Analytics with File and Object Access Plus Geographically Di...Software Defined Analytics with File and Object Access Plus Geographically Di...
Software Defined Analytics with File and Object Access Plus Geographically Di...
 
Hosting Open Source Projects at the OSUOSL
Hosting Open Source Projects at the OSUOSLHosting Open Source Projects at the OSUOSL
Hosting Open Source Projects at the OSUOSL
 
IBM Platform Computing Elastic Storage
IBM Platform Computing  Elastic StorageIBM Platform Computing  Elastic Storage
IBM Platform Computing Elastic Storage
 
Distributed Storage with IPFS and Python!
Distributed Storage with IPFS and Python!Distributed Storage with IPFS and Python!
Distributed Storage with IPFS and Python!
 
Peter Tiernan - Ceph at the Digital Repository of Ireland
Peter Tiernan - Ceph at the Digital Repository of IrelandPeter Tiernan - Ceph at the Digital Repository of Ireland
Peter Tiernan - Ceph at the Digital Repository of Ireland
 
Ceph at the Digital Repository of Ireland - Ceph Day Frankfurt
Ceph at the Digital Repository of Ireland - Ceph Day Frankfurt Ceph at the Digital Repository of Ireland - Ceph Day Frankfurt
Ceph at the Digital Repository of Ireland - Ceph Day Frankfurt
 
PVFS: A Parallel File System for Linux Clusters
PVFS: A Parallel File System for Linux ClustersPVFS: A Parallel File System for Linux Clusters
PVFS: A Parallel File System for Linux Clusters
 
[Lucas Films] Using a Perforce Proxy with Alternate Transports
[Lucas Films] Using a Perforce Proxy with Alternate Transports[Lucas Films] Using a Perforce Proxy with Alternate Transports
[Lucas Films] Using a Perforce Proxy with Alternate Transports
 
Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise Ceph Day Tokyo - Bring Ceph to Enterprise
Ceph Day Tokyo - Bring Ceph to Enterprise
 
Spark Pipelines in the Cloud with Alluxio by Bin Fan
Spark Pipelines in the Cloud with Alluxio by Bin FanSpark Pipelines in the Cloud with Alluxio by Bin Fan
Spark Pipelines in the Cloud with Alluxio by Bin Fan
 
Hadoop
HadoopHadoop
Hadoop
 
Speeding up I/O for Machine Learning ft Apple Case Study using TensorFlow, N...
Speeding up I/O for Machine Learning  ft Apple Case Study using TensorFlow, N...Speeding up I/O for Machine Learning  ft Apple Case Study using TensorFlow, N...
Speeding up I/O for Machine Learning ft Apple Case Study using TensorFlow, N...
 
Best Practices for Using Alluxio with Spark
Best Practices for Using Alluxio with SparkBest Practices for Using Alluxio with Spark
Best Practices for Using Alluxio with Spark
 
Spark Pipelines in the Cloud with Alluxio
Spark Pipelines in the Cloud with AlluxioSpark Pipelines in the Cloud with Alluxio
Spark Pipelines in the Cloud with Alluxio
 
Presentation linux on power
Presentation   linux on powerPresentation   linux on power
Presentation linux on power
 

More from 承翰 蔡

Notes for AWS IoT
Notes for AWS IoTNotes for AWS IoT
Notes for AWS IoT
承翰 蔡
 
Node-red Chatbot module
Node-red Chatbot moduleNode-red Chatbot module
Node-red Chatbot module
承翰 蔡
 
Bitcoin developer guide
Bitcoin developer guideBitcoin developer guide
Bitcoin developer guide
承翰 蔡
 
The 3rd generation blockchain
The 3rd generation blockchainThe 3rd generation blockchain
The 3rd generation blockchain
承翰 蔡
 
How to create ethereum token (A plan coin ico)
How to create ethereum token (A plan coin ico)How to create ethereum token (A plan coin ico)
How to create ethereum token (A plan coin ico)
承翰 蔡
 
Web of things introduction
Web of things introductionWeb of things introduction
Web of things introduction
承翰 蔡
 
AWS IoT introduction
AWS IoT introductionAWS IoT introduction
AWS IoT introduction
承翰 蔡
 
IoT開發平台NodeMCU
IoT開發平台NodeMCUIoT開發平台NodeMCU
IoT開發平台NodeMCU
承翰 蔡
 
Node mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqttNode mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqtt
承翰 蔡
 
Arduino mqtt client introduction
Arduino mqtt client introductionArduino mqtt client introduction
Arduino mqtt client introduction承翰 蔡
 
Webduino introduction
Webduino introductionWebduino introduction
Webduino introduction承翰 蔡
 
MongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
MongoDB 3.0.0 vs 2.6.x vs 2.4.x BenchmarkMongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
MongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
承翰 蔡
 
Kimono sharing
Kimono sharingKimono sharing
Kimono sharing
承翰 蔡
 

More from 承翰 蔡 (13)

Notes for AWS IoT
Notes for AWS IoTNotes for AWS IoT
Notes for AWS IoT
 
Node-red Chatbot module
Node-red Chatbot moduleNode-red Chatbot module
Node-red Chatbot module
 
Bitcoin developer guide
Bitcoin developer guideBitcoin developer guide
Bitcoin developer guide
 
The 3rd generation blockchain
The 3rd generation blockchainThe 3rd generation blockchain
The 3rd generation blockchain
 
How to create ethereum token (A plan coin ico)
How to create ethereum token (A plan coin ico)How to create ethereum token (A plan coin ico)
How to create ethereum token (A plan coin ico)
 
Web of things introduction
Web of things introductionWeb of things introduction
Web of things introduction
 
AWS IoT introduction
AWS IoT introductionAWS IoT introduction
AWS IoT introduction
 
IoT開發平台NodeMCU
IoT開發平台NodeMCUIoT開發平台NodeMCU
IoT開發平台NodeMCU
 
Node mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqttNode mcu x raspberrypi2 x mqtt
Node mcu x raspberrypi2 x mqtt
 
Arduino mqtt client introduction
Arduino mqtt client introductionArduino mqtt client introduction
Arduino mqtt client introduction
 
Webduino introduction
Webduino introductionWebduino introduction
Webduino introduction
 
MongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
MongoDB 3.0.0 vs 2.6.x vs 2.4.x BenchmarkMongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
MongoDB 3.0.0 vs 2.6.x vs 2.4.x Benchmark
 
Kimono sharing
Kimono sharingKimono sharing
Kimono sharing
 

Recently uploaded

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
Kari Kakkonen
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
Paul Groth
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
DianaGray10
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
Fwdays
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Tobias Schneck
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
Product School
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
Cheryl Hung
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
Product School
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 

Recently uploaded (20)

DevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA ConnectDevOps and Testing slides at DASA Connect
DevOps and Testing slides at DASA Connect
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4UiPath Test Automation using UiPath Test Suite series, part 4
UiPath Test Automation using UiPath Test Suite series, part 4
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Key Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdfKey Trends Shaping the Future of Infrastructure.pdf
Key Trends Shaping the Future of Infrastructure.pdf
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 

Ipfs

  • 2. InterPlanetary File System ⠂ IPFS is a protocol designed to create a permanent and decentralized method of storing and sharing files ⠂ Faster, safer and more open web ⠂ IPFS aims to replace HTTP and build a better web for all of us 2
  • 3. Network Topology ⠂ Centralised � Single server � Difficult to scale � Single point of failure ⠂ Decentralised � Multiple servers � Demand and failures better handled � Expensive 3
  • 4. IPFS Topology ⠂ Fully distributed network ⠂ Acts both server and client 4
  • 5. The web of tomorrow needs IPFS today 5
  • 6. HTTP is inefficient and expensive ⠂ HTTP downloads a file from a single computer at a time, instead of getting pieces from multiple computers simultaneously. ⠂ IPFS makes it possible to distribute high volumes of data with high efficiency 6
  • 7. Humanity's history is deleted daily ⠂ The average lifespan of a web page is 100 days. ⠂ IPFS provides historic versioning (like git) and makes it simple to set up resilient networks for mirroring of data. 7
  • 8. The web's centralization limits opportunity ⠂ The Internet is a real accelerator of innovation. But the increasing consolidation of control is a threat to that. ⠂ IPFS remains true to the original vision of the open and flat web. 8
  • 9. Our apps are addicted to the backbone ⠂ All trivial compared to interplanetary networking. � Developing world � Offline � Natural disasters � Intermittent connections ⠂ IPFS powers the creation of diversely resilient networks. 9
  • 13. IPLD: InterPlanetary Linked Data ⠂ Any data structure can be represented as a DAG 13
  • 14. Merkle DAG 14 test_dir └ bigfile.js └ hello.txt └ my_dir └ my_file.txt └ testing.txt
  • 15. Versioned file systems 15 test_dir └ bigfile.js └ hello.txt └ my_dir └ my_file.txt └ testing.txt
  • 16. IPNS: InterPlanetary Name System ⠂ IPNS is a way to add a small amount of mutability to the permanent immutability that is ipfs. ⠂ Store a reference to an ipfs hash under the namespace of peerID ( public key hash ) 16 /ipns/Qmaaaaaaaaaaa /ipfs/Qmbbbbbbbbbbbb/website_hash
  • 18. Demo: Add / Cat / List files 18 # add / download single file > ipfs add/get <FILE_PATH> # cat file > ipfs cat <FILE_HASH> # add / download folder > ipfs add/get -r <FOLDER_PATH> # list folder > ipfs ls -v <FOLDER_HASH>
  • 19. Demo: Large file ( > 256 KB) 19 # add / download large file > ipfs add/get <FILE_PATH> # get links of large file > ipfs object get <FILE_HASH>
  • 20. Demo: Pinning 20 # 1. add file # 2. pin operating > ipfs pin ls --type=all # 3. remove cache > ipfs pin rm -r <FILE_HASH> # 4. remove cache > ipfs repo gc
  • 21. Demo: Playing videos 21 # add mp4 file > ipfs add test.mp4 # playing video using browser https://ipfs.io/ipfs/<VIDEO_HASH> http://localhost:8080/ipfs/<VIDEO_HASH>
  • 22. Demo: Git, even more distributed 22 # git clone (ex: bitmarklib) > git clone --bare https://github.com/bitmark-inc/go- bitmarklib.git > cd go-bitmarklib > git update-server-info # add git repo to IPFS > ipfs add -r . # try it > git clone https://ipfs.io/ipfs/<GIT_HASH>
  • 23. Demo: Inter-Planetary Naming System (IPNS) 23 # add file # publish to the network > ipfs name publish <FILE_HASH> Published to <your peer ID>: <that hash> # resolve > ipfs name resolve <PEER_ID> # try it https://ipfs.io/ipns/<PEER_ID>
  • 24. Demo: IPFS for websites 24 # 1. add website > ipfs add -r <WEBSITE_FOLDER> # 2. publish to the network > ipfs name publish <WEBSITE_HASH> # 3. try it https://ipfs.io/ipns/<PEER_ID> https://gateway.ipfs.io/ipns/<PEER_ID>
  • 26. Appendix 26 ⠂ Large file ─ 3.77 TB � https://gateway.ipfsstore.it:8443/ipfs/QmXd2t4WbhpDf643ija6byLE4q3L8GBQ 3u773wWh5zVRT4 ⠂ Filecoin � $200 Million In 60 Minutes ( 257 million raised )

Editor's Notes

  1. 星際檔案系統(縮寫IPFS)是一個旨在建立持久且分散式儲存和共享檔案的網路傳輸協定。它是一種內容可尋址的對等超媒體分發協定。 什麼是 IPFS ? 直白來說就是 BitTorrent,也是更快速更安全的網頁,未來希望可以取代
  2. 中心化 單一伺服器、難以擴容、單點故障就會整組壞光光 ======================================================== 非中心化 多伺服器、容錯率提高,但是容易變成單一巨大網路服務公司,就違反http當初設立的中心思想 (ex: google, amazon)
  3. 分散式網路,每個節點本身就是Server以及Client
  4. HTTP一次從一台電腦下載文件,而不是同時從多電腦中獲取文件。 IPFS可以高效率地分發大量的數據
  5. IPFS提供歷史版本(如git),並且可以簡單地設置彈性網絡來進行數據鏡像。 因為現在的情況是,只要公司的伺服器關閉,就再也無法取得網頁的任何資料
  6. 網路集中化會限制許多機會 網路是創新的加速器, 但控制權的日益鞏固是對此的威脅,會造成今日網路被少數幾家巨型公司所掌控。 因此 IPFS 對於開放和平坦的網絡的原始願景是真實的
  7. 發展中國家。 離線。 自然災害。 間斷連接。 與行星際網絡相比,都是微不足道的。 我們使用的網絡是20世紀。 我們可以做得更好 IPFS為創建具有或不具有互聯網骨干連接性的持久可用性提供了多樣的彈性網絡。
  8. dht分散式雜湊表(Distributed Hash Table): 用來找擁有某資料的節點,在不需要伺服器的情況下,每個用戶端負責一個小範圍的路由,並負責儲存一小部分資料,從而實現整個DHT網路的尋址和儲存
  9. IPFS哈希代表不可變的數據,這意味著它們是不能被更改的,否則會導致哈希值的變更。這是一件好事,因為它鼓勵數據的持久性,但我們仍然需要一種方法來找到最新的IPFS哈希以表示你的網站。IPFS通過一種​​特殊的功能來實現,即IPNS。 IPNS允許用戶使用一個私有密鑰來對IPFS哈希附加一個引用,使用一個公共密鑰哈希(簡稱pubkeyhash)表示你的網站的最新版本。如果用戶使用過比特幣,可能會對此比較熟悉,一個比特幣地址也是一個pubkeyhash。 如果該鏈接不起作用,不用擔心。能夠通過更改pubkeyhash所指向的內容,而pubkeyhash卻永遠保持不變。這樣,網站的更新問題就得到了解決。 接下來,只需要保證這些網站的位置是人類可讀的,所有問題就解決了。
  10. blocks are uninterpreted blobs (ipfs block) and objects are blocks in unifs format. ipfs block --> Manipulate raw IPFS blocks.