Hub: per-module storage limits for module task content
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- backend, databases, observability
Direzione di ricerca
Start by reading hub/cloudbridge_hub/config.py, tasks.py, storage.py, and modules/library.py, especially CACHE_SHARE_OF_TASK_QUOTA; then inspect the synthetic module tests in hub/tests/demo_module.py. Trace how settings, eviction, and status, metrics, and doctor reporting use storage limits. Done means per-module limits and LRU eviction honor the free-disk floor, usage is reported in bytes without content, and the demo module tests cover the behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
The module design gives each module its own hub storage limit (CB_<MODULE>_CACHE_LIMIT_BYTES) under the shared
free-disk floor. Today the hub has limits for previews, originals, the backup queue and task content as a whole, but no
per-module limit, so one module could consume the shared task quota.
Acceptance criteria
-
Settingsreads optionalCB_<MODULE_ID>_CACHE_LIMIT_BYTESfor every registered module id. - Task content and module caches are evicted per module (LRU) when its limit is reached; the free-disk floor still
applies first. -
status,metricsanddoctorreport per-module usage (bytes only, no content). - Tests with the synthetic demo module (
hub/tests/demo_module.py).
Pointers
hub/cloudbridge_hub/config.py,tasks.py,storage.py,modules/library.py(CACHE_SHARE_OF_TASK_QUOTA)
- Lingua principale
- Kotlin
- Stelle
- 0
- Fork
- 0
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi 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 ft-dev-org/cloudbridge-oss
-
difficulty: beginner documentation help wanted networking
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
difficulty: beginner documentation help wanted self-hosting
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
difficulty: beginner documentation good first issue self-hosting
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
difficulty: beginner documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
backend difficulty: beginner enhancement self-hosting
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Tutte le issue di ft-dev-org/cloudbridge-oss
Issue simili
-
[Request]: KylleneAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
ScoopInstaller/Extras#19589 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
feature request needs decision
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
tswistak/Battery-Monitor#207 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100