$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
レプリカ遅延
Search
nikawa2161
November 21, 2024
2
8
レプリカ遅延
nikawa2161
November 21, 2024
Tweet
Share
More Decks by nikawa2161
See All by nikawa2161
沖縄観光とPostgreSQL排他制約の話
nikawa2161
0
1
自分のコードを数年ぶりに読んだら
nikawa2161
0
0
ユーザーインタビュー分析に参加して得られたことと気づき
nikawa2161
0
0
oEmbedとは?
nikawa2161
0
0
はじめまして、にかわです
nikawa2161
0
0
課題を映す問題空間と、答えを描く解決空間
nikawa2161
0
0
転生したら自己肯定感MAXになりたい
nikawa2161
0
0
沖縄リモート生活と、新しい発想の種
nikawa2161
0
0
バツイチマッチングアプリの進捗
nikawa2161
0
0
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
0
31
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Amusing Abliteration
ianozsvald
0
69
Abbi's Birthday
coloredviolet
0
3.7k
Making Projects Easy
brettharned
120
6.5k
Facilitating Awesome Meetings
lara
57
6.7k
Applied NLP in the Age of Generative AI
inesmontani
PRO
3
2k
4 Signs Your Business is Dying
shpigford
186
22k
Java REST API Framework Comparison - PWX 2021
mraible
34
9k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
49
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