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
6
レプリカ遅延
nikawa2161
November 21, 2024
Tweet
Share
More Decks by nikawa2161
See All by nikawa2161
error-marp.pdf
nikawa2161
0
4
difit
nikawa2161
0
7
フロントのキャッシュ
nikawa2161
0
4
Dia
nikawa2161
0
2
LLMを拡張機能に
nikawa2161
0
9
経営戦略(人生)
nikawa2161
0
8
コンポーネントとレンダー
nikawa2161
0
4
cursor
nikawa2161
0
6
llm.pdf
nikawa2161
0
4
Featured
See All Featured
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
185
54k
The Art of Programming - Codeland 2020
erikaheidi
55
13k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Gamification - CAS2011
davidbonilla
81
5.4k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
A better future with KSS
kneath
239
17k
It's Worth the Effort
3n
187
28k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
7
830
BBQ
matthewcrist
89
9.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.5k
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