Non-Blocking Two Phase Commit (2PC) Using Blockchain
Paul Ezhilchelvan, Amjad Aldweesh and Aad van Moorsel School of Computing, Newcastle University, UK
Non-Blocking Two Phase Commit (2PC) Using Blockchain Paul - - PowerPoint PPT Presentation
Non-Blocking Two Phase Commit (2PC) Using Blockchain Paul Ezhilchelvan , Amjad Aldweesh and Aad van Moorsel School of Computing, Newcastle University, UK Contributions Non-blocking 2PC in a synchronous database system Impossible when the
Paul Ezhilchelvan, Amjad Aldweesh and Aad van Moorsel School of Computing, Newcastle University, UK
CryBlock, Munich, 2018 2
transaction
CryBlock, Munich, 2018 3
CryBlock, Munich, 2018 4
CryBlock, Munich, 2018 5
Aim (either all or none):
work unsafe
completed the work allotted to it.
CryBlock, Munich, 2018 6
timeout ⇒ ‘I am no good’ received
decision = commit;
received // blocking if C crashed
CryBlock, Munich, 2018 7
CryBlock, Munich, 2018 8
Functions Cost in GAS Cost in USD Deploy 845,550 1.403 Request 190,226 0.315 Vote 75,472 0.125 Verdict 55,102 0.091
CryBlock, Munich, 2018 9
CryBlock, Munich, 2018 10
Database Ledger Non-Blocking 2PC Reason Synchronous Synchronous Yes Ledger as a replicated state machine Asynchronous Asynchronous Nope Impossibility of perfect detection Synchronous Asynchronous Appears no (?) Impossibility of perfect detection
CryBlock, Munich, 2018 11
CryBlock, Munich, 2018 12