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
イーサリアムスケーリングの背景と概要
Search
Osuke
April 26, 2018
Technology
2
2.4k
イーサリアムスケーリングの背景と概要
Osuke
April 26, 2018
Tweet
Share
More Decks by Osuke
See All by Osuke
特許データを使ったマルチモーダルAIの検証事例@LLMProd#4
osuke
0
260
dbtを中心に据えた データ分析とプロダクト開発
osuke
1
1.1k
LayerX Privacy Tech事業部紹介 Tech編
osuke
0
210
(SCIS2021) Anonify: プライバシーを保護した 検証可能な状態遷移モジュール
osuke
1
380
Rustで実装された AWS Nitro Enclaves CLIを読む
osuke
0
370
Rustのパフォーマンスに関するTips
osuke
3
3.5k
ARM TrustZone入門 / ARM TrustZone intro
osuke
3
8.8k
Anonify
osuke
3
1.1k
Rustのasync/awaitとスケジューラの話 / rust-async-await
osuke
9
4k
Other Decks in Technology
See All in Technology
Evolution on AI Agent and Beyond - AGI への道のりと、シンギュラリティの3つのシナリオ
masayamoriofficial
0
180
AIドリブンのソフトウェア開発 - うまいやり方とまずいやり方
okdt
PRO
9
630
会社にデータエンジニアがいることでできるようになること
10xinc
9
1.6k
[CV勉強会@関東 CVPR2025 読み会] MegaSaM: Accurate, Fast, and Robust Structure and Motion from Casual Dynamic Videos (Li+, CVPR2025)
abemii
0
190
人を動かすことについて考える
ichimichi
2
330
Webアクセシビリティ入門
recruitengineers
PRO
1
260
OpenAPIから画面生成に挑戦した話
koinunopochi
0
160
開発と脆弱性と脆弱性診断についての話
su3158
1
1.1k
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
3
200
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
30k
Browser
recruitengineers
PRO
4
330
Understanding Go GC #coefl_go_jp
bengo4com
0
1.1k
Featured
See All Featured
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
23
1.4k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Site-Speed That Sticks
csswizardry
10
790
The World Runs on Bad Software
bkeepers
PRO
70
11k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.8k
Typedesign – Prime Four
hannesfritz
42
2.8k
How to train your dragon (web standard)
notwaldorf
96
6.2k
BBQ
matthewcrist
89
9.8k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.6k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Transcript
ΠʔαϦΞϜεέʔϦϯάͷ എܠͱ֓ཁ 2018/4/26 Osuke
Osuke @zoom_zoomzo - blog - dApp - twitter - ϑϦʔϥϯε
- 2017ळࠒ͔ΒϒϩοΫνΣʔϯΛษڧ - ౦େੜ໋ཧֶ෦ଔ
1ɽεέʔϥϏϦςΟɾτϦϨϯϚ 2ɽεέʔϦϯάιϦϡʔγϣϯ ɹ2.1ɹSidechains ɹ2.2ɹState Channels ɹ2.3ɹSharding
1. Scalablity Trilemma
Scalablity Trilemma 2ͭͷཁૉΛຬͨ͢ͷՄೳ͚ͩͲɺ 3ͭಉ࣌ʹຬͨ͢ͷ͕͍͠ʂ ίετͰωοτϫʔΫʹࢀՃՄೳ ेʹ߈ܸίετ͕ߴ͍ ωοτϫʔΫશମͰߴ͍ॲཧೳྗ ࢄੑɿ ҆શੑɿ εέʔϥϏϦςΟɿ
ݱঢ়ɾɾɾ εέʔϥϏϦςΟ ࢄੑ ҆શੑ ࢄੑͱ҆શੑΛߴਫ४ʹอͬͨ·· εέʔϥϏϦςΟΛ৳͍͖͍ͯͨ͠ʂ ݕূϊʔυͷܭࢉϦιʔε͕ ϘτϧωοΫʹɻ
1ɽࢄੑɿϊʔυʹඞཁͳܭࢉϦιʔεΛ͘อͭͨΊʹɺ ʢBlock Gas LimitΛ্͛ͯμϝʣ 2ɽ҆શੑɿίϯηϯαεͷηΩϡϦςΟΛอͪɺ ʢϋογϡύϫʔΛԼͤͯ͞μϝʣ 3ɽεέʔϥϏϦςΟɿωοτϫʔΫશମͰΑΓߴ͍ॲཧೳྗΛ࣋ͭ εέʔϥϏϦςΟ ࢄੑ ҆શੑ
→ϝΠϯνΣʔϯͰͷݕূ࡞ۀΛ࠷খԽ͢Δඞཁੑ →શͯͷTxΛશͯͷϊʔυ͕ݕূ͠ͳͯ͘ࡁΉΑ͏ͳํ๏
S S* Tx ঢ়ଶͱɺ - ΞΧϯτߴ - φϯε - EVMίʔυϋογϡ
- ετϨʔδϧʔτ →ϒϩοΫνΣʔϯͷঢ়ଶΛม͑Δ͜ͱʹ ܭࢉϦιʔε͕ඞཁʹͳΔ ͦͦͳͥϊʔυܭࢉϦιʔε͕ඞཁͳͷ͔ →τϥϯβΫγϣϯɾϒϩοΫΛݕূ͢Δ͜ͱʹ ܭࢉϦιʔε͕ඞཁʹͳΔ →ΠʔαϦΞϜεςʔτϚγϯ
ϒϩοΫνΣʔϯͷঢ়ଶભҠΛ࠷খݶʹ͢Δ ΠʔαϦΞϜʹ͓͚ΔεέʔϦϯάɺ ͱ͍͏Ξϓϩʔν
2ɽΠʔαϦΞϜͷεέʔϦϯάιϦϡʔγϣϯ ɾ1st layer → Sharding ɾ2nd layer → Sidechains, State
Channels
2.1ɹSidechains
Global State ʢ҆શʣ Local State ʢ҆શ͡Όͳ͍ʣ S0 → S1 →ɾɾɾ
Sn தؒঢ়ଶભҠ Flaud Proofsɿ ෆਖ਼ߦҝʹର͢Δਖ਼ੑͷূ໌ Sidechains (Plasma) αΠυνΣʔϯ →ϒϩοΫνΣʔϯͷঢ়ଶભҠΛ࠷খݶʹ
2.2 State Channels
Global State ʢ҆શʣ தؒঢ়ଶભҠ State Channels (Raiden Network) S0 →
S1 →ɾɾɾ→ Sn-1 → Sn OPEN CLOSE →ϒϩοΫνΣʔϯͷঢ়ଶભҠΛ࠷খݶʹ
Global State ʢ҆શʣ தؒঢ়ଶભҠ State Channels (Raiden Network) ࠷৽Ͱͳ͍StateΛ ίϛοτ͠Α͏ͱ͢ΔͱϖφϧςΟʂ
S0 → S1 →ɾɾɾ→ Sn-1 → Sn →ϒϩοΫνΣʔϯͷঢ়ଶભҠΛ࠷খݶʹ
2.3 Sharding
Sharding shard_id: 0 shard_id: 1 shard_id: 99 όϦσʔλʔ ɾɾɾ state:
S0 state: S1 state: S99 →ݕূΛฒྻԽͯ͠ܭࢉ →ϒϩοΫνΣʔϯͷঢ়ଶભҠΛ࠷খݶʹ Global State
Sharding shard_id: 0 shard_id: 1 shard_id: 99 ɾɾɾ T =
1
Sharding shard_id: 0 shard_id: 1 shard_id: 99 ɾɾɾ T =
2
Sharding shard_id: 0 shard_id: 1 shard_id: 99 ɾɾɾ T =
3
Ethereum 2.0 • Sharding • Casper • Stateless Clients Sidechains
• Plasma • Cosmos • Parity Bridge Truebit State Channels • Raiden Network • Counterfactual • FunFair …etc off-chain interactive verification εέʔϦϯάϓϩδΣΫτ
ΠʔαϦΞϜεέʔϦϯάͷϞνϕʔγϣϯ ࢄੑͱ҆શੑΛ٘ਜ਼ʹ͢ΔͷNG ϝΠϯνΣʔϯͰͷόϦσʔγϣϯ࡞ۀʢঢ়ଶભҠʣΛ࠷খԽ ϝΠϯνΣʔϯͱͷ҆શͳStateͷಉظ͕՝