Consider different retention strategy for invocation outputs, particularly `Blob`s

Aperta
#413 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
fastapi, python

Direzione di ricerca

Start by locating where action invocation outputs are stored and where the default 5-minute retention is configured; the issue names invocation outputs and Blob but no files or tests. Read the invocation and blob storage code plus any retention-related tests to understand the current lifecycle. Done looks like a proposed retention strategy that limits memory use for large Blob outputs while preserving access for the documented retention window.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Is your feature request related to a problem? Please describe.
Currently, action outputs are retained for a default 5 minutes. If those outputs are large, this can become a serious drain on resources.

Describe the solution you'd like
Better management of resources, resulting in less memory usage

Describe alternatives you've considered
Synchronous actions (a single post request and a response including the result) wouldn't need to be retained at all. However, they are not currently implemented and won't always be suitable.

Additional context
The OpenFlexure Microscope server needs to be quite careful with memory management on a Pi.

Lingua principale
Python
Stelle
10
Fork
4
Merge medio
4g 15h
PR unite (30g)
11

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di labthings/labthings-fastapi

Tutte le issue di labthings/labthings-fastapi

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.