SlideShare a Scribd company logo
1 of 28
Download to read offline
Introduction to BigchainDB
2
DCS triangle
DCS triangle
4
5
6
DCS triangle
7
8
9
10
BigchainDB
Property
12
Architecture
13
14
Behaviour
15
Life of a transaction
16
Estimation of latency
17
Transaction model
{
"id": "<hash of transaction , excluding signatures>",
"version": "<version number of the transaction model>",
"transaction": {
"fulfillments": ["<list of fulfillments>"],
"conditions": ["<list of conditions>"],
"operation": "<string>",
"timestamp": "<timestamp from client>",
"data": {
"hash": "<hash of payload>",
"payload": "<any JSON document>"
}
}
}
18
Block model
{
"id": "<hash of block>",
"block": {
"timestamp": "<block - creation timestamp>",
"transactions": ["<list of transactions>"],
"node_pubkey": "<public key of the node 
creating the block>",
"voters": ["<list of federation nodes public keys>"]
},
"signature": "<signature of block>",
"votes": ["<list of votes>"]
}
19
Vote model
{
"node_pubkey": "<the public key of the voting node>",
"vote": {
"voting_for_block": "<id of the block 
the node is voting for>",
"previous_block": "<id of the block 
previous to this one>",
"is_block_valid": "<true|false>",
"invalid_reason": "<None| DOUBLE_SPEND 
| TRANSACTIONS_HASH_MISMATCH 
| NODES_PUBKEYS_MISMATCH>",
"timestamp": "<timestamp of the voting action>"
},
"signature": "<signature of vote>"
}
20
Consensus algorithm
Block construction order
After nalizing the creation of a block, that
block must not allow any more transactions to
be added to it. For easier detection of double-
spending.
Hashing votes
No need to include votes for computing block
hash. Because votes are digitally signed by
signing nodes, and therefore not malleable.
21
Consensus algorithm
Dropping transactions
Add a way to re-assign transactions if the
previous node assignment got stale.
Denial of service
Not an issue any more than with a traditional
web service.
22
Consensus algorithm
Client transaction order
Must ensure that transactions sent from the
same client in a particular order are processed
in that order, or at least with a bias to that
order.
Database built-in communication vulnerability
Use big data DB’s own built-in consensus
algorithm like Paxos to tolerate benign failures.
Many nodes would have to be affected for it to
have any major consequences.
23
Consensus algorithm
Double spends
All past transactions are checked to make sure
that input was not already spent. This can be
fast for BigchainDB because it can use an
optimized query of the underlying DB.
Malicious behaviour
Because of the federation model, bad behavior
can be detected when a node’s vote on a block is
different than the majority.
24
Consensus algorithm
Admin becoming god
If admin can be god, that constitute a single
point of failure. To prevent it, all write
transactions ( including updating software )
need to be voted on by the federation.
Of ine nodes
One or a few of ine nodes is ne, as a quorum is
still online. Otherwise, wait until enough nodes
come back online to vote.
25
Consensus algorithm
Chaining blocks rather than transactions
It is easier to write 1000 blocks (each
containing up to 1000 transactions) per second
than to write 1 million transactions per second.
Each voting node only has to append a vote to
each block, rather than to each transaction.
Constructing a vote needs to compute a
cryptographic signature. Save time by doing
that only once per block.
26
Possible use cases
Tracking intellectual property assets
Receipts, and certi cation
Legally-binding contracts
Creation and real-time movement of high-volume
nancial assets
Tracking high-volume physical assets
Smart contracts
Data science
27
References
BigchainDB
BigchainDB Whitepaper
BigchainDB Documentation
The DCS triangle
BigchainDB: how we built a blockchain database
on top of RethinkDB
28

More Related Content

What's hot

Why Blockchain Matters to Big Data - Big Data London Meetup - Nov 3, 2016
Why Blockchain Matters to Big Data - Big Data London Meetup - Nov 3, 2016Why Blockchain Matters to Big Data - Big Data London Meetup - Nov 3, 2016
Why Blockchain Matters to Big Data - Big Data London Meetup - Nov 3, 2016BigchainDB
 
BigchainDB - Big Data meets Blockchain
BigchainDB - Big Data meets BlockchainBigchainDB - Big Data meets Blockchain
BigchainDB - Big Data meets BlockchainDimitri De Jonghe
 
A database for the planet - Scot Chain Edinburgh - Nov 11, 2016
A database for the planet - Scot Chain Edinburgh - Nov 11, 2016A database for the planet - Scot Chain Edinburgh - Nov 11, 2016
A database for the planet - Scot Chain Edinburgh - Nov 11, 2016BigchainDB
 
"Blockchains for AI", Trent McConaghy, AI researcher, blockchain engineer. Fo...
"Blockchains for AI", Trent McConaghy, AI researcher, blockchain engineer. Fo..."Blockchains for AI", Trent McConaghy, AI researcher, blockchain engineer. Fo...
"Blockchains for AI", Trent McConaghy, AI researcher, blockchain engineer. Fo...Dataconomy Media
 
Distributed Ledger Technology
Distributed Ledger TechnologyDistributed Ledger Technology
Distributed Ledger TechnologyKriti Katyayan
 
BigchainDB: Blockchains for Artificial Intelligence by Trent McConaghy
BigchainDB: Blockchains for Artificial Intelligence by Trent McConaghyBigchainDB: Blockchains for Artificial Intelligence by Trent McConaghy
BigchainDB: Blockchains for Artificial Intelligence by Trent McConaghyBigchainDB
 
Opening presentation by Trent McConaghy at BigchainDB Hackfest #1 - Feb 28, 2017
Opening presentation by Trent McConaghy at BigchainDB Hackfest #1 - Feb 28, 2017Opening presentation by Trent McConaghy at BigchainDB Hackfest #1 - Feb 28, 2017
Opening presentation by Trent McConaghy at BigchainDB Hackfest #1 - Feb 28, 2017BigchainDB
 
Webinar: Building a Blockchain Database with MongoDB
Webinar: Building a Blockchain Database with MongoDBWebinar: Building a Blockchain Database with MongoDB
Webinar: Building a Blockchain Database with MongoDBMongoDB
 
Distributed Systems for Blockchain using Cloud
Distributed  Systems for Blockchain  using CloudDistributed  Systems for Blockchain  using Cloud
Distributed Systems for Blockchain using CloudHridyesh Bisht
 
Records keeper product deck
Records keeper   product deckRecords keeper   product deck
Records keeper product deckRecords Keeper
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchainPriyab Satoshi
 
Bitcoin blockchains and distributed satellite management control
Bitcoin blockchains and distributed satellite management controlBitcoin blockchains and distributed satellite management control
Bitcoin blockchains and distributed satellite management controlramycaspi
 
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger applicationEric Cattoir
 
Icsa2018 blockchain tutorial
Icsa2018 blockchain tutorialIcsa2018 blockchain tutorial
Icsa2018 blockchain tutorialLen Bass
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruLennartF
 
Blockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space CommerceBlockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space CommerceHasshi Sudler
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusAudrius Ramoska
 

What's hot (19)

Why Blockchain Matters to Big Data - Big Data London Meetup - Nov 3, 2016
Why Blockchain Matters to Big Data - Big Data London Meetup - Nov 3, 2016Why Blockchain Matters to Big Data - Big Data London Meetup - Nov 3, 2016
Why Blockchain Matters to Big Data - Big Data London Meetup - Nov 3, 2016
 
BigchainDB - Big Data meets Blockchain
BigchainDB - Big Data meets BlockchainBigchainDB - Big Data meets Blockchain
BigchainDB - Big Data meets Blockchain
 
A database for the planet - Scot Chain Edinburgh - Nov 11, 2016
A database for the planet - Scot Chain Edinburgh - Nov 11, 2016A database for the planet - Scot Chain Edinburgh - Nov 11, 2016
A database for the planet - Scot Chain Edinburgh - Nov 11, 2016
 
"Blockchains for AI", Trent McConaghy, AI researcher, blockchain engineer. Fo...
"Blockchains for AI", Trent McConaghy, AI researcher, blockchain engineer. Fo..."Blockchains for AI", Trent McConaghy, AI researcher, blockchain engineer. Fo...
"Blockchains for AI", Trent McConaghy, AI researcher, blockchain engineer. Fo...
 
Distributed Ledger Technology
Distributed Ledger TechnologyDistributed Ledger Technology
Distributed Ledger Technology
 
BigchainDB: Blockchains for Artificial Intelligence by Trent McConaghy
BigchainDB: Blockchains for Artificial Intelligence by Trent McConaghyBigchainDB: Blockchains for Artificial Intelligence by Trent McConaghy
BigchainDB: Blockchains for Artificial Intelligence by Trent McConaghy
 
Opening presentation by Trent McConaghy at BigchainDB Hackfest #1 - Feb 28, 2017
Opening presentation by Trent McConaghy at BigchainDB Hackfest #1 - Feb 28, 2017Opening presentation by Trent McConaghy at BigchainDB Hackfest #1 - Feb 28, 2017
Opening presentation by Trent McConaghy at BigchainDB Hackfest #1 - Feb 28, 2017
 
Blockchain Explained
Blockchain ExplainedBlockchain Explained
Blockchain Explained
 
Webinar: Building a Blockchain Database with MongoDB
Webinar: Building a Blockchain Database with MongoDBWebinar: Building a Blockchain Database with MongoDB
Webinar: Building a Blockchain Database with MongoDB
 
Distributed Systems for Blockchain using Cloud
Distributed  Systems for Blockchain  using CloudDistributed  Systems for Blockchain  using Cloud
Distributed Systems for Blockchain using Cloud
 
Records keeper product deck
Records keeper   product deckRecords keeper   product deck
Records keeper product deck
 
Blockchain
BlockchainBlockchain
Blockchain
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
 
Bitcoin blockchains and distributed satellite management control
Bitcoin blockchains and distributed satellite management controlBitcoin blockchains and distributed satellite management control
Bitcoin blockchains and distributed satellite management control
 
Anatomy of a hyperledger application
Anatomy of a hyperledger applicationAnatomy of a hyperledger application
Anatomy of a hyperledger application
 
Icsa2018 blockchain tutorial
Icsa2018 blockchain tutorialIcsa2018 blockchain tutorial
Icsa2018 blockchain tutorial
 
An introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ruAn introduction to blockchain and hyperledger v ru
An introduction to blockchain and hyperledger v ru
 
Blockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space CommerceBlockchain Satellites - The Future of Space Commerce
Blockchain Satellites - The Future of Space Commerce
 
Vilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensusVilnius blockchain club 20170413 consensus
Vilnius blockchain club 20170413 consensus
 

Viewers also liked

A BigchainDB use case: Weaving the ILP fabric into BigchainDB
A BigchainDB use case:  Weaving the ILP fabric into BigchainDBA BigchainDB use case:  Weaving the ILP fabric into BigchainDB
A BigchainDB use case: Weaving the ILP fabric into BigchainDBBigchainDB
 
BigchainDB: A Scalable Blockchain Database, In Python
  BigchainDB: A Scalable Blockchain Database, In Python   BigchainDB: A Scalable Blockchain Database, In Python
BigchainDB: A Scalable Blockchain Database, In Python BigchainDB
 
Decentralised Web: IPFS project, David Dias, Protocol Labs, IPFS
Decentralised Web: IPFS project, David Dias, Protocol Labs, IPFS Decentralised Web: IPFS project, David Dias, Protocol Labs, IPFS
Decentralised Web: IPFS project, David Dias, Protocol Labs, IPFS Alan Quayle
 
Convergence - Where Blockchain Converges With AR / VR / AI / 3d printing / dr...
Convergence - Where Blockchain Converges With AR / VR / AI / 3d printing / dr...Convergence - Where Blockchain Converges With AR / VR / AI / 3d printing / dr...
Convergence - Where Blockchain Converges With AR / VR / AI / 3d printing / dr...Jamie Burke
 
Emerging trends in IP searching: Machine/AI based searching - Anoop Cheeran &...
Emerging trends in IP searching: Machine/AI based searching - Anoop Cheeran &...Emerging trends in IP searching: Machine/AI based searching - Anoop Cheeran &...
Emerging trends in IP searching: Machine/AI based searching - Anoop Cheeran &...Balakrishna Uppala
 
Eris and Ethereum - Decentralized computing on a blockchain
Eris and Ethereum - Decentralized computing on a blockchainEris and Ethereum - Decentralized computing on a blockchain
Eris and Ethereum - Decentralized computing on a blockchainBlockStars.io
 
Estonia E-Residency: Country as a Service - BigchainDB & IPDB Meetup #3 - Fe...
Estonia E-Residency: Country as a Service  - BigchainDB & IPDB Meetup #3 - Fe...Estonia E-Residency: Country as a Service  - BigchainDB & IPDB Meetup #3 - Fe...
Estonia E-Residency: Country as a Service - BigchainDB & IPDB Meetup #3 - Fe...BigchainDB
 
Concept of BlockChain & Decentralized Application
Concept of BlockChain & Decentralized ApplicationConcept of BlockChain & Decentralized Application
Concept of BlockChain & Decentralized ApplicationSeiji Takahashi
 
Data Structures in and on IPFS
Data Structures in and on IPFSData Structures in and on IPFS
Data Structures in and on IPFSC4Media
 
Blockchain the inception of a new database of everything by dinis guarda bloc...
Blockchain the inception of a new database of everything by dinis guarda bloc...Blockchain the inception of a new database of everything by dinis guarda bloc...
Blockchain the inception of a new database of everything by dinis guarda bloc...Dinis Guarda
 

Viewers also liked (14)

A BigchainDB use case: Weaving the ILP fabric into BigchainDB
A BigchainDB use case:  Weaving the ILP fabric into BigchainDBA BigchainDB use case:  Weaving the ILP fabric into BigchainDB
A BigchainDB use case: Weaving the ILP fabric into BigchainDB
 
BigchainDB: A Scalable Blockchain Database, In Python
  BigchainDB: A Scalable Blockchain Database, In Python   BigchainDB: A Scalable Blockchain Database, In Python
BigchainDB: A Scalable Blockchain Database, In Python
 
IPFS: The Permanent Web
IPFS: The Permanent WebIPFS: The Permanent Web
IPFS: The Permanent Web
 
Decentralised Web: IPFS project, David Dias, Protocol Labs, IPFS
Decentralised Web: IPFS project, David Dias, Protocol Labs, IPFS Decentralised Web: IPFS project, David Dias, Protocol Labs, IPFS
Decentralised Web: IPFS project, David Dias, Protocol Labs, IPFS
 
Convergence - Where Blockchain Converges With AR / VR / AI / 3d printing / dr...
Convergence - Where Blockchain Converges With AR / VR / AI / 3d printing / dr...Convergence - Where Blockchain Converges With AR / VR / AI / 3d printing / dr...
Convergence - Where Blockchain Converges With AR / VR / AI / 3d printing / dr...
 
Emerging trends in IP searching: Machine/AI based searching - Anoop Cheeran &...
Emerging trends in IP searching: Machine/AI based searching - Anoop Cheeran &...Emerging trends in IP searching: Machine/AI based searching - Anoop Cheeran &...
Emerging trends in IP searching: Machine/AI based searching - Anoop Cheeran &...
 
Eris and Ethereum - Decentralized computing on a blockchain
Eris and Ethereum - Decentralized computing on a blockchainEris and Ethereum - Decentralized computing on a blockchain
Eris and Ethereum - Decentralized computing on a blockchain
 
Estonia E-Residency: Country as a Service - BigchainDB & IPDB Meetup #3 - Fe...
Estonia E-Residency: Country as a Service  - BigchainDB & IPDB Meetup #3 - Fe...Estonia E-Residency: Country as a Service  - BigchainDB & IPDB Meetup #3 - Fe...
Estonia E-Residency: Country as a Service - BigchainDB & IPDB Meetup #3 - Fe...
 
Concept of BlockChain & Decentralized Application
Concept of BlockChain & Decentralized ApplicationConcept of BlockChain & Decentralized Application
Concept of BlockChain & Decentralized Application
 
Data Structures in and on IPFS
Data Structures in and on IPFSData Structures in and on IPFS
Data Structures in and on IPFS
 
Fan
FanFan
Fan
 
Study of fans
Study of fansStudy of fans
Study of fans
 
Fans and blowers
Fans and blowersFans and blowers
Fans and blowers
 
Blockchain the inception of a new database of everything by dinis guarda bloc...
Blockchain the inception of a new database of everything by dinis guarda bloc...Blockchain the inception of a new database of everything by dinis guarda bloc...
Blockchain the inception of a new database of everything by dinis guarda bloc...
 

Similar to An introduction to BigchainDB - by a fan and follower at Ethereum Meetup Taipei

Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain PlatformKlaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platformif kakao
 
BlockChain for the Banker
BlockChain for the BankerBlockChain for the Banker
BlockChain for the BankerBohdan Szymanik
 
Security in the blockchain
Security in the blockchainSecurity in the blockchain
Security in the blockchainBellaj Badr
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architectedIBM Sverige
 
“Technical Intro to Blockhain” by Yurijs Pimenovs from Paybis at CryptoCurren...
“Technical Intro to Blockhain” by Yurijs Pimenovs from Paybis at CryptoCurren...“Technical Intro to Blockhain” by Yurijs Pimenovs from Paybis at CryptoCurren...
“Technical Intro to Blockhain” by Yurijs Pimenovs from Paybis at CryptoCurren...Dace Barone
 
Blockchain: use cases for the future
Blockchain: use cases for the futureBlockchain: use cases for the future
Blockchain: use cases for the futureBruno Lowagie
 
Blockchain on Azure
Blockchain on AzureBlockchain on Azure
Blockchain on AzureNuri Cankaya
 
Abhishek jaiswal blockchain
Abhishek jaiswal blockchainAbhishek jaiswal blockchain
Abhishek jaiswal blockchainAbhishek Jaiswal
 
От прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компанийОт прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компанийPositive Hack Days
 
MongoDB Stitch Introduction
MongoDB Stitch IntroductionMongoDB Stitch Introduction
MongoDB Stitch IntroductionMongoDB
 
Ethereum Blockchain and DApps - Workshop at Software University
Ethereum Blockchain and DApps  - Workshop at Software UniversityEthereum Blockchain and DApps  - Workshop at Software University
Ethereum Blockchain and DApps - Workshop at Software UniversityOpen Source University
 
Banking on a Blockchain
Banking on a BlockchainBanking on a Blockchain
Banking on a BlockchainAltoros
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 Yunho Maeng
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad SarangNinad Sarang
 
A living programming environment for blockchain
A living programming environment for blockchainA living programming environment for blockchain
A living programming environment for blockchainPharo
 

Similar to An introduction to BigchainDB - by a fan and follower at Ethereum Meetup Taipei (20)

Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain PlatformKlaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
Klaytn: Service-Oriented Enterprise-Grade Public Blockchain Platform
 
1. ibm blockchain explained
1. ibm blockchain explained1. ibm blockchain explained
1. ibm blockchain explained
 
BlockChain for the Banker
BlockChain for the BankerBlockChain for the Banker
BlockChain for the Banker
 
Security in the blockchain
Security in the blockchainSecurity in the blockchain
Security in the blockchain
 
Blockchain architected
Blockchain architectedBlockchain architected
Blockchain architected
 
“Technical Intro to Blockhain” by Yurijs Pimenovs from Paybis at CryptoCurren...
“Technical Intro to Blockhain” by Yurijs Pimenovs from Paybis at CryptoCurren...“Technical Intro to Blockhain” by Yurijs Pimenovs from Paybis at CryptoCurren...
“Technical Intro to Blockhain” by Yurijs Pimenovs from Paybis at CryptoCurren...
 
Blockchain: use cases for the future
Blockchain: use cases for the futureBlockchain: use cases for the future
Blockchain: use cases for the future
 
Blockchain on Azure
Blockchain on AzureBlockchain on Azure
Blockchain on Azure
 
Abhishek jaiswal blockchain
Abhishek jaiswal blockchainAbhishek jaiswal blockchain
Abhishek jaiswal blockchain
 
Write behind logging
Write behind loggingWrite behind logging
Write behind logging
 
Hyperledger
HyperledgerHyperledger
Hyperledger
 
Blockchain spreads
Blockchain spreadsBlockchain spreads
Blockchain spreads
 
От прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компанийОт прорывной концепции до комплексного решения для компаний
От прорывной концепции до комплексного решения для компаний
 
MongoDB Stitch Introduction
MongoDB Stitch IntroductionMongoDB Stitch Introduction
MongoDB Stitch Introduction
 
Ethereum Blockchain and DApps - Workshop at Software University
Ethereum Blockchain and DApps  - Workshop at Software UniversityEthereum Blockchain and DApps  - Workshop at Software University
Ethereum Blockchain and DApps - Workshop at Software University
 
Blockchain
BlockchainBlockchain
Blockchain
 
Banking on a Blockchain
Banking on a BlockchainBanking on a Blockchain
Banking on a Blockchain
 
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발 [Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
[Call for code] IBM 블록체인을 활용하여 투명하게 구호기금 관리하기 - Hyperledger Fabric v1.1 by 맹개발
 
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
14 Jan17- Nullmeets -Blockchain concept decoded by Ninad Sarang
 
A living programming environment for blockchain
A living programming environment for blockchainA living programming environment for blockchain
A living programming environment for blockchain
 

More from BigchainDB

IPDB: Designing Blockchain Governance
IPDB: Designing Blockchain GovernanceIPDB: Designing Blockchain Governance
IPDB: Designing Blockchain GovernanceBigchainDB
 
Personal data and the blockchain – how will the GDPR influence blockchain app...
Personal data and the blockchain – how will the GDPR influence blockchain app...Personal data and the blockchain – how will the GDPR influence blockchain app...
Personal data and the blockchain – how will the GDPR influence blockchain app...BigchainDB
 
Transparent Supply Chains & Smart Factories (IoT) - BigchainDB & IPDB Meetup ...
Transparent Supply Chains & Smart Factories (IoT) - BigchainDB & IPDB Meetup ...Transparent Supply Chains & Smart Factories (IoT) - BigchainDB & IPDB Meetup ...
Transparent Supply Chains & Smart Factories (IoT) - BigchainDB & IPDB Meetup ...BigchainDB
 
Artificial Intelligence (AI) and Law - BigchainDB & IPDB Meetup #4 - April 05...
Artificial Intelligence (AI) and Law - BigchainDB & IPDB Meetup #4 - April 05...Artificial Intelligence (AI) and Law - BigchainDB & IPDB Meetup #4 - April 05...
Artificial Intelligence (AI) and Law - BigchainDB & IPDB Meetup #4 - April 05...BigchainDB
 
Artificial Intelligence (AI) DAOs (decentralized autonomous organizations) - ...
Artificial Intelligence (AI) DAOs (decentralized autonomous organizations) - ...Artificial Intelligence (AI) DAOs (decentralized autonomous organizations) - ...
Artificial Intelligence (AI) DAOs (decentralized autonomous organizations) - ...BigchainDB
 
Introduction to Artificial Intelligence (AI) - BigchainDB & IPDB Meetup #4 - ...
Introduction to Artificial Intelligence (AI) - BigchainDB & IPDB Meetup #4 - ...Introduction to Artificial Intelligence (AI) - BigchainDB & IPDB Meetup #4 - ...
Introduction to Artificial Intelligence (AI) - BigchainDB & IPDB Meetup #4 - ...BigchainDB
 
Blockchains and Governance: Interplanetary Database - BigchainDB & IPDB Meetu...
Blockchains and Governance: Interplanetary Database - BigchainDB & IPDB Meetu...Blockchains and Governance: Interplanetary Database - BigchainDB & IPDB Meetu...
Blockchains and Governance: Interplanetary Database - BigchainDB & IPDB Meetu...BigchainDB
 
COALA IP: a blockchain-ready Intellectual property licensing protocol - Bigch...
COALA IP: a blockchain-ready Intellectual property licensing protocol - Bigch...COALA IP: a blockchain-ready Intellectual property licensing protocol - Bigch...
COALA IP: a blockchain-ready Intellectual property licensing protocol - Bigch...BigchainDB
 

More from BigchainDB (8)

IPDB: Designing Blockchain Governance
IPDB: Designing Blockchain GovernanceIPDB: Designing Blockchain Governance
IPDB: Designing Blockchain Governance
 
Personal data and the blockchain – how will the GDPR influence blockchain app...
Personal data and the blockchain – how will the GDPR influence blockchain app...Personal data and the blockchain – how will the GDPR influence blockchain app...
Personal data and the blockchain – how will the GDPR influence blockchain app...
 
Transparent Supply Chains & Smart Factories (IoT) - BigchainDB & IPDB Meetup ...
Transparent Supply Chains & Smart Factories (IoT) - BigchainDB & IPDB Meetup ...Transparent Supply Chains & Smart Factories (IoT) - BigchainDB & IPDB Meetup ...
Transparent Supply Chains & Smart Factories (IoT) - BigchainDB & IPDB Meetup ...
 
Artificial Intelligence (AI) and Law - BigchainDB & IPDB Meetup #4 - April 05...
Artificial Intelligence (AI) and Law - BigchainDB & IPDB Meetup #4 - April 05...Artificial Intelligence (AI) and Law - BigchainDB & IPDB Meetup #4 - April 05...
Artificial Intelligence (AI) and Law - BigchainDB & IPDB Meetup #4 - April 05...
 
Artificial Intelligence (AI) DAOs (decentralized autonomous organizations) - ...
Artificial Intelligence (AI) DAOs (decentralized autonomous organizations) - ...Artificial Intelligence (AI) DAOs (decentralized autonomous organizations) - ...
Artificial Intelligence (AI) DAOs (decentralized autonomous organizations) - ...
 
Introduction to Artificial Intelligence (AI) - BigchainDB & IPDB Meetup #4 - ...
Introduction to Artificial Intelligence (AI) - BigchainDB & IPDB Meetup #4 - ...Introduction to Artificial Intelligence (AI) - BigchainDB & IPDB Meetup #4 - ...
Introduction to Artificial Intelligence (AI) - BigchainDB & IPDB Meetup #4 - ...
 
Blockchains and Governance: Interplanetary Database - BigchainDB & IPDB Meetu...
Blockchains and Governance: Interplanetary Database - BigchainDB & IPDB Meetu...Blockchains and Governance: Interplanetary Database - BigchainDB & IPDB Meetu...
Blockchains and Governance: Interplanetary Database - BigchainDB & IPDB Meetu...
 
COALA IP: a blockchain-ready Intellectual property licensing protocol - Bigch...
COALA IP: a blockchain-ready Intellectual property licensing protocol - Bigch...COALA IP: a blockchain-ready Intellectual property licensing protocol - Bigch...
COALA IP: a blockchain-ready Intellectual property licensing protocol - Bigch...
 

Recently uploaded

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 

Recently uploaded (20)

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 

An introduction to BigchainDB - by a fan and follower at Ethereum Meetup Taipei

  • 2. 2
  • 5. 5
  • 6. 6
  • 8. 8
  • 9. 9
  • 10. 10
  • 14. 14
  • 16. Life of a transaction 16
  • 18. Transaction model { "id": "<hash of transaction , excluding signatures>", "version": "<version number of the transaction model>", "transaction": { "fulfillments": ["<list of fulfillments>"], "conditions": ["<list of conditions>"], "operation": "<string>", "timestamp": "<timestamp from client>", "data": { "hash": "<hash of payload>", "payload": "<any JSON document>" } } } 18
  • 19. Block model { "id": "<hash of block>", "block": { "timestamp": "<block - creation timestamp>", "transactions": ["<list of transactions>"], "node_pubkey": "<public key of the node creating the block>", "voters": ["<list of federation nodes public keys>"] }, "signature": "<signature of block>", "votes": ["<list of votes>"] } 19
  • 20. Vote model { "node_pubkey": "<the public key of the voting node>", "vote": { "voting_for_block": "<id of the block the node is voting for>", "previous_block": "<id of the block previous to this one>", "is_block_valid": "<true|false>", "invalid_reason": "<None| DOUBLE_SPEND | TRANSACTIONS_HASH_MISMATCH | NODES_PUBKEYS_MISMATCH>", "timestamp": "<timestamp of the voting action>" }, "signature": "<signature of vote>" } 20
  • 21. Consensus algorithm Block construction order After nalizing the creation of a block, that block must not allow any more transactions to be added to it. For easier detection of double- spending. Hashing votes No need to include votes for computing block hash. Because votes are digitally signed by signing nodes, and therefore not malleable. 21
  • 22. Consensus algorithm Dropping transactions Add a way to re-assign transactions if the previous node assignment got stale. Denial of service Not an issue any more than with a traditional web service. 22
  • 23. Consensus algorithm Client transaction order Must ensure that transactions sent from the same client in a particular order are processed in that order, or at least with a bias to that order. Database built-in communication vulnerability Use big data DB’s own built-in consensus algorithm like Paxos to tolerate benign failures. Many nodes would have to be affected for it to have any major consequences. 23
  • 24. Consensus algorithm Double spends All past transactions are checked to make sure that input was not already spent. This can be fast for BigchainDB because it can use an optimized query of the underlying DB. Malicious behaviour Because of the federation model, bad behavior can be detected when a node’s vote on a block is different than the majority. 24
  • 25. Consensus algorithm Admin becoming god If admin can be god, that constitute a single point of failure. To prevent it, all write transactions ( including updating software ) need to be voted on by the federation. Of ine nodes One or a few of ine nodes is ne, as a quorum is still online. Otherwise, wait until enough nodes come back online to vote. 25
  • 26. Consensus algorithm Chaining blocks rather than transactions It is easier to write 1000 blocks (each containing up to 1000 transactions) per second than to write 1 million transactions per second. Each voting node only has to append a vote to each block, rather than to each transaction. Constructing a vote needs to compute a cryptographic signature. Save time by doing that only once per block. 26
  • 27. Possible use cases Tracking intellectual property assets Receipts, and certi cation Legally-binding contracts Creation and real-time movement of high-volume nancial assets Tracking high-volume physical assets Smart contracts Data science 27
  • 28. References BigchainDB BigchainDB Whitepaper BigchainDB Documentation The DCS triangle BigchainDB: how we built a blockchain database on top of RethinkDB 28