- 快召唤伙伴们来围观吧
- 微博 QQ QQ空间 贴吧
- 文档嵌入链接
- 复制
- 微信扫一扫分享
- 已成功复制到剪贴板
分析Apache Spark中的Blockchain
展开查看详情
1 .1
2 . 2 Outline Blockchain 101 Blockchain to graph Graph data in Spark DEMO
3 . 3 What is Blockchain Distributed ledger Linked list of blocks Trust stems from Merkle trees and proof of work (aka mining) Cryptography
4 . 4 What is Block Set of transactions approved at once Metadata Hard limit 1 MB (*) header
5 . 5 What is Transaction (INs, OUTs) sum of INs ≥ sum of OUTs confirming ~ including it to a new block and finding the "nonce" Alice Bob
6 .6
7 . 7 What is Transaction (more general case)
8 . 8 Transaction to Graph M:N transactions produces a lot of edges Apache Parquet blockchain binary data -> parquet converter
9 . 9 Transaction to Graph # of Satoshis sent on the edges of type [T→A] and [A→T] timestamp on the block nodes more suitable for querying the graph
10 . 10 Graphs and Spark GraphX GraphFrames built-ins (label propagation, pagerank, triangles, bfs, etc.) motif ~ cypher Pregel
11 . 11 Talk is Cheap Demo time
12 . 12 Page Rank
13 . 13 Takeways Blockchain is out there GraphFrames vs GraphX Reproducible experiments with notebooks and containers
14 . 14 How to get started More projects, tutorials and examples can be found at radanalytics.io
15 . 15 Thank You! This presentation http://bit.ly/sais18 Jiri-Kremser/bitcoin-insights @JirkaKremser