owned this note changed 6 years ago
Linked with GitHub

MySQL 跨雲雙活解決方案實踐 - 周彦伟

由於場地問題,第二天我們移動到另一棟大樓啦!議程教室變動請見網站上的議程表

歡迎來到 https://hackmd.io/@coscup/2019 共筆

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點擊本頁上方的 開始用 Markdown 一起寫筆記!
手機版請點選上方 按鈕展開議程列表。

歷史課

  • MySQL 複製資料
      1. 在 master 的 exceute 階段開始複製資料到其他機器上,確保複製資料時一定可以寫入資料。
  • 兩地延遲計算
    • 光速 C = 300000 KM/s
    • 距離 D (KM) = 行車距離 (KM) * 2 (走線) * 2 (來回) * 1.5
    • 延遲 DL (ms) = 1000 * D/C
    • AB兩地相差 60 KM:
      • DL = 1000 * 60 * 2 * 2 * 1.5/ 300000 = 1.2 ms
  • 異地作業的本質需求
  • 異地作業的痛點
    • 同步資料時:
      1. 原生 Replication 無法解決同步衝突
      2. 原生 Replication 無法滿足效能需求
      3. 原生 Replication 無法自動排除問題
      4. 非原生 Replication 的資料很難寫入原生 Replication
tags: COSCUP2019 全面探究MySQL開源資料庫 IB501
Select a repo