Question / Guidance: MinIO Implementation
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
Hướng nghiên cứu
Bắt đầu bằng cách so sánh MSBuildCacheMinioStoragePlugin.cs được đề xuất với triển khai AzureBlobStorage và kiểm tra các interface ICacheClient, IContentStore, IContentSession, IMetadataStore, IPublishingStore cùng các interface liên quan của BuildXL. Xác định những thành phần bộ nhớ đệm MinIO nào thực sự cần thiết, sau đó ghi lại phạm vi triển khai đã được quyết định và phương pháp kiểm thử.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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!
- Ngôn ngữ chính
- C#
- Star
- 64
- Fork
- 24
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/MSBuildCache
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
microsoft/MSBuildCache#154 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/MSBuildCache#164 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
microsoft/MSBuildCache#167 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
microsoft/MSBuildCache#159 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/MSBuildCache#155 · 1 bình luận ·
Tất cả issue của microsoft/MSBuildCache
Issue tương tự
-
bug frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
-
NavigationViewItemAutomationPeer implements IInvokeProvider but never advertises the Invoke pattern Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
unoplatform/uno#24629 ·
-
agentic-workflows Needs: Triage :mag: State: In-PR
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
CS0162 "Unreachable code detected" warning from a MSBuildTemp .tmp file in every game project Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Type: enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
apache/arrow-adbc#4809 ·