Skip to content

High Availability using sync (duplica) or share memory

Notifications You must be signed in to change notification settings

QueenieCplusplus/HA_solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 

Repository files navigation

HA solutions

sync or share

Main Doc:

https://www.qa-knowhow.com/?p=2308

https://yq.aliyun.com/articles/548936

  • Replica 備份 M/S

    method:

    http://mylinuxcloudnotes.blogspot.com/2015/08/centos7-mysql-replication.html

    • API --- R/W ---> Master 可以 Select, Insert, Update, Delete
    • Front end --- R ---> Slave 只能 Select

    share nothing && sync data.

  • Split Brain 腦裂(failover 容錯)

    using heartbeat && DRBD :

    https://ssorc.tw/5928/

    Share memory. 共享數據。 (using drbd, distributed republica block device.)

    use heart beat

    需要 SAN, storage area network 共享記憶體。

    情境:證帣產業使用此機制,為保障資料鎖住後無法成功交易,但是因涉及共享資源,所以有競奪鎖影響 I/O 的緣故,影響使用者感受。

    劣處:網路工作會大量增加!網路設備性能也要求較高,否則網路設備一但運作不佳,對資料一樣沒有保障。

  • Cluster Node 叢集

    method:

    https://youyouyou.pixnet.net/blog/post/119326123-mysql-cluster-%E5%AF%A6%E5%81%9A

    Sync & Replica & Share Nothig, 同步複製但不共享。

About

High Availability using sync (duplica) or share memory

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published