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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
nikawa2161
November 21, 2024
17
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
レプリカ遅延
nikawa2161
November 21, 2024
More Decks by nikawa2161
See All by nikawa2161
Node.js Subpath imports
nikawa2161
0
32
Sagaパターン入門(続編)
nikawa2161
0
46
Sagaパターン入門
nikawa2161
0
53
沖縄観光とPostgreSQL排他制約の話
nikawa2161
0
39
20251209_プログラミング原則の学び
nikawa2161
0
34
自分のコードを数年ぶりに読んだら
nikawa2161
0
22
ユーザーインタビュー分析に参加して得られたことと気づき
nikawa2161
0
37
oEmbedとは?
nikawa2161
0
200
はじめまして、にかわです
nikawa2161
0
28
Featured
See All Featured
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
440
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6.1k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
870
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
The SEO identity crisis: Don't let AI make you average
varn
0
550
Rails Girls Zürich Keynote
gr2m
96
14k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
270
Typedesign – Prime Four
hannesfritz
42
3.2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Why Our Code Smells
bkeepers
PRO
340
58k
Making the Leap to Tech Lead
cromwellryan
135
10k
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