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
nikawa2161
November 21, 2024
2
12
レプリカ遅延
nikawa2161
November 21, 2024
Tweet
Share
More Decks by nikawa2161
See All by nikawa2161
Node.js Subpath imports
nikawa2161
0
10
Sagaパターン入門(続編)
nikawa2161
0
20
Sagaパターン入門
nikawa2161
0
27
沖縄観光とPostgreSQL排他制約の話
nikawa2161
0
23
20251209_プログラミング原則の学び
nikawa2161
0
19
自分のコードを数年ぶりに読んだら
nikawa2161
0
13
ユーザーインタビュー分析に参加して得られたことと気づき
nikawa2161
0
13
oEmbedとは?
nikawa2161
0
27
はじめまして、にかわです
nikawa2161
0
13
Featured
See All Featured
Being A Developer After 40
akosma
91
590k
Embracing the Ebb and Flow
colly
88
5k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
200
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.5k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.3k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
64
54k
How to Talk to Developers About Accessibility
jct
2
160
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
490
The Mindset for Success: Future Career Progression
greggifford
PRO
0
280
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
130
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
230
Transcript
レプリカ遅延 レプリカの紹介
AGENDA $ はじめ $ レプリカ・仕組 $ 遅延のタイミンÅ $ 対策
はじめに Æ レプリカ遅延とÅ Æ 重要性
はじめに 5 レプリカ遅延とは → データ更新がレプリカに反映されるまでの時Å 5 重要性
はじめに 9 レプリカ遅延とは → データ更新がレプリカに反映されるまでの時Æ 9 重要性 → データの一貫性がなくなる
レプリカ・仕組み レプリカと' & Primary → 更新 & Replica → 参照用
レプリカ https://cloud.google.com/sql/docs/postgres/replication?hl=ja
レプリカ・仕組み 仕組み FP コミットのリクエスト 5P ログを更新(WAL) (P binLogを更新 P 変更をコミット
P 各レプリカへログを送信 P リレーログを更新 P 変更をコミット FP クライアント 5P primary (P Replica Mysqlのレプリケーション https://raahii.me/posts/countermeasures-against-mysql-replication-delay/
遅延のタイミング ログの送信遅 ログの適用遅 その他 Mysqlのレプリケーション https://raahii.me/posts/countermeasures-against-mysql-replication-delay/
対策 ! 更新系でレプリカの参照に注意すべ ! こまめに更新すべし ! 並列レプリケーショ@ ! 高パフォーマンスのフラッシ2 !
クエリとスキーマを最適3 ! レプリカの過負荷 Mysqlのレプリケーション https://raahii.me/posts/countermeasures-against-mysql-replication-delay/
END