Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
分散システムのリテラシー / Distributed Systems Literacy
Search
Kenji Saito
PRO
July 05, 2017
Technology
0
180
分散システムのリテラシー / Distributed Systems Literacy
ブロックチェーンハブ主催で開催しているブロックチェーン基盤技術講義『分散システムのリテラシー』のスライドです。2017年7月5日(水) に使用しました。
Kenji Saito
PRO
July 05, 2017
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
スマートコントラクトデザイン / Smart Contract Design
ks91
PRO
0
7
FinTech 7-8 : Blockchain
ks91
PRO
0
73
スマートコントラクトプログラミング / Smart Contract Programming
ks91
PRO
0
19
AI が研究する時代に、人はどう育つのか? — GAMER PAT にみる "シリアスゲームとしての知的訓練" / In an era where AI conducts research, how will humans develop? — "Intellectual Training as a Serious Game" Seen in GAMER PAT
ks91
PRO
0
58
FinTech 5-6 : The World of Apps
ks91
PRO
0
110
生成AI による論文執筆サポート・ワークショップ ─ サーベイ/リサーチクエスチョン編 / Workshop on AI-Assisted Paper Writing Support: Survey/Research Question Edition
ks91
PRO
0
83
ブロックチェーン概論とインストール大会 / Introduction to Blockchain and Installation Workshop
ks91
PRO
0
11
FinTech 3-4 : Internet Technology and Governance
ks91
PRO
0
83
民主主義と博愛(Humanitarianism) / Democracy and Humanitarianism
ks91
PRO
0
19
Other Decks in Technology
See All in Technology
AIの個性を理解し、指揮する
shoota
3
490
Retrospectiveを振り返ろう
nakasho
0
140
20251027_マルチエージェントとは
almondo_event
1
480
アウトプットから始めるOSSコントリビューション 〜eslint-plugin-vueの場合〜 #vuefes
bengo4com
3
1.9k
SOTA競争から人間を超える画像認識へ
shinya7y
0
620
abema-trace-sampling-observability-cost-optimization
tetsuya28
0
380
Oracle Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
0
390
スタートアップの現場で実践しているテストマネジメント #jasst_kyushu
makky_tyuyan
0
140
20251029_Cursor Meetup Tokyo #02_MK_「あなたのAI、私のシェル」 - プロンプトインジェクションによるエージェントのハイジャック
mk0721
PRO
6
2k
ヘンリー会社紹介資料(エンジニア向け) / company deck for engineer
henryofficial
0
420
書籍『実践 Apache Iceberg』の歩き方
ishikawa_satoru
0
270
もう外には出ない。より快適なフルリモート環境を目指して
mottyzzz
14
11k
Featured
See All Featured
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
658
61k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Visualization
eitanlees
150
16k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Music & Morning Musume
bryan
46
6.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.2k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
640
Reflections from 52 weeks, 52 projects
jeffersonlam
355
21k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Transcript
SFC / CSO
[email protected]
— — 2017-07-05 – p.1/38
( ) SFC ( ) CSO (Chief Science Officer) CEO
1993 M.Eng ( ) 2006 ( ) SFC 16 P2P 2011 → ( ) — — 2017-07-05 – p.2/38
FLP CAP CUP ( ) P2P — — 2017-07-05 –
p.3/38
1. 2. 3. Paxos 4. 5. P2P 6. — —
2017-07-05 – p.4/38
1. FLP CAP — — 2017-07-05 – p.5/38
A, B A-B m A B A B A B
. . . — — 2017-07-05 – p.6/38
1. X 2. X C 3. C 1. 2. 3.
reliable multicast — — 2017-07-05 – p.7/38
: — — 2017-07-05 – p.8/38
(safety) (liveness) ( ) ( = ) — — 2017-07-05
– p.9/38
→ / (benign) → (Byzantine) (malicious) — — 2017-07-05 –
p.10/38
FLP Fischer, Lynch, Paterson — — 2017-07-05 – p.11/38
CAP Consistency ( ) Availability ( ) Partition tolerance (
) ⇒ 3 C Eventual consistency ( ) . . . — — 2017-07-05 – p.12/38
Consistency ( ) Strong consistency ( ) (safety) Eventual consistency
( ) (liveness) ↑ Weak consistency ( ) ↑ ( ) — — 2017-07-05 – p.13/38
2. — — 2017-07-05 – p.14/38
n = f ( ) ⇒ — — 2017-07-05 –
p.15/38
(1) 1 1, 2 n ≤ 3f — — 2017-07-05
– p.16/38
(2) — — 2017-07-05 – p.17/38
3. Paxos Paxos Paxos — — 2017-07-05 – p.18/38
CS1 : CS2 : CS3 : CL1 : CL2 :
: : (e.g. ) ( ) — — 2017-07-05 – p.19/38
Paxos (1) : (The Part-Time Parliament) Paxos ( ) ↔
↔ ↔ ⇒ — — 2017-07-05 – p.20/38
Paxos (2) (proposers), (acceptors), (learners) 1. 2. Paxos ( )
— — 2017-07-05 – p.21/38
Paxos Paxos 2f + 1 Paxos f “byzantizing” Byzantine Paxos
PBFT (Practical Byzantine Fault-Tolerance) PBFT — — 2017-07-05 – p.22/38
4. CUP (Consensus with Unknown Participants) vs. — — 2017-07-05
– p.23/38
(B)FT-CUP (Consensus with Unknown Participants) ( / ) : FT
(Fault-Tolerant) : BFT (Byzantine Fault-Tolerant) P2P n FT/BFT — — 2017-07-05 – p.24/38
State Machine Replication ( ) (by ) (since 1984) (
) ( ) . . . ( ) — — 2017-07-05 – p.25/38
( ) ( ) ( ) ( ) (by )
⇒ ( ) — — 2017-07-05 – p.26/38
5. P2P P2P - - — — 2017-07-05 – p.27/38
P2P : P2P 3 3 ( ) strategyproof group strategyproof
— — 2017-07-05 – p.28/38
(Sybil) 16 — — 2017-07-05 – p.29/38
again n > 3f R F R > 2F ⇒
— — 2017-07-05 – p.30/38
( ) f = 1 ⇒ R — — 2017-07-05
– p.31/38
6. — — 2017-07-05 – p.32/38
3 1. ( : UTXO ) ⇒ ( ) 2.
( : ) ⇒ 3. ( : ) TX ⇒ 2 3 — — 2017-07-05 – p.33/38
10 ATM 1 ATM 1 : http://www.slideshare.net/yamaz2/ss-58813038 ⇒ KVS —
— 2017-07-05 – p.34/38
— — 2017-07-05 – p.35/38
vs. — — 2017-07-05 – p.36/38
(centralized) (decentralized) (distributed) Paul Baran, “On Distributed Communications Networks”, 1964
(C) (A) — — 2017-07-05 – p.37/38
— — 2017-07-05 – p.38/38