Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Building a Blockchain

Building a Blockchain

Investigating Hyperledger Sawtooth with Docker - Talk at the December Edinburgh Docker Meetup

Andrew Kennedy

December 14, 2017
Tweet

More Decks by Andrew Kennedy

Other Decks in Technology

Transcript

  1. Blockchain Exciting, buzzword-compliant Alternative to databases! Details are a whole

    other talk... Lots of interest in Bitcoin and Ethereum Private blockchains as an alternative Any questions now? @grkvlt
  2. Hyperledger Another part of the Linux Foundation Various Blockchain implementations

    Open source code from IBM and Intel Fabric, Sawtooth, Burrow @grkvlt
  3. Sawtooth Originally Intel Blockchain Donated to Hyperledger as Sawtooth New

    PoET consensus mechanism Proof of Elapsed Time Uses Skylake SGX secure enclave feature No burning the energy equivalent of a small country Pluggable consensus mechanism Various different transaction families @grkvlt
  4. Ethereum Public and open EVM specification Reference implementation as Ethereum

    Solidity code for Smart Contracts Execute logic to determine if transaction is accepted Also ERC-20 standard for tokens/coins Code for EVM from Burrow Seth transaction family implements EVM @grkvlt
  5. Docker Compose Simple prototyping on a single machine Compose YAML

    files supplied in Sawtooth repository Extend these to build custom deployment Using Docker with clustered networking Just add SDN driver of your choice or Overlay @grkvlt
  6. Dockerfile Issues with Sawtooth Docker images Designed for development Need

    GitHub repository mounted as volume Huge images, multi Gigabyte Broken builds and repository code in flux Create new Dockerfiles for extra images needed @grkvlt
  7. Apache Brooklyn Orchestrate Docker across multiple VMs Same functionality as

    Compose, almost Define containers and their relationships Inject various bits of configuration Easier than building a lot more custom Docker images Allows simple scaling, but see Swarm and services Eventually want to use more features like policies @grkvlt
  8. Orchestrate Docker across multiple VMs Same functionality as Compose, almost

    Define containers and their relationships Inject various bits of configuration Easier than building a lot more custom Docker images Allows simple scaling, but see Swarm and services Eventually want to use more features like policies © Cloudsoft Corporation Dec-17 10