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
Dia
nikawa2161
0
2
LLMを拡張機能に
nikawa2161
0
2
経営戦略(人生)
nikawa2161
0
2
コンポーネントとレンダー
nikawa2161
0
2
cursor
nikawa2161
0
3
llm.pdf
nikawa2161
0
3
streameAPI
nikawa2161
0
2
アプリ紹介
nikawa2161
1
15
state of javascript 2024
nikawa2161
1
6
Featured
See All Featured
Product Roadmaps are Hard
iamctodd
PRO
53
11k
Agile that works and the tools we love
rasmusluckow
329
21k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
29
9.5k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
60k
Docker and Python
trallard
44
3.4k
Designing Experiences People Love
moore
142
24k
A better future with KSS
kneath
239
17k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
32
5.9k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
16
930
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
53k
Producing Creativity
orderedlist
PRO
346
40k
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