Meetup #18
Sind Konsortium Blockchains �auch nur verteilte Systeme?
Nhan
Krystian
Was werden wir heute machen?
Typen von �DLT/Blockchain
Public
Blockchains
“Offen und jeder darf teilnehmen.”
Eigenschaften: Quellcode download, Transaktionen tätigen, Nodes aufsetzen, Proof-of-Work, Transaktionen sind transparent (pseudonym, anonym), unlimitierte Anzahl an Nodes, dezentral, kein Vertrauen
Beispiele: Bitcoin, Ethereum, Monero, ZCash, Litecoin
Konsortium
Blockchains
“Ausgewählte Konsorten dürfen teilnehmen.”
Eigenschaften: endliche Anzahl an Nodes, schnellere und günstigere Transaktionen, Consensus nur durch erlaubte Teilnehmer, teil-dezentral, Vertrauen besteht
Beispiele: Energy Web, R3 (OS für Banken), B3i (Versicherungen)
Private
Blockchains
“Es bleibt alles innerhalb der Organisation.”
Eigenschaften: schnellere und günstigere Transaktionen, Consensus innerhalb der Organisation, zentral, Vertrauen besteht
Beispiele: Monax, Multichain
Weitere Kategorisierung?
Public
(Öffentlich einsehbar)
Private
(Nur von Teilnehmern einsehbar)
Permissionless
(Teilnahme offen)
Permissioned
(Teilnahme an eine Erlaubnis gebunden)
Goldstandard -
bieten die meisten Kryptowährungen
Ergibt wenig Sinn -
evlt. im KYC- oder KYB-Bereich
Logistik- und
Transport-Blockchains
Firmen-Blockchains
ZENTRAL
DEZENTRAL
VERTEILT
1 Organisation �mit 1000 Nodes �auf der Welt verstreut?
1 Organisation �mit 50 Zweigstellen und 1000 Nodes auf der Welt verstreut?
10 Organisationen �mit je 100 Nodes �auf der Welt verstreut?
100 Organisationen �mit je 1 Node auf der Welt verstreut?
Warum?
Dezentralität & Verteilte Systeme?
“...a distributed system is a collection of computing elements each being able to behave independently of each other. A computing element, [...] as a node, can be either a hardware device or a software process. �A second feature is that users (be they people or applications) believe they are dealing with a single system. This means that one way or another the autonomous nodes need to collaborate.”
Triple�Constraint
UMFANG
KOSTEN
ZEIT
QUALITÄT
CAP-Theorem
CONSISTENT
AVAILABLE
PARTITION�TOLERANT
(CA)
CP
AP
Wenn ein Teilausfall von Knoten eintritt, dann...
CP
AP
Kurze Zeitreise –
Was war vor Blockchain?
(Multi) Master & Slave
S
S
S
S
M
Write
Read
Read
S
S
S
S
M
Write
Read
Read
M
Quorum
“Ich frage die Mehrheit bevor ich schreibe oder lese.”
1
2
3
4
5
v?
v8
v8
v8
v7
v7
Paxos
P
A
L
P
A
L
P
A
L
Node 3
Node 2
Node 1
C
Peer-2-Peer
P1
P2
P3
P11
P10
P12
P6
P4
P8
P9
P7
P5
Peer-2-Peer
Denkpause
P1
P2
P3
P11
P10
P12
P6
P4
P8
P9
P7
P5
13 Monate
Hyperledger Fabric
?!
?!
Enables highly reliable distributed coordination
Enables highly reliable distributed coordination
naming service
Enables highly reliable distributed coordination
kafka cluster coordination
naming service
Enables highly reliable distributed coordination
kafka cluster coordination
node status update service
naming service
Enables highly reliable distributed coordination
kafka cluster coordination
automatic failure recovery
node status update service
naming service
Org0
Org1
Org2
“[...] having ordering nodes run by different organizations when using Kafka [...] doesn’t give you much in terms of decentralization because the nodes will all go to the same Kafka cluster which is under the control of a single organization.”
Org0
Org1
Org2
WTF?!
The understandable distributed protocol
Raft
Raft
Kafka
Native in Fabric
Crash fault tolerant
Byzantine fault tolerant
Each organization can have its own ordering nodes
More decentralized
Easier to set up
Supported by Fabric
Crash fault tolerant
Not Byzantine fault tolerant
all nodes go to the same Kafka cluster which is under the control of a single organization
Less decentralized
Administrative overhead
Weitere DLT Consensus Mechanismen
Offene Diskussion
Was ist ein
Smart Contract?
Back to Basics?
DEZENTRAL
SICHER
SCHNELL
Ideale DLT/Blockchain
und andere PoW
BINO�(Blockchain In Name Only)
gähnende Leere
Blockchain Workshop
Mittwoch, 6. November, 18 - 21 Uhr�Gutenberg Digital Hub, Mainz
Nächstes�Meetup #19
3. Dezember 2019
Weihnachtsfeier, Rückblick 2019 und Ausblick 2020
Quellen