Do we need references to pending records?

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start with the README’s “References” section, users.md, and the batch application design in issue #33; this issue does not name implementation files or tests. Decide whether pending-record references are needed for batches that submit chained reductions and then close their client. Done means the project has made that decision when the code is next touched or the batch application is designed.

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

Descrizione

A request may reference an output of a record that is still pending, so a chain is submitted without waiting (README, "References"; stories S4 and C1):

centre = client.submit(BEAM_CENTRE, BeamCentreParams(...))     # pending
samples = client.submit([Request(IOFQ, IofQParams(centre=centre.ref('centre'), ...)) for ...])

The requirements know chaining (users.md: a beam centre feeds the sample reductions, and a person may chain by hand), but not chaining without waiting. A notebook can wait for the centre before it submits the samples. The backend pays for the pending case with dependents, waking, and the failure of a dependent when what it reads fails.

The case that may force it is batch reduction: a batch whose configuration chains reductions (users.md, "the result of one reduction sometimes feeds later ones") and whose client closes after submitting, as overnight batches do. Without pending references, such a batch needs a driver that stays alive to submit the later stages.

Decide when that code is next touched, or when the batch application is designed (#33). Moved from #28.

Lingua principale
Python
Stelle
0
Fork
1
Merge medio
9h 23m
PR unite (30g)
65

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 scipp/essapps

Tutte le issue di scipp/essapps

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.