Blockchains and the IoT

22
Blockchains and the IoT Mat Keep Director of Product & Markets, MongoDB m [email protected] @matkeep

Transcript of Blockchains and the IoT

Blockchainsand the IoT

Mat KeepDirector of Product & Markets, [email protected]@matkeep

Bitcoin

• Released in 2009 via a niche mailing list• Now world’s largest digital currency• Six hundred trillion SHA256 computations

performed per second• Worth over $1k per bitcoin – 24,000%

growth since launch• Buy pretty much anything

Blockchain: What’s Special?• Decentralized database maintaining a

growing list of records• Peer-to-peer – not owned by a single

instance• Any member can add it (if other

participants agree)• State is distributed to all nodes• Immutable, tamper-proof• Trusted transfer of assets, value &

ownership

Centralized System of Record

Clearing House

Ledger

Blockchain

Faster, Safer, Cheaper

Financial Services: World Economic Forum

Image courtesy of Dzone

110GB in size7 transactions per second, multi-minute latency

Core Blockchain Design PrinciplesSCALABILITY

CONSISTENTDECENTRALIZED

Public Blockchain OptimizationSCALABILITY

CONSISTENTDECENTRALIZED

Enterprise Blockchain OptimizationSCALABILITY

CONSISTENTDECENTRALIZED

Implementing Enterprise Blockchain

Blockchain Software Stack

Application:Supply Chain, Identity Management,

Energy Credits, Stocks, etc.

Blockchain Layer

Database Layer

Blockchain Layer

Decentralized Administration Immutability Asset

Transfer

Database Layer

Rich Queries Scalability & Data Distribution

EnterpriseHardened

Implementation Pattern

Blockchain DB e.g. BigchainDB

Client 1 Client 2

Admin

Client 10,000

Co- Admin 1

Co- Admin 2

Co- Admin

21

control control

data

Distributed DB MongoDB

Core DBMongoDB

Client 1 Client 2

Client 10,000

data

How Real is This?

Electric Vehicle Charging

Music IP Licensing

Trade Stores

Embedded Database Layer

Why MongoDB for the Blockchain Database

Scalability& Performance

Always On,Global Deployments

Data Model FlexibilityExpressive Query Language& Secondary Indexes

Strong Consistency & Data Integrity

Enterprise Management& Security

Learn More

• Visit MongoDB Stand S12

• Download Enterprise Grade Blockchain whitepaper

• Book a 2-hour workshop

Blockchainsand the IoT

Block #122 Hash

Timestamp

Nonce

Transaction #817• Metadata• Transaction Data

Transaction #725• Metadata• Transaction Data

Transaction #933• Metadata• Transaction Data

Transaction #xxxxx• xxxxxx• xxxxxx

Block #123Block #123 Hash

Timestamp

Nonce

Transaction #7002• Metadata• Transaction Data

Transaction #3155• Metadata• Transaction Data

Transaction #2111• Metadata• Transaction Data

Transaction #xxxxx• xxxxxx• xxxxxx

Block #124Block #124 Hash

Timestamp

Nonce

Transaction #353• Metadata• Transaction Data

Transaction #10005• Metadata• Transaction Data

Transaction #8555• Metadata• Transaction Data

Transaction #xxxxx• xxxxxx• xxxxxx

Block #125

Blockchain Under the Covers

Characteristic MongoDB Traditional Blockchain

Blockchainified MongoDB

Database Characteristics

Queryability ✔   ✔

Scale ✔   ✔

Operationalized ✔   ✔

         

Blockchain Characteristics

Decentralized   ✔ ✔

Immutable   ✔ ✔

Assets   ✔ ✔

Marrying Blockchain and the Database

Processing (e.g. Ethereum, Hyperledger)

File System (e.g. IPFS)

Database Blockchainified

MongoDB(eg BigchainDB)

Applications

DecentralizedCentralized

Processing (e.g. local server, EC2)

File System (e.g. Linux FS,

HDFS, S3)

Database MongoDB

Applications

Processing (e.g. local server, EC2)

File System (e.g. Linux FS,

HDFS, S3)

Database Blockchainified

MongoDB(eg BigchainDB)

Applications

Database MongoDB

Partly Decentralized

Enterprise Blockchain Maturity Model