graphprotocol / graphprotocol/graph-node

[Feature] Support multiple ingestor nodes

オープン
#4,927 コメント 1 件 リアクション 3 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

enhancement indexer experience Stale
主要言語
Rust
スター
3.2k
フォーク
1.1k
平均マージ
4日 1時間
マージ済み PR(30日)
1

説明

Description

The graph node config file currently only supports a single block ingestor like so

[chains]
ingestor = "block_ingestor_node"

It would be great if we could configure different nodes to ingest different chains, for example have one node ingest mainnet(s) and another ingest testnet(s). One idea would be to use the same rule logic for assigning deployments to indexers.

Are you aware of any blockers that must be resolved before implementing this feature? If so, which? Link to any relevant GitHub issues.

No response

Some information to help us out
  • Tick this box if you plan on implementing this feature yourself.
  • I have searched the issue tracker to make sure this issue is not a duplicate.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Graph ノードの設定ファイルが [chains] の ingestor 設定をどのようにパースするかを追跡し、次に deployment を indexer に割り当てる既存のルールロジックを調べます。異なる chain 用に複数の ingestor ノードをどのように設定できるかを明らかにし、個別のノードが割り当てられた mainnet または testnet の chain を正常に ingest し、現在の単一 ingestor 構成を妨げないことを完了条件として定義します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
backend, blockchain, distributed-systems
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。