Rework client cache with internal GRPC Client mechanisms
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- go, grpc
調査の方向性
Start by reading the client cache code in pkg/network/cache and the gRPC WithContextDialer mechanism named in the issue. Trace how per-node clients and connections are currently managed, then check how gRPC handles connection reuse and lifecycle for the project's filesystem requirements. Done means the cache uses one client with abstract per-node addresses and the behavior is verified for connection handling.
索引モデルが issue の本文から書いたものです。
説明
Is your feature request related to a problem? Please describe.
I'm always frustrated when we have code we could avoid. We're managing sets of clients per-node in pkg/network/cache instead of having a single client using different connections as needed.
Describe the solution you'd like
Push abstract addresses to per-node client, override https://pkg.go.dev/google.golang.org/grpc#WithContextDialer and establish connections there. Let GRPC library handle connections (but check it handles them well, it's very important to FS).
Describe alternatives you've considered
Keep things as is, works too. Some locking can be improved to avoid blocking during network operations.
Additional context
As per @fabwa findings.
- 主要言語
- Go
- スター
- 37
- フォーク
- 56
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 46
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
nspcc-dev/neofs-node のほかの issue
-
bug hal:proposed neofs-storage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nspcc-dev/neofs-node#4325 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
hal:proposed I4 neofs-storage S3 security U4
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
nspcc-dev/neofs-node#4280 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nspcc-dev/neofs-node#4339 ·
メンテナーはふだん 1 日以内に返信
-
enhancement I3 neofs-storage performance S3 U3
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
nspcc-dev/neofs-node#4337 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug neofs-storage
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
nspcc-dev/neofs-node#4336 ·
メンテナーはふだん 1 日以内に返信
nspcc-dev/neofs-node の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 78/100
OpenSlides/openslides-go#342 ·
メンテナーはふだん 4 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
-
docs: link to the CLA in InditexTech/foss instead of keeping a local CLA.md対応中かも @amagan が今日担当しました。 オープンdocumentation
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
InditexTech/redkey-operator#129 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100