a public database for the planet

45
A Public Database for the Planet Trent McConaghy @trentmc0

Upload: others

Post on 30-Apr-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Public Database for the Planet

A Public Database for the Planet

Trent McConaghy@trentmc0

Page 2: A Public Database for the Planet

Motivation

Page 3: A Public Database for the Planet
Page 4: A Public Database for the Planet
Page 5: A Public Database for the Planet

He

re’s

yo

ur

pe

rso

na

l

da

ta

Page 6: A Public Database for the Planet

“My conclusion is that whatever you put on the internet you lose it.

-User on Shapeways blog(3D printing marketplace)

Maybe keep the rights, but lose the power over it.”

Page 7: A Public Database for the Planet

Current systems of power are creating

unequal outcomes

Creative works are backwards

Others’ stuff – hard to use legally, pay $

Your stuff – hard not to lose

Your data isn’t really yours

Walled gardens – you can’t share how you want

Data silos – You can’t take it with you if you want to leave

Page 8: A Public Database for the Planet

Imagine a more equitable society,

where…

Creativity is encouraged

• Creators are fairly compensated

• The cultural commons is protected

Your identity is yours

• You own your personal data

• You manage your reputation

• Your choose what to share and what stays private

And more

• Equal opportunity for banking

• Know where your atoms come from

Page 9: A Public Database for the Planet

Current systems of power

are creating unequal outcomes

We believe that

technology & governance,

designed appropriately,

can help communities

build a more equitable society

Page 10: A Public Database for the Planet

Towards a more equitable society

What can help?

Shared global compute infrastructure

• Decentralized: No single entity owns or controls

• Self-sustaining

• Planetary scale

• All the pieces: processing, file system, database

Page 11: A Public Database for the Planet

To develop shared global

compute infrastructure,

we must first understand the

status quo of infrastructure,

…and how to change it

accordingly.

Page 12: A Public Database for the Planet

Status quo compute infrastructureModern apps use processing, file system, database

FILE SYSTEM

e.g. S3, HDFS

APPLICATION

PROCESSING

e.g. EC2

DATABASE

e.g. MySQL, MongoDB

PLATFORM

e.g. AWS, Azure

CO

NN

EC

T N

ETW

OR

KS

e.g

. TC

P/I

P

Page 13: A Public Database for the Planet

FILE SYSTEM

e.g. S3, HDFS

APPLICATION

Towards decentralized compute

infrastructure

PROCESSING

e.g. EC2

DATABASE

e.g. MySQL, MongoDB

Bitcoin blockchain?

PLATFORM

e.g. AWS, Azure

CO

NN

EC

T N

ETW

OR

KS

e.g

. TC

P/I

P

Page 14: A Public Database for the Planet

Towards decentralized compute

infrastructure

e-gold / e-cash

BitcoinCO

NN

EC

T N

ETW

OR

KS

e.g

. TC

P/I

P

FILE SYSTEM

e.g. S3, HDFS

APPLICATION

PLATFORM

e.g. AWS, Azure

PROCESSING

e.g. EC2

DATABASE

e.g. MySQL, MongoDB

Page 15: A Public Database for the Planet

Towards decentralized compute

infrastructure

e-gold / e-cash

Bitcoin, zcashCO

NN

EC

T N

ETW

OR

KS

e.g

. TC

P/I

P, In

terle

dg

er

FILE SYSTEM

e.g. S3, HDFS, IPFS

DATABASE

e.g. MySQL, MongoDB

APPLICATION

PLATFORM

e.g. AWS, Azure, Eris/Monax, BlockApps

PROCESSING

e.g. EC2, Ethereum, Hyperledger, Tendermint, Lisk

Page 16: A Public Database for the Planet

Towards decentralized compute

infrastructure

e-gold / e-cash

Bitcoin, zcashCO

NN

EC

T N

ETW

OR

KS

e.g

. TC

P/I

P, In

terle

dg

er

FILE SYSTEM

e.g. S3, HDFS, IPFS

DATABASE

e.g. MySQL, MongoDB

???

APPLICATION

PLATFORM

e.g. AWS, Azure, Eris/Monax, BlockApps

PROCESSING

e.g. EC2, Ethereum, Hyperledger, Tendermint, Lisk

Page 17: A Public Database for the Planet

Towards decentralized compute

infrastructure

e-gold / e-cash

Bitcoin, zcashCO

NN

EC

T N

ETW

OR

KS

e.g

. TC

P/I

P, In

terle

dg

er

FILE SYSTEM

e.g. S3, HDFS, IPFS

DATABASE

e.g. MySQL, MongoDB

BigchainDB + IPDB

APPLICATION

PLATFORM

e.g. AWS, Azure, Eris/Monax, BlockApps

PROCESSING

e.g. EC2, Ethereum, Hyperledger, Tendermint, Lisk

Page 18: A Public Database for the Planet

Elements of a planetary-

scale database

1. Blockchain Database

SW: combines best of

traditional DBs &

blockchains.

2. Network running

the software, with

thoughtful

governance

Page 19: A Public Database for the Planet

Elements of a planetary-

scale database

1. Blockchain Database

SW: combines best of

traditional DBs &

blockchains.

2. Network running

the software, with

thoughtful

governance

Page 20: A Public Database for the Planet

What’s the difference between a database and a csv file?Querying. From M’s of records, find the relevant ones.

1 Line of standard code, optimizedVs

50-500 lines of slow custom code, unoptimized

Page 21: A Public Database for the Planet

The first “Blue Ocean” DBs: Relational DBsBenefits: powerful structured querying

Winner: Oracle, 80s and 90s

Page 22: A Public Database for the Planet

The next “Blue Ocean” DB:Website-ready DBs

New benefits: lightweight for startupsWinner: MySQL, early 2000s

Page 23: A Public Database for the Planet

The next “Blue Ocean” DB: Distributed / NoSQL DBsNew benefits: “Big data” scale, flexible schemasWinner: MongoDB, late 2000s-now

Page 24: A Public Database for the Planet

How do “big data” databases scale? Answer: Distribute storage across many machines, i.e. sharding

A “consensus” algorithm keeps

distributed nodes in sync.

Page 25: A Public Database for the Planet

0 50 100 150 200 250 300 350

0

200,000

400,000

600,000

800,000

1,200,000

175,000

367,000

537,000

1,100,000

Nodes

Writes/s

How well do “big data” distributed DBs scale?

Example: Cassandra scaling.

More nodes = more throughput, more capacity!

Page 26: A Public Database for the Planet

The next blue ocean DB: blockchain databaseNew benefits: decentralized, immutable, native assets

Who: BigchainDB

Page 27: A Public Database for the Planet

How to build a scalable blockchain database (BigchainDB)1. Start with an enterprise-grade distributed DB, e.g. MongoDB2. Engineer in blockchain characteristics

• Each DB node is a federation nodeDecentralized / Shared Control

• Hash Previous Blocks• Append-only

Immutable / Audit Trails

• “Own” = have private key• Asset lives on the database

Native assets

Page 28: A Public Database for the Planet

BigchainDB Architecture:

Two-Layer consensus

Traditional DB

BigchainDB

FederationAlice

Bob

Blockchain consensusAdd tolerance to double-spends + other byzantine faults

DB consensusFault-tolerant consensus

Page 29: A Public Database for the Planet

BigchainDB: best of traditional DBs & blockchains= a blockchain database

Immutability

Decentralized Control

Native Assets

Scalable

Queryability

Operationalized

TraditionalDatabases

Traditional blockchains

BigchainDB

Page 30: A Public Database for the Planet

Elements of a planetary-

scale database

1. Blockchain Database

SW: combines best of

traditional DBs &

blockchains.

2. Network running

the software, with

thoughtful

governance

Page 31: A Public Database for the Planet

• For everyone, everywhere

• Free until heavy usage, then pay web service style

• Initial tech is BigchainDB

• Member caretakers will operate validating nodes

Page 32: A Public Database for the Planet

IDPB Caretakers

Long-standing commitment to the decentralized internet

At least half non-profit

Fewer than half in any given country

Page 33: A Public Database for the Planet

For-profit

ascribe / BigchainDB

Consensys

Eris Industries

Protocol Labs (IPFS)

SmartContract.com

Synereo

Tendermint

Not-for-profit

Blockstack

COALA

Dyne.org

Internet

Archive

OpenMedia

UnMonastery

Caretakers (so far)

Page 34: A Public Database for the Planet

Caretakers vote

caretakers in or out of

the IPDB Foundation.

Board hires a

director for

management

duties.

Caretakers

elect a board.

Governance: caretakers at the heart

Yes, this could be a DAO.

But not yet. Walk before we

run.

... And operate the

validating nodes in the

network.

Page 35: A Public Database for the Planet

Use Cases

Page 36: A Public Database for the Planet

Vertical:IP – Music rights

Value proposition:A streaming service owned by all

Page 37: A Public Database for the Planet

Vertical:IP – Digital art

Value proposition:Enables creators of digital art to get

compensated, via claiming attribution &

licensing

ascribe

Page 38: A Public Database for the Planet

Interledger

Vertical:Identity

Value proposition:Low-friction assurance, sovereign personal data

Authenteq

©ITU/L.Berney, (CC BY 2.0)

Page 39: A Public Database for the Planet

Interledger

Vertical:Government – Land Registry

Value proposition:Low-cost registry, less risk of corruption

BenBen

©ITU/L.Berney, (CC BY 2.0)

Page 40: A Public Database for the Planet

Vertical:ID - Education Credentials

Value proposition:reduce fraudulent degrees, lower HR friction

Recruit

Page 41: A Public Database for the Planet

Vertical:Energy

Value proposition:manage $ flow in energy deregulation

Page 42: A Public Database for the Planet

Vertical:Supply Chain / Health

Value proposition:government-mandated

transparent $ flow

Page 43: A Public Database for the Planet

We started with:

Current systems of power

are creating unequal outcomes

But… technology & governance,

designed appropriately,

can help communities

build a more equitable society

Page 44: A Public Database for the Planet

Together, we’re building decentralized

compute infrastructure + applications

e-gold / e-cash

Bitcoin

CONNECT NETWORKS e.g. TCP/IP, Interledger

FILE SYSTEM

e.g. S3, HDFS, IPFS

PLATFORM

e.g. AWS, Azure, Eris/Tendermint

PROCESSING

e.g. EC2, Ethereum, Hyperledger

DATABASE

e.g. MySQL, MongoDB

BigchainDB + IPDB

PLATFORM e.g. Resonate, ascribe, Authenteq, Recruit, BenBen

Page 45: A Public Database for the Planet

Planetary scale trust for human scale development.

For personal data, compensating creators, and more.

@trentmc0bigchaindb.com

ipdb.foundation