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
関連2群のt検定/独立2群のt検定 / Related 2-group t-test and independent 2-group t-test
ks91
PRO
0
47
A Guide to Paper Writing Support with Generative AI - A Joint Zemi
ks91
PRO
0
9
正規分布と簡単な統計理論/t分布と信頼区間 / Normal distribution, simple statistical theory, t-distribution and confidence intervals
ks91
PRO
0
42
じわじわ迫ってきている自動化社会 (その先にメタ・ネイチャー) / The Slowly Approaching Automated Society (and its beyond: Meta-Nature)
ks91
PRO
0
6
起こりうる誤った推論/平均・分散・標準偏差・自由度 / Possible false inferences, means, variances, standard deviations and degrees of freedom
ks91
PRO
0
57
LaTeX と Overleaf によるショートペーパー作成 / Short paper writing with LaTeX and Overleaf
ks91
PRO
0
22
R を用いた検定(補講) (1) — Welch 検定 / Tests using R (supplementary) (1) - Welch test
ks91
PRO
0
12
R を用いた検定(補講) (2) — カイ二乗検定 / Tests using R (supplementary) (2) - Chi-squared test
ks91
PRO
0
13
R を用いた分析(補講) (1) — 重回帰分析 / Analysis using R (supplementary) (1) - Multiple regression analysis
ks91
PRO
0
11
Other Decks in Technology
See All in Technology
Working as a Server-side Engineer at LY Corporation
lycorp_recruit_jp
0
450
Oracle Cloudの生成AIサービスって実際どこまで使えるの? エンジニア目線で試してみた
minorun365
PRO
4
320
[Ruby] Develop a Morse Code Learning Gem & Beep from Strings
oguressive
1
200
組み込みアプリパフォーマンス格闘記 検索画面編
wataruhigasi
1
180
[トレノケ雲の会 mod.13] 3回目のre:Inventで気づいたこと -CloudOperationsを添えて-
shintaro_fukatsu
0
110
ZOZOTOWN の推薦における KPI モニタリング/KPI monitoring for ZOZOTOWN recommendations
rayuron
1
170
Fearsome File Formats
ange
0
400
[JAWS-UG新潟#20] re:Invent2024 -CloudOperationsアップデートについて-
shintaro_fukatsu
0
130
Google Cloud で始める Cloud Run 〜AWSとの比較と実例デモで解説〜
risatube
PRO
0
120
3年でバックエンドエンジニアが5倍に増えても破綻しなかったアーキテクチャ そして、これから / Software architecture that scales even with a 5x increase in backend engineers in 3 years
euglena1215
11
4k
サービスでLLMを採用したばっかりに振り回され続けたこの一年のあれやこれや
segavvy
2
630
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
1
4.8k
Featured
See All Featured
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
1
120
How to Think Like a Performance Engineer
csswizardry
22
1.2k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
530
RailsConf 2023
tenderlove
29
950
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
The Language of Interfaces
destraynor
155
24k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
820
A better future with KSS
kneath
238
17k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.7k
KATA
mclloyd
29
14k
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