Question / Guidance: MinIO Implementation
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Iniziare confrontando il MSBuildCacheMinioStoragePlugin.cs proposto con l’implementazione di AzureBlobStorage ed esaminare le interfacce ICacheClient, IContentStore, IContentSession, IMetadataStore, IPublishingStore e quelle correlate di BuildXL. Determinare quali componenti della cache MinIO siano effettivamente necessari, quindi documentare un ambito di implementazione definito e un approccio ai test.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!
- Lingua principale
- C#
- Stelle
- 64
- Fork
- 24
- Merge medio
- 1g 14h
- PR unite (30g)
- 2
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/MSBuildCache
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
microsoft/MSBuildCache#154 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/MSBuildCache#164 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
microsoft/MSBuildCache#167 · 2 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
microsoft/MSBuildCache#159 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
microsoft/MSBuildCache#155 · 1 commento ·
Tutte le issue di microsoft/MSBuildCache
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 75/100
sillsdev/languageforge-lexbox#2665 ·
-
bug documentation frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
azurenoops/spin_agent#975 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficoltà 2/5 1-3 ore Idoneità per principianti 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
SubtitleEdit/subtitleedit#15108 · 1 commento ·