Question / Guidance: MinIO Implementation
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
まず、提案されている MSBuildCacheMinioStoragePlugin.cs と AzureBlobStorage の実装を比較し、BuildXL の ICacheClient、IContentStore、IContentSession、IMetadataStore、IPublishingStore、および関連するインターフェイスを調査します。実際に必要な MinIO キャッシュコンポーネントを特定し、実装範囲の決定事項とテスト方針を文書化します。
索引モデルが issue の本文から書いたものです。
説明
After reading more about MSBuildCache and BuildXL I wanted to ask a few questions to see if implementing MinIO as a cache is feasible and at what level it should be implemented.
- Is the expectation of this repository to hide the internals of BuildXL? The reason I ask is BuildXL seems to be on GitHub but has a decent amount of internal vs public stuff going on. Not clear to me if extending functionality from that repository is recommended.
- If it is recommended to extend functionality from that repository any guidance on a Minio approach? This is what I've currently got in my notes so far:
- Use AzureBlobStorage as an example.
- Careful of classes that seem generic but have Azure specific functionality. May not be able to re-use as much as initially hoped.
- Create MSBuildCacheMinioStoragePlugin.cs
- MSBuildCacheMinioStoragePlugin.cs will implement CreateCacheClientAsync that returns a CasCacheClient to satisfy ICacheClient requirement.
- The CasCacheClient expects a local cache and remote cache. The local cache is already handled. The remote cache must be a Minio compatible remote cache implementation.
- To create a Minio compatible remote cache client we must implement:
- MinioContentStore to satisfy IContentStore requirement.
- MinioContentSession to satisfy IContentSession requirement.
- MinioContentStore and MinioContentSession will be injected into OneLevelCache and "just work" given those new Minio classes are implemented correctly.
- MinioMetadataStore to satisfy IMetadataStore requirement.
- MinioMetadataStore will be injected into MetadataStoreMemoizationDatabase. DatabaseMemoizationStore will "just work" given new Minio classes are implemented correctly.
- IPublishingStore and IPublishingSession looks like they need to be implemented but ran out of time during investigation. Look later to determine requirements.
- IBlobCacheTopology does not seem required but might want to mimic flow anyways to keep things the same.
- Overall very involved. Overhead of learning BuildXL is very high. Testing / debuggability also seems difficult.
Does everything around BuildXL and having to extend that sound correct if we want a Minio / S3 implementation? Am I overstating or understating how involved this is?
Any guidance would be appreciated!
- 主要言語
- C#
- スター
- 64
- フォーク
- 24
- 平均マージ
- 1日 14時間
- マージ済み PR(30日)
- 2
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
microsoft/MSBuildCache のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
microsoft/MSBuildCache#154 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/MSBuildCache#164 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
microsoft/MSBuildCache#167 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
microsoft/MSBuildCache#159 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
microsoft/MSBuildCache#155 · コメント 1 件 ·
microsoft/MSBuildCache の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
nightscout/nocturne#1425 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
RayWangQvQ/BiliBiliToolPro#1137 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100