Introduction to Enterprise Blockchain -...
Transcript of Introduction to Enterprise Blockchain -...
Introduction to Enterprise Blockchain@pswiderIn\pswider
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Paul J. Swider MCTCTO
RealActivity
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
@pswider | /in/pswider | [email protected]
I n t r o d u c t i o n t o B l o c k c h a i n
• Blocks and Chains
• Encryption
• Distributed Ledger Technology
• Consistency and Consensus
• Centralized and Decentralized
• Azure Blockchain as a Service (BaaS)
• BaaS and SaaS Integration
• Cloud stack demo and sample code
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Why Azure?
• Multi-cloud World• Speed to POC• Machine Learning• AI• Data science• CosmosDB
Blocks
• As transactions happen they are gathered into a block.
• When there are enough transactions the block is prepared for consensus and eventually attached to the chain.
• Hashing provides a checksum of the data
Blockchains: A continuously growing list
of blocks (records)
• Blocks are chained together using cryptographic hash of the previous block
• Supports decentralized and distributed solutions
• Once a block is attached to a chain the records become immutable.
• You can track transactions on blocks back to a point in time
B l o c k s a n d C h a i n s
Modern Data
• RDMS: SQL Server (pages)
• NoSQL: Cosmos DB (documents)
• Graph DB: Cosmos DB (nodes)
• Distributed Ledger (blockchain, IOTA, Tangle)
• Can be distributed on a decentralized network and is never ending
B l o c k c h a i n a n d D i s t r i b u t e d L e d g e r s
Data Consistency Models
• ACID: Atomic, consistent, isolated, durable
• BASE: Basic Availability, Soft-state, Eventual consistency
• SALT: A mix of ACID and BASE
• Sequential , Agreed, Ledgered , Tamper-resistant
C o n s i s t e n c y
• Consensus provides consistency
• Consensus you work with today
• AD, SQL Clusters, Global Exchange Mailboxes
• Consensus in blockchain
• 45+ Algorithms
Centralized Cloud Model
• Azure Credits
• AWS Fees
• Google Fees
Decentralized Apps Model
• Gas (ETH, others)• Utility coins
C o m p u t e a n d S t o r a g e F e e s
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
T H R E E T Y P E S O F D E C E N T R A L I Z AT I O N
Architectural (de)centralization• how many physical computers is a system made up of? • How many of those computers can it tolerate breaking down at any single time?
Political (de)centralization• How many individuals or organizations ultimately control the computers that the
system is made up of?
Logical (de)centralization• Does the interface and data structures that the system presents and maintains look
more like a single monolithic object, or an amorphous swarm?
• One simple heuristic is: if you cut the system in half, including both providers and users, will both halves continue to fully operate as independent units?
*Vatalik Buterin Blog post
PUBLIC CONSORTIUMSPRIVATE
T H R E E T Y P E S O F B L O C K C H A I N N E T W O R K S
“Public blockchains provide a way to protect the users of an application from
the developers, establishing that there are certain things that even the
developers of an application have no authority to do.” -Vitalik Buterin
C O N S O R T I U M W I T H O F F C H A I N D A T A
HybridAzure
Blockchain
Workbench –
Coco
Framework
Business Software
Data Science
Azure Data Services
PowerBI | SaaS Integration | Data Science
off-chaining
SocialLOB Graph IoTImageCRM
Azure Functions, Data Factory and
more
Web3.js
Azure
Workbench,
Logic Apps,
Functions and
more
Azure Blockchain as a Service (BaaS)
Smart Contracts
Azure Blockchain Workbench
Contract workflows
Azure Database Services
Elastic scale without downtime
Threat Detection, self-tuning
SaaS Integration
Dynamics 365 Entities
SharePoint Lists
Dynamics Portals
SPfx
Office Fabric UI
M I C R O S O F T S A A S A N D M O D E R N D A T A P L A T F O R M
Turnkey global distribution
APIs for MongoDB, Graph, Tables
Azure Database for MySQL +
PostgreSQL
Elastic scale without downtime
MySQL + PostgreSQL compatibility
Azure SQL Data Warehouse
Elastic scale without downtime
Threat detection, pause compute
Azure SQL Database Azure Cosmos DB
Public Ethereum, Private, Hyperledger,
etc.
@pswider
#ITDEVCONNECTIONS | ITDEVCONNECTIONS.COM
Review
• Introduction to Blockchain• Centralized vs Decentralized• Consistency and Consensus• Smart Contracts• Microsoft SaaS Integration (Office
365, Dynamics, Teams, etc.)
GO BUIDL SOMETHING EPIC!
Webinar Files:
https://github.com/pswider/MSBl
ockchainClass
Carechain:
• https://github.com/pswider/carech
ain
Twitter @pswider LinkedIn \in\pswider [email protected]