weblab-tw / ddia-study-group

Designing Data-Intensive Applications Study Group
36 stars 4 forks source link

第六章節:關於調配中介 Zookeeper - Sam #76

Open samwu4166 opened 1 year ago

samwu4166 commented 1 year ago

如本文所說,為了讓分散式系統中的所有參與者都達成共識而讓資訊得到不正確的處理,所以出現了中間人 ZK 來跟蹤 Clustering Node,雖然本司有使用這個工具,但一直是用主動的方式去寫/讀 (例如: Kafka consumer A 拉資料後寫 offset 進去一個 ZK Node,第二個 Kafka consumer B 再從這個 ZK Node 讀取 offset 繼續拉資料),不知道各位有沒有真的使用到文中這種會自動更新的 routing table XD (或是也像我們公司一樣在 Application layer 自幹訂閱/更新功能)