Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
UNIX哲学
nikawa2161
0
2
「アプリ」認証追加
nikawa2161
0
2
マッチング
nikawa2161
0
3
自己肯定感
nikawa2161
0
3
問題・解決空間
nikawa2161
0
2
コンパイルの違い
nikawa2161
0
4
error-marp.pdf
nikawa2161
0
5
difit
nikawa2161
0
63
フロントのキャッシュ
nikawa2161
0
6
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.6k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Raft: Consensus for Rubyists
vanstee
141
7.2k
The agentic SEO stack - context over prompts
schlessera
0
550
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
130
The Art of Programming - Codeland 2020
erikaheidi
56
14k
Visualization
eitanlees
150
16k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
340
So, you think you're a good person
axbom
PRO
0
1.8k
Chasing Engaging Ingredients in Design
codingconduct
0
78
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