Multiple DC support via availability zones replication
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- c
調査の方向性
まず、ADDJOB と REPLICATE のエントリーポイント、および issue に記載されているレプリケーションの acknowledgement を追跡します。設定された Availability Zone ID、AZ の上限、bitmap の状態、動的なノード選択がどのように連携するかを定義します。永続化が無効な場合も含め、レプリケーションで要求された最小数の AZ にまたがるコピーを必要とできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
For now Disque will consider a job replicated once there are N copies in th cluster. In case of multiple DCs in order to improve jobs safety especially if persistence is switched off, it is very important to also make sure there is at least one copy in a minimum number of AZ.
This could be implemented by having an AZ id configured in each Disque instance, up to AS 63 so that we can store then job replication info in little space using a bitmap.
ADDJOB will take an additional optional argument AZ to specify the minimum number of AZs that should have a copy. The replication acknowledge from nodes will include the AZ number so the receiving node can set the jobs AZ bits and understand if the replication was reached. If the first responders to arrive to N nodes as specified by REPLICATE where not in enough AZs, more nodes are dynamically added.
As an optimization Disque may want to remember the last AZ reported by each node to send the message to different AZs faster without using more copies than needed.
- 主要言語
- C
- スター
- 471
- フォーク
- 19
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
antirez/disque-module のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
antirez/disque-module#11 · リアクション 7 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
antirez/disque-module#10 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
antirez/disque-module#9 · リアクション 2 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 25/100
antirez/disque-module#8 · リアクション 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
antirez/disque-module#7 · コメント 1 件 ·
antirez/disque-module の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
InukaAsith/TwinDesk#84 ·
メンテナーはふだん 2 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
CanadaHonk/porffor#426 ·